Advertisement
Kovitikus

settings.py

Aug 7th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.91 KB | None | 0 0
  1. r"""
  2. Evennia settings file.
  3.  
  4. The available options are found in the default settings file found
  5. here:
  6.  
  7. d:\muddev\evennia\evennia\settings_default.py
  8.  
  9. Remember:
  10.  
  11. Don't copy more from the default file than you actually intend to
  12. change; this will make sure that you don't overload upstream updates
  13. unnecessarily.
  14.  
  15. When changing a setting requiring a file system path (like
  16. path/to/actual/file.py), use GAME_DIR and EVENNIA_DIR to reference
  17. your game folder and the Evennia library folders respectively. Python
  18. paths (path.to.module) should be given relative to the game's root
  19. folder (typeclasses.foo) whereas paths within the Evennia library
  20. needs to be given explicitly (evennia.foo).
  21.  
  22. If you want to share your game dir, including its settings, you can
  23. put secret game- or server-specific settings in secret_settings.py.
  24.  
  25. """
  26.  
  27. # Use the defaults from Evennia unless explicitly overridden
  28. from evennia.settings_default import *
  29.  
  30. ######################################################################
  31. # Evennia base server config
  32. ######################################################################
  33.  
  34. # This is the name of your game. Make it catchy!
  35. SERVERNAME = "Hecate"
  36.  
  37. WEBCLIENT_OPTIONS = {
  38.     "gagprompt": True,  # Gags prompt from the output window and keep them
  39.     # together with the input bar
  40.     "helppopup": False,  # Shows help files in a new popup window
  41.     "notification_popup": False,  # Shows notifications of new messages as
  42.     # popup windows
  43.     "notification_sound": False   # Plays a sound for notifications of new
  44.     # messages
  45. }
  46.  
  47.  
  48. ######################################################################
  49. # Settings given in secret_settings.py override those in this file.
  50. ######################################################################
  51. try:
  52.     from server.conf.secret_settings import *
  53. except ImportError:
  54.     print("secret_settings.py file not found or failed to import.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement