mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
* Fixed channel history to show in the correct order now.
* Two channels are now created by initial_setup.py for informative emits: MUDConnections and MUDInfo. * MUDConnections now shows a connection/login/logout log. * MUDInfo shows general informative messages about the server state. For now IMC emits here when things happen (connection, disconnection, etc.). Eventually we'll want to restrict these to staff only, but it's not high priority atm.
This commit is contained in:
parent
566a02b848
commit
547a5dd139
7 changed files with 86 additions and 23 deletions
|
|
@ -7,6 +7,7 @@ Everything starts at handle_setup()
|
|||
"""
|
||||
from django.contrib.auth.models import User, Group
|
||||
from django.core import management
|
||||
from django.conf import settings
|
||||
from src.objects.models import Object
|
||||
from src.config.models import ConfigValue, CommandAlias, ConnectScreen
|
||||
from src import comsys, defines_global
|
||||
|
|
@ -65,8 +66,10 @@ def create_channels():
|
|||
chan_pub = comsys.create_channel("Public", god_user_obj, description="Public Discussion")
|
||||
chan_pub.is_joined_by_default = True
|
||||
chan_pub.save()
|
||||
comsys.create_channel("Errors", god_user_obj, description="Error log")
|
||||
comsys.create_channel("Info", god_user_obj, description="Informative messages")
|
||||
comsys.create_channel(settings.COMMCHAN_MUD_INFO, god_user_obj,
|
||||
description="Informative messages")
|
||||
comsys.create_channel(settings.COMMCHAN_MUD_CONNECTIONS, god_user_obj,
|
||||
description="Connection log")
|
||||
|
||||
def create_config_values():
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue