WindowsGSM
Search…
WindowsGSM.cfg
A global server config file for WindowsGSM
WindowsGSM.cfg will be auto-created after the game server installed successfully. This config file stores the most common parameters like IP, port, map, maxplayer, etc. These values will be loaded as server start parameters. If you would like to add custom start parameters, see #additional-parameters below.

Basic server settings

Key
Notes
servergame
Do NOT edit this field
servername
Game server name - Set the hostname of the game server here.
⚠️ Some servers use their own server config to set the hostname
serverip
Game server IP - Set the start IP of the game server here.
⚠️ Some servers use their own server config to set the IP
serverport
Game server Port - Set the start port of the game server here.
⚠️ Some servers use their own server config to set the Port
serverqueryport
Game server Query Port - Set the query port of the game server here.
⚠️ Some servers use their own server config to set the Query Port
servermap
Game server map - Set the startup map of the game server here.
servermaxplayer
Game server maxplayer - Set the max player of the game server here.
servergslt
Game server GSLT token - Set the GSLT token of the game server
serverparam
Additional parameters - Set the addition start param here

CPU Priority and Affinity

Key
Notes
cpupriority
CPU Priority - Set the default priority for game process
cpuaffinity
CPU Affinity - Set the default affinity for game process

Automation

Key
Notes
autorestart
autostart
autoupdate
updateonstart
backuponstart
restartcrontab
crontabformat

Discord Webhook Alert

Key
Notes
discordalert
discordmessage
discordwebhook
autostartalert
autorestartalert
autoupdatealert
restartcrontabalert
crashalert

Miscellaneous

Key
Notes
embedconsole

Default WindowsGSM.cfg format

Sample of Minecraft: Java Edition Server's WindowsGSM.cfg
1
servergame="Minecraft: Java Edition Server"
2
servername="WindowsGSM - Server #1"
3
serverip="10.0.0.2"
4
serverport="25565"
5
serverqueryport="25565"
6
servermap="world"
7
servermaxplayer="20"
8
servergslt=""
9
serverparam="-Xmx1024M -Xms1024M"
10
11
cpupriority="2"
12
cpuaffinity="11111111"
13
14
autorestart="0"
15
autostart="0"
16
autoupdate="0"
17
updateonstart="0"
18
backuponstart="0"
19
20
discordalert="0"
21
discordmessage=""
22
discordwebhook=""
23
24
restartcrontab="0"
25
crontabformat="0 6 * * *"
26
27
embedconsole="0"
28
29
autostartalert="1"
30
autorestartalert="1"
31
autoupdatealert="1"
32
restartcrontabalert="1"
33
crashalert="1"
34
Copied!
Last modified 1yr ago