A Day of Dragons dedicated game server Image.
1.4K

EULA: (STRING) Env variable to accept the EULA of this software, to do so, just set it to "accept" . Default: unset.UPDATEGAME: (BOOLEAN) Env variable that triggers the update / initial install of the server (done on container restart). Default: true.UPDATECONFIG: (BOOLEAN) Env variable that syncs the config of the server with the config env vars values (done on container restart). Default: true.STEAMPORT: (NUMBER) Env variable to change the exposed steam query port. Default: 27016 (Do NOT change).GAMEPORT: (NUMBER) Env variable to change the exposed port of your server. Default: 7777 (Do NOT change).SERVERPARAMS: (STRING) Env variable to pass parameters to the DragonsServer script. Default: Empty. example: -log: Enables the log window.SERVERNAME: (STRING) Env variable that sets the servername on launch.STEAMPARAMS: (STRING) Env variable to pass parameters to the SteamCMD on update / install of the server. Default: Empty.ADMINSTEAMID: (STRING) Env variable thats specifies who is the server admin via steamID, set this to get admin privileges. Default: My id :p.MAXPLAYERS: (STRING) Env variable that specifies the Max player slots for the server.WHITELIST: (BOOLEAN) Env variable that enables / disables whitelist mode. Default: false (disabled).AUTOSAVESECONDS: (STRING) Env variable that sets the automatic server save in seconds. Default 300 (Save each 5 minutes).STARTSERVER: (executable command) command to start the server ($STARTSERVER) (wait until the server fully launched, and press ENTER to get back to the console).STOPSERVER: (executable command) command to stop the server ($STOPSERVER), this command will stop the servers process without closing the container, allowing you to modify the config./home/steamsrv/: Root folder./home/steamsrv/steamcmd/: Steam Console folder./home/steamsrv/dayofdragons_server/: DoD Server folder./home/steamsrv/dayofdragons_server/Dragons/Saved/Config/LinuxServer/Game.ini: DoD server config file, edit this to add more admins, enable whitelists, etc (see the Configuration" section).sudo docker build -t dod:latest ./On a terminal with Docker: sudo docker run -it -p 7777:7777 -p 7777:7777/udp -p 7778:7778 -p 7778:7778/udp -p 27016:27016 -p 27016:27016/udp -p 27015:27015/udp -p 27015:27015 -p 4380:4380/udp -p 80:80 -p 443:443 -e EULA=accept -e ADMINSTEAMID=SteamId64 -e SERVERNAME='"Your Server Name"' --name DOD_SERVER xenium/dayofdragons, and once the server finishes launching, press enter to start the container's terminal, this will allow you to modify your config files.
-e SERVERNAME='"Your Server Name"'On a web pannel, with Portainer: Just make sure to set the proper variables before creating the container.
By default, the game will generate an empty config file on /home/steamsrv/dayofdragons_server/Dragons/Saved/Config/LinuxServer/Game.ini, the container, at start, will automatically replace the config's fields with the env vars and paste it to /home/steamsrv/predodconfig/Game.ini, still, if you want to edit the file, to add more admins, etc.. just do the next steps:
Stop the server, type $STOPSERVER in the container's console.
Go to /home/steamsrv/dayofdragons_server/Dragons/Saved/Config/LinuxServer/Game.ini and edit the file, here's a template:
[/Game/Dev/Libraries/Classes/Runtime/DragonsGameInstance.DragonsGameInstance_C]
;This config variable allows users to set server max players. Values are currently hardcoded set to 2 min and 250 max. If users do not define the max player count in Game.ini, the server defaults to 100. Please note, we have not yet stress tested our servers for max capacity!
iServerMaxPlayers=100
;range is 2-250
;This array config variable allows users to define who are admins. This must be set before the server is started. Add additional entries below the first.
sServerAdmins=Steam64ID
;sServerAdmins=Steam64ID
;sServerAdmins=Steam64ID
;etc.
;This blacklist array config variable allows users to ban players by their Steam ID. Replace Steam64ID with the actual Steam ID of the banned player.
;sServerBanList=Steam64ID
;sServerBanList=Steam64ID
;sServerBanList=Steam64ID
;etc.
;Change this value to True if the server uses a whitelist
bServerUseJoinList=false
;This whitelist array config variable allows users to prevent any player from joining their server unless their Steam ID is on this whitelist. Replace Steam64ID with the actual Steam ID of the allowed player. bServerUseJoinList=true must be set to enable the whitelist.
;sServerJoinList=Steam64ID
;sServerJoinList=Steam64ID
;sServerJoinList=Steam64ID
;etc.
;This variable determines the time between server autosaves in seconds, defaults to 300 seconds (5 minutes)
iAutoSaveInterval=300
; are comments, (configuration that the game will ignore).Game.ini on the folder, modify the template (/home/steamsrv/predodconfig/Game.ini), copy it, and start the server.$STARTSERVER in the container's console,Day of Dragons uses Unreal port 7777, and Steam Server Query Port 27016 by default. Additional servers hosted on the same IP will need their own installation folder and then you will need to change the Steam Query Port in the Engine.ini file.
Browse to /home/steamsrv/predodconfig/
Edit file Engine.ini
[OnlineSubsystemSteam]
GameServerQueryPort=27016
For each additional server, change port number, ex: GameServerQueryPort=27017 GameServerQueryPort=27018 GameServerQueryPort=27019
Restart the container.
(MAKE SURE THE UPDATECONFIG VARIABLE IS TRUE OR CHANGES WILL NOT BE APPLIED).
Content type
Image
Digest
Size
90.5 MB
Last updated
almost 7 years ago
docker pull xenium/dayofdragons