public class CommandTriggerManager extends AbstractCommandTriggerManager implements BukkitTriggerManager
AbstractTriggerManager.TriggerFilter, AbstractTriggerManager.TriggerInitFailedExceptionCANDIDATES, HINT, TABSconfigSourceFactory, folder, loader| Constructor and Description |
|---|
CommandTriggerManager(TriggerReactorCore plugin,
ICommandMapHandler commandMapHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
registerCommand(String triggerName,
CommandTrigger trigger)
Register this command to command map.
|
protected void |
synchronizeCommandMap() |
protected boolean |
unregisterCommand(String triggerName)
Unregister this command from command map.
|
addCommandTrigger, createTempCommandTrigger, reload, reload, remove, reregisterCommandget, getAllTriggers, getFolder, getTriggerFile, getTriggerInfos, getTriggerList, has, put, reportWarnings, saveAlldisable, getManagerspublic CommandTriggerManager(TriggerReactorCore plugin, ICommandMapHandler commandMapHandler)
protected boolean registerCommand(String triggerName, CommandTrigger trigger)
AbstractCommandTriggerManagerregisterCommand in class AbstractCommandTriggerManagertriggerName - name of the trigger to registertrigger - the actual trigger instanceprotected boolean unregisterCommand(String triggerName)
AbstractCommandTriggerManagerunregisterCommand in class AbstractCommandTriggerManagertriggerName - name of trigger to removeprotected void synchronizeCommandMap()
synchronizeCommandMap in class AbstractCommandTriggerManager