Added more overloading modules and cleaned up the template some more.

This commit is contained in:
Griatch 2015-01-07 18:21:28 +01:00
parent ad3f19896c
commit 2c46ede247
19 changed files with 269 additions and 236 deletions

View file

@ -1,24 +1,23 @@
"""
Start plugin services
This plugin module can define user-created services for the Server to start.
This plugin module can define user-created services for the Portal to
start.
To use, copy this module up one level to game/gamesrc/conf/ and set
settings.SERVER_SERVICES_PLUGIN_MODULE to point to this module.
This module must handle all imports and setups required to start a twisted
services (see examples in src/server/server.py). It must also contain a
function start_plugin_services(application). Evennia will call this function
with the main Server application (so your services can be added to it). The
function should not return anything. Plugin services are started last in
the Server startup process.
This module must handle all imports and setups required to start
twisted services (see examples in src/server/server.py). It must also
contain a function start_plugin_services(application). Evennia will
call this function with the main Portal application (so your services
can be added to it). The function should not return anything. Plugin
services are started last in the Portal startup process.
"""
def start_plugin_services(server):
def start_plugin_services(portal):
"""
This hook is called by Evennia, last in the Server startup process.
This hook is called by Evennia, last in the Portal startup process.
server - a reference to the main server application.
portal - a reference to the main portal application.
"""
pass