File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
* ~
2
2
static /list.json
3
3
static /servers.js
4
+ config.py
4
5
Original file line number Diff line number Diff line change 3
3
# Never use in production!
4
4
#DEBUG = True
5
5
6
+ # Address for development server to listen on
7
+ #HOST = "0.0.0.0"
8
+ # Port for development server to listen on
9
+ #PORT = 5000
10
+
6
11
# Makes the server more performant at sending static files when the
7
12
# server is being proxied by a server that supports X-Sendfile.
8
13
#USE_X_SENDFILE = True
9
14
10
- # Address to listen for clients on
11
- HOST = "0.0.0.0"
12
-
13
- # Port to listen on
14
- PORT = 8000
15
-
16
15
# File to store the JSON server list data in.
17
16
FILENAME = "list.json"
18
17
19
- # Ammount of time, is seconds, after which servers are removed from the list
18
+ # Amount of time, is seconds, after which servers are removed from the list
20
19
# if they haven't updated their listings. Note: By default Minetest servers
21
20
# only announce once every 5 minutes, so this should be more than 300.
22
21
PURGE_TIME = 350
23
22
24
- # List of banned IP addresses.
23
+ # List of banned IP addresses
25
24
BANLIST = []
26
25
27
- # Creates server entries if a server sends an 'update' and there is no entry yet
26
+ # Creates server entries if a server sends an 'update' and there is no entry yet.
28
27
# This should only be used to populate the server list after list.json was deleted.
29
28
# This WILL cause problems such as mapgen, mods and privilege information missing from the list
30
29
ALLOW_UPDATE_WITHOUT_OLD = False
30
+
You can’t perform that action at this time.
0 commit comments