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

servergame="Minecraft: Java Edition Server"
servername="WindowsGSM - Server #1"
serverip="10.0.0.2"
serverport="25565"
serverqueryport="25565"
servermap="world"
servermaxplayer="20"
servergslt=""
serverparam="-Xmx1024M -Xms1024M"
cpupriority="2"
cpuaffinity="11111111"
autorestart="0"
autostart="0"
autoupdate="0"
updateonstart="0"
backuponstart="0"
discordalert="0"
discordmessage=""
discordwebhook=""
restartcrontab="0"
crontabformat="0 6 * * *"
embedconsole="0"
autostartalert="1"
autorestartalert="1"
autoupdatealert="1"
restartcrontabalert="1"
crashalert="1"