From Oxide Wiki
Jump to: navigation, search

Loading behavior of modules

The order of loading is like this.

  1. All script files loaded and executed by Oxide engine.
  2. Init hook called on all plugins.
  3. PostInit hook called on all plugin

Any globals you define in stage #1 will be available to all plugins in stage #2. Assume the order in which script files are loaded and the order in which plugins are considered when a hook is called to be undefined.