-
Notifications
You must be signed in to change notification settings - Fork 0
Modules
Lieuwe Rooijakkers edited this page Jan 24, 2015
·
2 revisions
Modules in GeekServer are ordinary Node modules, the only difference is an extra object called GeekModule
in the package.json
.
Most information is provided through code instead of the GeekModule
object, however information that is needed before the module is being
executed is provided in the GeekModule
object. (eg. Supported GeekServer version)
"GeekModule": {
"GeekServerVersion": "" // The minimal required version of GeekServer to load this module, written in NPM versioning style.
"RequiresMainframeReload": true // True if this module requires the server's mainframe to be reloaded.
"RequiredFullReload": false // [Usually not needed] True if this module requires a _full_ server reload, this will kick all players from the server. This is mostly required if the server hooks into sockets / connection directly or changes raddically things.
}