public class CustomTriggerManager extends AbstractCustomTriggerManager implements BukkitTriggerManager
AbstractCustomTriggerManager.EventHook, AbstractCustomTriggerManager.EventRegistryAbstractTriggerManager.TriggerFilter, AbstractTriggerManager.TriggerInitFailedExceptionregistryconfigSourceFactory, folder, loader| Constructor and Description |
|---|
CustomTriggerManager(TriggerReactorCore plugin) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAbbreviations() |
protected void |
initEvents() |
protected void |
registerEvent(TriggerReactorCore plugin,
Class<?> clazz,
AbstractCustomTriggerManager.EventHook eventHook)
Hook event to handle it manually.
|
void |
reload()
Reload all triggers
|
protected void |
unregisterEvent(TriggerReactorCore plugin,
AbstractCustomTriggerManager.EventHook eventHook) |
createCustomTrigger, removeget, getAllTriggers, getFolder, getTriggerFile, getTriggerInfos, getTriggerList, has, put, reload, reportWarnings, saveAlldisable, getManagerspublic CustomTriggerManager(TriggerReactorCore plugin)
public void reload()
Managerreload in class AbstractCustomTriggerManagerpublic Collection<String> getAbbreviations()
getAbbreviations in class AbstractCustomTriggerManagerprotected void initEvents()
throws IOException
IOExceptionprotected void registerEvent(TriggerReactorCore plugin, Class<?> clazz, AbstractCustomTriggerManager.EventHook eventHook)
AbstractCustomTriggerManagerregisterEvent in class AbstractCustomTriggerManagerprotected void unregisterEvent(TriggerReactorCore plugin, AbstractCustomTriggerManager.EventHook eventHook)
unregisterEvent in class AbstractCustomTriggerManager