2012-09-18 22:52:33 +02:00
|
|
|
"""
|
|
|
|
|
|
2015-01-07 18:21:28 +01:00
|
|
|
Server plugin services
|
2012-09-18 22:52:33 +02:00
|
|
|
|
2015-01-07 18:37:27 +01:00
|
|
|
This plugin module can define user-created services for the Server to
|
|
|
|
|
start.
|
2012-09-18 22:52:33 +02:00
|
|
|
|
2015-01-07 18:37:27 +01:00
|
|
|
This module must handle all imports and setups required to start a
|
|
|
|
|
twisted service (see examples in evennia.server.server). 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.
|
2012-09-18 22:52:33 +02:00
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
2013-11-14 19:31:17 +01:00
|
|
|
|
2015-01-07 18:21:28 +01:00
|
|
|
def start_plugin_services(server):
|
2012-09-18 22:52:33 +02:00
|
|
|
"""
|
2015-01-07 18:21:28 +01:00
|
|
|
This hook is called by Evennia, last in the Server startup process.
|
2012-09-18 22:52:33 +02:00
|
|
|
|
2015-01-07 18:21:28 +01:00
|
|
|
server - a reference to the main server application.
|
2012-09-18 22:52:33 +02:00
|
|
|
"""
|
|
|
|
|
pass
|