Skip to content

Files

Latest commit

4c5fbf9 · Jul 10, 2023

History

History

server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 10, 2023
Oct 26, 2022
Aug 11, 2018
Aug 11, 2018

server/

This directory holds files used by and configuring the Evennia server itself.

Out of all the subdirectories in the game directory, Evennia does expect this directory to exist, so you should normally not delete, rename or change its folder structure.

When running you will find four new files appear in this directory:

  • server.pid and portal.pid: These hold the process IDs of the Portal and Server, so that they can be managed by the launcher. If Evennia is shut down uncleanly (e.g. by a crash or via a kill signal), these files might erroneously remain behind. If so Evennia will tell you they are "stale" and they can be deleted manually.
  • server.restart and portal.restart: These hold flags to tell the server processes if it should die or start again. You never need to modify those files.
  • evennia.db3: This will only appear if you are using the default SQLite3 database; it a binary file that holds the entire game database; deleting this file will effectively reset the game for you and you can start fresh with evennia migrate (useful during development).

server/conf/

This subdirectory holds the configuration modules for the server. With them you can change how Evennia operates and also plug in your own functionality to replace the default. You usually need to restart the server to apply changes done here. The most important file is the file settings.py which is the main configuration file of Evennia.

server/logs/

This subdirectory holds various log files created by the running Evennia server. It is also the default location for storing any custom log files you might want to output using Evennia's logging mechanisms.