-
Notifications
You must be signed in to change notification settings - Fork 1
Program Flow
Kolatat Thangkasemvathana edited this page May 27, 2016
·
1 revision
#Entry Points
-
onLoad()- Called after this plugin is loaded buy before it is enabled. -
onEnable()- Called when this plugin is enabled.-
loadConfigurations()- Reads and apply all the configuration from the config.yml file. -
loadDependencies()- Constructs instances of objects needed by the plugin. -
loadPlaces()- Reads the database and loads all the Places saved into memory. -
registerCommands()- Registers specificCommandExecutors as the handler for each command.
-
#Command Entry Points
onTabComplete()onCommand()
#Exit Points
-
onDisable()- Called when this plugin is disabled. - Random server crashes - these do happen, and quite often on VAC's servers. ** Since a requirement of this plugin is accountability, we want everything to be committed and flushed right away. Ideally there should not be clean-ups or anything else required in the exit points.