evennia

Evennia MU* creation system.

Online manual and API docs are found at http://www.evennia.com.

Flat-API shortcut names:

  • evennia.ANSIString

  • evennia.AccountDB

  • evennia.AttributeProperty

  • evennia.ChannelDB

  • evennia.CmdSet

  • evennia.Command

  • evennia.DefaultAccount

  • evennia.DefaultChannel

  • evennia.DefaultCharacter

  • evennia.DefaultExit

  • evennia.DefaultGuest

  • evennia.DefaultObject

  • evennia.DefaultRoom

  • evennia.DefaultScript

  • evennia.EVENNIA_PORTAL_SERVICE

  • evennia.EVENNIA_SERVER_SERVICE

  • evennia.EvEditor

  • evennia.EvForm

  • evennia.EvMenu

  • evennia.EvMore

  • evennia.EvTable

  • evennia.FuncParser

  • evennia.GLOBAL_SCRIPTS

  • evennia.InterruptCommand

  • evennia.MONITOR_HANDLER

  • evennia.Msg

  • evennia.ON_DEMAND_HANDLER

  • evennia.OPTION_CLASSES

  • evennia.ObjectDB

  • evennia.OnDemandTask

  • evennia.PORTAL_MODE

  • evennia.PORTAL_SESSION_HANDLER

  • evennia.PROCESS_ID

  • evennia.SERVER_SESSION_HANDLER

  • evennia.SESSION_HANDLER

  • evennia.ScriptDB

  • evennia.ServerConfig

  • evennia.TASK_HANDLER

  • evennia.TICKER_HANDLER

  • evennia.TWISTED_APPLICATION

  • evennia.TagCategoryProperty

  • evennia.TagProperty

  • evennia.ansi

  • evennia.contrib

  • evennia.create_account

  • evennia.create_channel

  • evennia.create_help_entry

  • evennia.create_message

  • evennia.create_object

  • evennia.create_script

  • evennia.default_cmds

  • evennia.evennia

  • evennia.gametime

  • evennia.inputhandler

  • evennia.lockfuncs

  • evennia.logger

  • evennia.managers

  • evennia.search_account

  • evennia.search_channel

  • evennia.search_help

  • evennia.search_message

  • evennia.search_object

  • evennia.search_script

  • evennia.search_tag

  • evennia.set_trace

  • evennia.settings

  • evennia.signals

  • evennia.spawn

  • evennia.syscmdkeys

evennia.set_trace(term_size=140, 80, debugger='auto')[source]

Helper function for running a debugger inside the Evennia event loop.

Parameters
  • term_size (tuple, optional) – Only used for Pudb and defines the size of the terminal (width, height) in number of characters.

  • debugger (str, optional) – One of ‘auto’, ‘pdb’ or ‘pudb’. Pdb is the standard debugger. Pudb is an external package with a different, more ‘graphical’, ncurses-based UI. With ‘auto’, will use pudb if possible, otherwise fall back to pdb. Pudb is available through pip install pudb.

Notes

To use:

  1. add this to a line to act as a breakpoint for entering the debugger:

    from evennia import set_trace; set_trace()

  2. restart evennia in interactive mode

    evennia istart

  3. debugger will appear in the interactive terminal when breakpoint is reached. Exit with ‘q’, remove the break line and restart server when finished.