Share

DSHub

Tracker: FEATURES Talk/Examples/Documentation/Requests

5 Plugin feature - ID: 1846236
Last Update: Comment added ( pietricica )

The possibility to add java written plugins to DSHub, via implementing a
special designed interface ( possibly to have fixed names as well )


pietricica ( pietricica ) - 2007-12-07 14:52

5

Closed

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )

Date: 2007-12-16 19:10
Sender: pietricicaProject AdminAccepting Donations


Added a tab to main GUI where plugins may be enabled/disabled and their
GUI button shows up, along with a button to scan plugins. The equivalent is
the plugmin command in console :
Plugmin command. A way to administer plugins.
Usage:
plugmin list -- lists the current scanned plugins, their status and
their ID.
plugmin enable ID/name -- Enables the plugin given by ID or name.
plugmin disable ID/name -- Disables the plugin given by ID or name.
plugmin scan -- Rescans the modules directory and refreshes current
plugins.

Also, the plugmin may be granted via grant or gui ( additional modules tab
)
Additionaly, every user has its flag if it can use plugins or not ( if the
onCommand is called for it or not ).


Date: 2007-12-12 17:00
Sender: pietricicaProject AdminAccepting Donations


Plugins must meet the following requirements:
1)Packed up as .jar file
2)Contain class PluginMain which implements the interface
dshub.Modules.DshubModule ( fixed name)
3)This class must be in package dshub.plugin;
4)The plugins must be placed in /modules directory.

The interface may be viewed in :
http://dshub.svn.sourceforge.net/viewvc/dshub/trunk/src/dshub/Modules/DSHubModule.java?view=markup
with additional comments for each functions

The interface may suffer additional changes when software changes.

If you create modules, add them on a tracker on
http://sourceforge.net/tracker/?group_id=197166&atid=1020439
Important plugins will be added in file releases ;)


Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
status_id Open 2007-12-16 19:10 pietricica
close_date - 2007-12-16 19:10 pietricica