forked from rubenwardy/minetest_web_panel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.cfg.example
42 lines (31 loc) · 1.15 KB
/
config.cfg.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Secret key for secure cookies
SECRET_KEY = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT'
# HTTP Address for Panel
ADDRESS = "localhost"
# HTTP Port for Panel
PORT = 5000
# Location of Database
SQLALCHEMY_DATABASE_URI = 'sqlite:///data.sqlite'
# Paths to Minetest locations
MINETEST_EXE = '/home/rubenwardy/dev/minetest/bin/minetest'
MINETEST_EXE_PARAMS = ["--server"]
MINETEST_WORLDS = '/home/rubenwardy/dev/minetest/worlds/'
# Period, in seconds, between checking server status
CHECK_INTERVAL = 60
# How many lines to grab from log when the server crashes.
DEBUG_N_LINES = 20
# Only allows paths inside of MINETEST_WORLDS
# Good if you are using this as a hosting panel for public use
# (stops server owners interfering with each other)
SANDBOX = True
# If worldname doesn't exist, create it
ALLOW_CREATE_WORLD = True
# Command Delivery Method
# Specify the mechanism used to send chat messages and commands to the server.
# "http" is currently the only option.
# It makes minetest access /api/ on the panel's server
CMD_DELIVERY_METHOD = "http"
# For HTTP mechanism, timeout.
HTTP_SYNC_TIMEOUT = 10
# For HTTP mechanism, sync interval. Seconds
HTTP_SYNC_INTERVAL = 3