Ticket #29 (closed task: fixed)
|Reported by:||tobias382||Owned by:||tobias382|
Add a new AdminCommand?-based plugin, Toggle, with onEnable and onDisable handlers that both accept the short name of a plugin. They should use the getInstance() method for that plugin class to get the active plugin instance, then call one or two new methods for the base plugin class, enable() and disable(), that toggle an internal flag. The call implementation of the base plugin class should be modified such that, if the plug in has been disabled, call does nothing.