Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Paths lists the filepaths for all accessible plugins in the current // project directory. Paths []string // Root is the root path of the project directory Root string // PluginRoot is the root for all plugins, essnetially just // Root + "/plugins" PluginRoot string // GameRoot is the root for all player written game files, essentially just // Root + "/game" GameRoot string // Names is a list of names for each of the plugins loaded. Names []string )
Functions ¶
func GetScriptLoadPaths ¶
func GetScriptLoadPaths() []string
GetScriptLoadPaths returns the paths used for loading scripts via Lua. This is converting all plugin paths into ?.lua and ?/init.lua paths.
func LoadClient ¶
LoadClient runs all the init.lua files for client in the users codebase and with all plugins.
func LoadCommands ¶
LoadCommands runs all the init.lua files for commands in the users codebase and with all plugins.
func LoadServer ¶
LoadServer runs all the init.lua files for server in the users codebase and with all plugins.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.