master-server/config-example.py
ShadowNinja b366290118 Remove ban list
This should be handled at a higher level, such as in NetFilter or the proxy server.
I only added this feature because the old server list had it.
2016-01-23 23:53:01 -05:00

24 lines
847 B
Python

# Enables detailed tracebacks and an interactive Python console on errors.
# Never use in production!
DEBUG = False
# Address for development server to listen on
HOST = "127.0.0.1"
# Port for development server to listen on
PORT = 5000
# File to store the JSON server list data in.
FILENAME = "list.json"
# Amount of time, is seconds, after which servers are removed from the list
# if they haven't updated their listings. Note: By default Minetest servers
# only announce once every 5 minutes, so this should be more than 300.
PURGE_TIME = 350
# Creates server entries if a server sends an 'update' and there is no entry yet.
# This should only be used to populate the server list after list.json was deleted.
# This WILL cause problems such as mapgen, mods and privilege information missing from the list
ALLOW_UPDATE_WITHOUT_OLD = False