evennia.server.portal.service

class evennia.server.portal.service.EvenniaPortalService(*args, **kwargs)[source]

Bases: twisted.application.service.MultiService

__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

portal_maintenance()[source]

Repeated maintenance tasks for the portal.

privilegedStartService()[source]
register_plugins()[source]
check_lockdown(interfaces: list)[source]
register_ssl()[source]
register_ssh()[source]
register_webserver()[source]
register_telnet()[source]
register_amp()[source]
get_info_dict()[source]

Return the Portal info, for display.

shutdown(_reactor_stopping=False, _stop_server=False)[source]

Shuts down the server from inside it.

Parameters
  • _reactor_stopping (bool, optional) – This is set if server is already in the process of shutting down; in this case we don’t need to stop it again.

  • _stop_server (bool, optional) – Only used in portal-interactive mode; makes sure to stop the Server cleanly.

Note that restarting (regardless of the setting) will not work if the Portal is currently running in daemon mode. In that case it always needs to be restarted manually.