You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: example.env
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,12 @@ DISCORD_TOKEN=
41
41
# count provider, the game and the used game server.
42
42
DISCORD_MESSAGE_CHANNEL_ID=
43
43
44
+
# Next Restart Configuration - Restart times in LOCAL hours (local = time of the machine this app will be hosted on)
45
+
# PLEASE NOTE: "Next restart in..." is NOT powered by an API (nor does it restart your servers), it instead requires
46
+
# an absolute restart schedule. If you change your restart schedule, you WILL
47
+
# need to change this to prevent feeding misinformation to your players.
48
+
# Format: Comma separated list (eg. "0,6,12,18" for every 6 hours)
49
+
ABSOLUTE_RESTART_TIMES=0,4,8,12,16,20
44
50
45
51
# Message formats
46
52
# You can define your own message formats for the player count display in the user list in Discord.
@@ -49,6 +55,9 @@ DISCORD_MESSAGE_CHANNEL_ID=
49
55
# - maxPlayers: The maximum number of players that can be on the server
50
56
# - queuedPlayersMessage: The message as defined in DISCORD_PUBLISHER_MESSAGE_QUEUED_FORMAT (only makes sense when the server supports a player queue
51
57
# - queuedPlayers: The number of players currently in the queue
58
+
# - nextRestartMessage: The message as defined in DISCORD_PUBLISHER_MESSAGE_NEXT_RESTART_FORMAT (only used/parsed when ABSOLUTE_RESTART_TIMES is provided and valid)
59
+
# - nextRestartRelative: Relative time until next server restart
0 commit comments