23 lines
701 B
Python
23 lines
701 B
Python
"""
|
|
Start plugin services
|
|
|
|
This plugin module can define user-created services for the Portal to
|
|
start.
|
|
|
|
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(portal):
|
|
"""
|
|
This hook is called by Evennia, last in the Portal startup process.
|
|
|
|
portal - a reference to the main portal application.
|
|
"""
|
|
pass
|