forked from MarechJ/hll_rcon_tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
121 lines (116 loc) · 6.09 KB
/
.env
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# This is your game server IP
HLL_HOST=
# This is the rcon port of your game server
HLL_PORT=
# This is the rcon password of your game server
HLL_PASSWORD=
# This is a database password you have to choose, It does not have to be memorable as you will probably never access it directly
# Make it strong
HLL_DB_PASSWORD=
# Don't touch that unless you know what you're doing. This is the DB port as exposed on the host machine
HLL_DB_HOST_PORT=5432
# Don't touch that unless you know what you're doing. This is the Redis port as exposed on the host machine
HLL_REDIS_HOST_PORT=6379
# This is the port where the Rcon Website will be accessible. Feel free to change. If you're running multiple instances you have to change it per instance
# If you want to put a reverse proxy on your rcon (e.g. for HTTPS) and block the direct access then use: 127.0.0.1:8010
RCONWEB_PORT=8010
# Only change if you use a reverse proxy setup, set a full url with scheme (and port if relevan), to this rcon, eg: https://mydomain.com
RCONWEB_SERVER_URL=
# same as above but for https
RCONWEB_PORT_HTTPS=9010
# Ignore the below if you don't care for HTTPS
# This is used for the self signed ssl certificate to use HTTPS, add you external IP here, or you domain although if you have a domain it's recommended to use trusted certificate with Letsencrypt
# The certificates are created on startup, so if you change this value also delete the content of the certs/ directory
# When using chrome the access to the site will be blocked you need to type the following to proceeed: thisisunsafe
# On Firefox you'll also get a warning, you can click on Advance and then Accept the risk and continue.
# This is an experimental feature, and it's only useful if you want the clipboard copy buttons to work. I may add support for automatic generation of valid certificates with Letsencrypt but that's not a priority, you can also replace the certificate and key in the certs/ directory
RCONWEB_EXTERNAL_ADDRESS=localhost
# A full discord webhook URL to receive updates on discord about what happens in the RCON (punish/kick/ban and settings changes)
DISCORD_WEBHOOK_AUDIT_LOG=
# Assign a name to this instance. This will be used for the page title of the Rcon web page and in the audit log, amongst other things. Keep it unique per instance
SERVER_SHORT_NAME=MyServer
# Write down something random and LONG here, this is used to encrypt passwords. Don't change it after the fact or you will loose your accounts
RCONWEB_API_SECRET=
# A full Discord webhook URL to direct in-game chat to.
DISCORD_CHAT_WEBHOOK=
# Write "yes" to allow ingame chat to trigger mentions on your discord. This setting is global to all servers
# Any other value than "yes" will disable it
DISCORD_CHAT_WEBHOOK_ALLOW_MENTIONS=yes
# Comma-separated list of trigger words. Case-insensitive.
# Trigger words match whole words.
# "this is a TeSt message" would match trigger word "test"
# "this is a testmessage" would NOT match trigger word "test"
# Example: DISCORD_PING_TRIGGER_WORDS=word1,word2,spam,eggs
DISCORD_PING_TRIGGER_WORDS=
# Comma-separated list of roles to ping when a trigger word is encountered.
# Roles must be in the following format: <@&ROLE_ID>
# Example: DISCORD_PING_TRIGGER_ROLES=<@&111117777888889999>,<@&111007766855882299>
# See USERGUIDE.md for more information.
DISCORD_PING_TRIGGER_ROLES=
# A full Discord webhook URL to receive pings when trigger words are encountered.
# If this is not set, DISCORD_CHAT_WEBHOOK is used for trigger words.
DISCORD_PING_TRIGGER_WEBHOOK=
# A full Discord webhook URL to receive updates on in-game kills.
DISCORD_KILLS_WEBHOOK=
# Send normal kill updates to DISCORD_KILLS_WEBHOOK.
# Any other value than "yes" will disable it.
DISCORD_SEND_KILL_UPDATES=
# Send team kill updates to DISCORD_KILLS_WEBHOOK.
# Any other value than "yes" will disable it.
DISCORD_SEND_TEAM_KILL_UPDATES=yes
VOTE_MAP_INSTRUCTIONS=To vote write the map number in the chat
# The steam API is used to display country flags and VAC bans. Get a key there: https://steamcommunity.com/dev/apikey
STEAM_API_KEY=
# Automatically ban a player if they had a VAC (or gameban, if you set that too below) ban less than N days ago
# N is the value in days you should set.
# E.g. if you set 160, players VAC (or game) banned less than 160 days will be perma banned
# Settings this to 0 will disable it.
BAN_ON_VAC_HISTORY_DAYS=0
# Game ban threshold.
# In COMBINATION with the BAN_ON_VAC_HISTORY_DAYS, also ban players with Game bans
# The value is the number GAME bans a player must have to be auto-banned
# E.g if you set 2, any players with 2 or more game bans will be perma banned
# 0 disables that feature (any number of game bans is allowed).
# Remember that game bans don't necessarily mean much.
MAX_GAME_BAN_THRESHOLD=0
# The reason to be given for the ban
# You may use the variables {DAYS_SINCE_LAST_BAN} and {MAX_DAYS_SINCE_BAN}
BAN_ON_VAC_HISTORY_REASON=VAC/Game ban history ({DAYS_SINCE_LAST_BAN} days ago)
# Leave blank if you want to receive a message in your audit log channel when the map changes on your server
# if you don't want to receive that info set it to 1
SILENT_MAP_RECORDER=
# The number of worker for your API, decrease this number if you're tight on memory or CPU
# The more worker the faster your queries are answer (so if you have a lot of user it's better)
# Each worker takes up between 100 and 200MB. The default is 8 and should be sufficient for a large team of moderators
NB_API_WORKERS=8
# SERVER 2
HLL_HOST_2=
HLL_PORT_2=
HLL_PASSWORD_2=
RCONWEB_PORT_2=8011
RCONWEB_SERVER_URL_2=
RCONWEB_PORT_HTTPS_2=9011
DISCORD_WEBHOOK_AUDIT_LOG_2=
SERVER_SHORT_NAME_2=MyServer2
DISCORD_CHAT_WEBHOOK_2=
DISCORD_PING_TRIGGER_WORDS_2=
DISCORD_PING_TRIGGER_WEBHOOK_2=
DISCORD_KILLS_WEBHOOK_2=
DISCORD_SEND_KILL_UPDATES_2=
DISCORD_SEND_TEAM_KILL_UPDATES_2=yes
# SERVER 3
HLL_HOST_3=
HLL_PORT_3=
HLL_PASSWORD_3=
RCONWEB_PORT_3=8012
RCONWEB_SERVER_URL_3=
RCONWEB_PORT_HTTPS_3=9012
DISCORD_WEBHOOK_AUDIT_LOG_3=
SERVER_SHORT_NAME_3=MyServer3
DISCORD_CHAT_WEBHOOK_3=
DISCORD_PING_TRIGGER_WORDS_3=
DISCORD_PING_TRIGGER_ROLES_3=
DISCORD_PING_TRIGGER_WEBHOOK_3=
DISCORD_KILLS_WEBHOOK_3=
DISCORD_SEND_KILL_UPDATES_3=
DISCORD_SEND_TEAM_KILL_UPDATES_3=yes