steamuser="username"
steampass='password'
https://github.com/GameServerManagers/Game-Server-Configs/blob/main/dayz/server.cfg
hostname = "SERVERNAME";
passwordAdmin = "ADMINPASSWORD";
tip: to make it easier to use, create a new steam login just for the operator and disable steamguard.
https://docs.linuxgsm.com/steamcmd#steam-user-login
Please Generate a GCP OR AWS public ip and use in loadBalancerIP
apiVersion: gameserver.templarfelix.com/v1alpha1
kind: Dayz
metadata:
labels:
app.kubernetes.io/name: dayz
app.kubernetes.io/instance: dayz-sample
app.kubernetes.io/part-of: gameserver-operator
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/created-by: gameserver-operator
name: dayz-sample
spec:
storage: 10G
#loadBalancerIP: your ipv4 public ip 0.0.0.0
resources:
requests:
memory: 8Gi
cpu: 4
limits:
memory: 16Gi
cpu: 8
ports:
- name: port-27015-tcp
port: 27015
targetPort: 27015
protocol: TCP
- name: port-27016-tcp
port: 27016
targetPort: 27016
protocol: TCP
- name: port-2302-udp
port: 2302
targetPort: 2302
protocol: UDP
- name: port-2304-udp
port: 2304
targetPort: 2304
protocol: UDP
- name: port-2306-udp
port: 2306
targetPort: 2306
protocol: UDP
- name: port-27015-udp
port: 27015
targetPort: 27015
protocol: UDP
- name: port-27016-udp
port: 27016
targetPort: 27016
protocol: UDP
config:
server: |
### custom dayz server config ###
### https://github.com/GameServerManagers/Game-Server-Configs/blob/main/dayz/server.cfg ###
// ****************************************************************************
// *
// DayZ - server.cfg *
// Version 090921 *
// *
// ****************************************************************************
// DayZ Server Config File
//
// More info about parameters:
// https://community.bistudio.com/wiki/DayZ:Server_Configuration
// GENERAL SETTINGS
// Server name
hostname = "SERVERNAME";
// Password to connect to the server
//password = "";
// Password to become a server admin
passwordAdmin = "ADMINPASSWORD";
// Enable/disable whitelist (value 0-1)
enableWhitelist = 0;
// Maximum amount of players
maxPlayers = 60;
// Saves the server console log to a file in the folder with the other server logs
// This variable can crash server on early dayz experimental linux builds
//logFile = "server_console.log";
// Defines Steam query port, should fix the issue with server not being visible in client server browser
// If you are host multiple instances, you can use 2305 (game port + 3)
steamQueryPort = 27016;
// INGAME SETTINGS
// Enable/disable voice over network (value 0-1)
disableVoN = 0;
// Voice over network codec quality, the higher the better (values 0-30)
vonCodecQuality = 20;
// Toggles the 3rd person view for players (value 0-1)
disable3rdPerson = 0;
// Toggles the cross-hair (value 0-1)
disableCrosshair = 0;
// 0 for brighter night, 1 for darker night
lightingConfig = 0;
// disables personal light for all clients connected to server
disablePersonalLight = 0;
// Message of the day displayed in the in-game chat
motd[] = {
"Welcome to My DayZ Server",
"TS3 Server: teamspeak.somewhere.com",
"Web: www.example.com"
};
// Time interval (in seconds) between each message
motdInterval = 60;
// Initial in-game time of the server. "SystemTime" means the local time of the machine. Another possibility is to set the time to some value in "YYYY/MM/DD/HH/MM" format, e.g "2015/4/8/17/23".
serverTime = "SystemTime";
// Accelerated Time - The numerical value being a multiplier (0.1-64). Thus, in case it is set to 24, time would move 24 times faster than normal. An entire day would pass in one hour.
serverTimeAcceleration = 1;
// Accelerated Nigh Time - The numerical value being a multiplier (0.1-64) and also multiplied by serverTimeAcceleration value.
// Thus, in case it is set to 4 and serverTimeAcceleration is set to 2, night time would move 8 times faster than normal.
// An entire night would pass in 3 hours.
serverNightTimeAcceleration = 1;
// Persistent Time (value 0-1)// The actual server time is saved to storage, so when active, the next server start will use the saved time value.
serverTimePersistent = 0;
// SERVER SECURITY/ANTI HACK
// Verifies .pbos against .bisign files. (only 2 is supported)
verifySignatures = 2;
// When enabled, the server will allow the connection only to clients with same the .exe revision as the server (value 0-1)
forceSameBuild = 1;
// Communication protocol used with game server (use only number 1)
guaranteedUpdates = 1;
// enable speedhack detection, values 1-10 (1 strict, 10 benevolent, can be float)
speedhackDetection = 5;
// The number of players concurrently processed during the login process. Should prevent massive performance drop during connection when a lot of people are connecting at the same time.
loginQueueConcurrentPlayers = 5;
// The maximum number of players that can wait in login queue
loginQueueMaxPlayers = 500;
// Max ping value until server kick the user (value in milliseconds)
maxPing = 200;
// DayZ server instance id, to identify the number of instances per box and their storage folders with persistence files
instanceId = 1;
// Checks if the persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1)
storageAutoFix = 1;
// Mission to load on server startup. <MissionName>.<TerrainName>
class Missions
{
class DayZ
{
template = "dayzOffline.chernarusplus";
};
};
# linux gsm config
gsm: |
## custom linuxgsm config ###
### https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/config-default/config-lgsm/dayzserver/_default.cfg
steamuser="username"
steampass='password'
- DayZ - Configurations