forked from wight-airmash/ab-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.production
72 lines (51 loc) · 2.05 KB
/
.env.production
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
# Environment: development or production
NODE_ENV=production
# Levels: debug, info, warn, error, fatal, silent. Silent level disables all log streams.
LOG_LEVEL=info
# Logs file path. Relative (to app.js root) or full path. Empty = turn off file logs
LOG_FILE="../logs/airbattle.log"
# Send log messages to stdout.
# It's better not to turn on both the output in the file and in the console on the production at the same time.
LOG_TO_CONSOLE=false
# Save samples into log.
LOG_PERFORMANCE_SAMPLES=true
# Relative (to app.js root) or full path.
CACHE_PATH="../cache"
# Server host or IP
HOST=127.0.0.1
# Server port
PORT=3501
# Turn on/off TLS
ENDPOINTS_TLS=false
# Path for auto-generated certs. Relative (to app.js root) or full path.
CERTS_PATH="../certs"
# Types: FFA, CTF or BTR.
SERVER_TYPE="FFA"
# Server room name
SERVER_ROOM="ab-ffa"
# Superuser password to run some commands. Must be filled.
SU_PASSWORD=""
# Connections limit.
MAX_PLAYERS_PER_IP=3
# Prowlers visibility. Anti-cheating feature (false = active).
# If active, only no-spectating teammates can see stealthed prowlers.
PROWLERS_ALWAYS_VISIBLE_FOR_TEAMMATES=false
# Whitelist — bots ip list. If disabled all connected players
# are considered as bots.
WHITELIST_ENABLED=true
# Pre-defined bots IP list. Parsed as array.
# Example: "127.0.0.1,127.0.0.2,127.0.0.3" will be parsed
# as ["127.0.0.1", "127.0.0.2", "127.0.0.3"]
BOTS_IP="127.0.0.1"
ALLOW_NON_ASCII_USERNAMES=false
# Enable user accounts. Use AUTH_LOGIN_SERVER_KEY_URL to customize public key server.
USER_ACCOUNTS=true
# Enable cross-server synchronization of user stats. Public servers in the games list should set this to true.
STATS_SYNC=true
# The player will receive these messages after joining to the game.
# Use %split% as a delimiter and %username% to address the player.
# "Hello!%split%Welcome to EU FFA server." will be sent
# as two messages 'Hello!' and 'Welcome to EU FFA server.'
WELCOME_MESSAGES=""
# It is preferable to set it `1` in the production. See uWebSockets.js. package repository for more info.
EXPERIMENTAL_FASTCALL=1