-
Notifications
You must be signed in to change notification settings - Fork 10
/
.env.example
105 lines (83 loc) · 3.01 KB
/
.env.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
## Server
XMLRPC_HOST="127.0.0.1"
XMLRPC_PORT=5000
XMLRPC_USER="SuperAdmin"
XMLRPC_PASS="SuperAdmin"
ERROR_REPORTING=true
# database connection string examples:
# DATABASE="postgres://user:[email protected]:5432/databaseName"
# DATABASE="mysql://user:[email protected]:3306/databaseName"
# DATABASE="sqlite://userdata/local.sqlite"
DATABASE="sqlite://userdata/local.sqlite"
## Controller
# comma separated list of admins for the server
ADMINS=""
EXCLUDED_PLUGINS="worldrecords, tmnf/freezone, tmnf/dedimania"
# set ansilevel:
# 0 = no color, 1 = 4bit color (console), 2 = 24bit color (rgb)
ANSILEVEL=1
WRITELOG=false
# Debug info.. or not
DEBUG=false
## 1 for general debugging, 2 for sql queries, 3 for trace message caller
DEBUGLEVEL=1
## Plugins
FREEZONE_PASS=""
DEDIMANIA_PASS=""
# Use Celyans emotes in TMNF chat, for details: http://bit.ly/Celyans_emotes_sheet
CHAT_USE_EMOTES=false
# uncomment next line to force openplanet mode for tm2020:
# FORCE_OP_MODE="OFFICIAL"
## Records
MAX_RECORDS=100 # Amount of local records saved per map. Increasing this might cause lags on sqlite.
WORLD_RECORDS=100 # TM2020 only. Amount of World Records to be displayed in /worldrecords. Increasing this might get your Account banned (too many API calls).
UPDATE_RECORDS=60 # TM2020 only. Interval of World Records being updated in seconds (min. 30). Decreasing this might get your Account banned (too many API calls).
# multiplier to set automatically timelimit based on map author time, accepts float
ATIME=-1
ATIME_MIN=180
ATIME_MAX=600
# defauld timelimit
TALIMIT=300
VOTE_TIMEOUT=30
VOTE_RATIO=0.55
RES_AMOUNT=50
SKIP_AMOUNT=150
## Theme
# COLOR_WHITE="FFF"
# COLOR_GRAY="ABC"
# COLOR_BLACK="000"
# COLOR_PRIMARY="9F0"
# COLOR_SECONDARY="F90"
# COLOR_TITLE_FG="FFF"
# COLOR_TITLE_BG="09C"
# COLOR_WIDGET_BG="012"
# COLOR_WIDGET_TEXT="FFF"
# COLOR_WINDOW_BG="123"
# COLOR_WINDOW_TEXT="FFF"
# COLOR_BUTTON_BG="778"
# COLOR_BUTTON_BG_HOVER="679"
# COLOR_BUTTON_TEXT="FFF"
# COLOR_CMD="FD0"
# COLOR_INFO="5BF"
# COLOR_REC="2E0"
# COLOR_SUCCESS="0F0"
# COLOR_WARNING="FA0"
# COLOR_ERROR="F00"
# TMF only
# Uncomment lines and add the URL for the mod to force
# Example: FORCEMODS_URL_BAY="https://example.com/mod.zip"
# FORCEMODS_URL_ALPINE=""
# FORCEMODS_URL_BAY=""
# FORCEMODS_URL_COAST=""
# FORCEMODS_URL_ISLAND=""
# FORCEMODS_URL_RALLY=""
# FORCEMODS_URL_SPEED=""
# FORCEMODS_URL_STADIUM=""
# Uncomment this if you want to override mods of tracks
# FORCEMODS_OVERRIDE_TRACKMOD="true"
## only used in tm2020 to login nadeocloud services for plugin: worldrecords
SERVER_LOGIN="" # your server login info from <masterserver> section at dedicated_cfg.txt
SERVER_PASS="" # your server password info from <masterserver> section at dedicated_cfg.txt
CONTACT_INFO="" # use your email address, used only to access nadeoapi - in case nadeo needs to contact you
IDENTIFIER="" # you need to get an identifier and a client secret from https://api.trackmania.com/
SECRET="" # you need to get an identifier and a client secret from https://api.trackmania.com/