diff --git a/README.md b/README.md index 2b3002a4..15f10888 100644 --- a/README.md +++ b/README.md @@ -293,6 +293,7 @@ If you are reading this it looks like you are looking to add an egg to your serv * [Post Scriptum](game_eggs/steamcmd_servers/post_scriptum) * [Project Zomboid](game_eggs/steamcmd_servers/project_zomboid) * [Quake Live](game_eggs/steamcmd_servers/quake_live) +* [Reign Of Dwarf](game_eggs/steamcmd_servers/reign_of_dwarf) * [Resonite](game_eggs/steamcmd_servers/resonite) * [Rising World](game_eggs/steamcmd_servers/rising_world) * [Risk Of Rain 2](game_eggs/steamcmd_servers/risk_of_rain_2) diff --git a/game_eggs/README.md b/game_eggs/README.md index 3244738f..4b33381b 100644 --- a/game_eggs/README.md +++ b/game_eggs/README.md @@ -185,6 +185,7 @@ * [Post Scriptum](steamcmd_servers/post_scriptum) * [Project Zomboid](steamcmd_servers/project_zomboid) * [Quake Live](steamcmd_servers/quake_live) +* [Reign Of Dwarf](steamcmd_servers/reign_of_dwarf) * [Resonite](steamcmd_servers/resonite) * [Rising World](steamcmd_servers/rising_world) * [Legacy Java](steamcmd_servers/rising_world/legacy) diff --git a/game_eggs/steamcmd_servers/README.md b/game_eggs/steamcmd_servers/README.md index e580ad2d..6a708f90 100644 --- a/game_eggs/steamcmd_servers/README.md +++ b/game_eggs/steamcmd_servers/README.md @@ -193,6 +193,10 @@ This is a collection of servers that use SteamCMD to install. [Quake Live](quake_live) +## Reign Of Dwarf + +[Reign Of Dwarf](reign_of_dwarf) + ## Resonite [Resonite](resonite) diff --git a/game_eggs/steamcmd_servers/reign_of_dwarf/README.md b/game_eggs/steamcmd_servers/reign_of_dwarf/README.md new file mode 100644 index 00000000..0b81957a --- /dev/null +++ b/game_eggs/steamcmd_servers/reign_of_dwarf/README.md @@ -0,0 +1,13 @@ +# Reign Of Dwarf + +Survive, farm, and conquer, that's the philosophy of Reign of Dwarf. We provide you the tools, you choose how to use them. Go to war, make alliances, or hide away from the world, the only morals will be the ones you choose. + +## Server Ports + +Ports required to run the server + +| Port | default | +|---------|---------| +| Game | 27015 | +| Query | 27016 | +| Rcon | 27014 | \ No newline at end of file diff --git a/game_eggs/steamcmd_servers/reign_of_dwarf/ServerConfig.ini b/game_eggs/steamcmd_servers/reign_of_dwarf/ServerConfig.ini new file mode 100644 index 00000000..3fa2eb6d --- /dev/null +++ b/game_eggs/steamcmd_servers/reign_of_dwarf/ServerConfig.ini @@ -0,0 +1,71 @@ + +[BaseData] +ServerName=Default Server Name +UsePassword=0 +Password= +MaxPlayers=60 +NormalQueueSize=100 +VIPBuffer=10 +RconPort=27014 +RconPassword=password +MapSeed=984759074 +MapSize=1000 +StoreTransactionReports=Inactive +EACLogLevel=Off + +[MetaData] +ServerDescription=Default server description. +EnableDiscordButton=1 +DiscordUrl=https://discord.gg/reignofdwarf + +[NetworkData] +ServerIp=0 +GamePort=27015 +QueryPort=27016 + +[GameData] +IsModded=0 +FallDamageModifier=1 +EnableDecay=1 +DecayModifier=1 +LootBagDespawnTime=1800 +PickupBagDespawnTime=300 +DurabilityModifier=1 +DurabilityLossModifier=1 + +[PlayerData] +PlayerDamageModifier=1 +PlayerMaxHealth=100 +PlayerMaxStamina=100 +PlayerStaminaRegenModifier=1 +HungerLossModifier=1 +ThirstLossModifier=1 +CraftingTimeModifier=1 +PlayerBodyDespawnTime=300 + +[ResourceData] +HarvestModifier=1 +EnableGlobalRespawnRate=0 +GlobalRespawnModifier=1 +TreeRespawnTimeModifier=1 +StoneNodeRespawnTimeModifier=1 +MetalNodeRespawnTimeModifier=1 +SulfurNodeRespawnTimeModifier=1 +MithrilNodeRespawnTimeModifier=1 +PlantRespawnTimeModifier=1 + +[AIEntityData] +AIEntityDamageModifier=1 +AIEntityHealthModifier=1 +AIEntityBodyDespawnTime=300 +AIEntityRespawnTimeModifier=1 + +[TimedPvPRaidData] +EnableTimedPvPRaid=1 +EnablePvP=1 +PvPStartEnd=00:00:00-23:59:59 +EnableRaid=1 +ServerTimeOffset=1 +RaidProtectionLengthModifier=6 +RaidTributePriceModifier=100 +RaidStartEnd=00:00:00-23:59:59 diff --git a/game_eggs/steamcmd_servers/reign_of_dwarf/egg-reign-of-dwarf.json b/game_eggs/steamcmd_servers/reign_of_dwarf/egg-reign-of-dwarf.json new file mode 100644 index 00000000..4b9467b6 --- /dev/null +++ b/game_eggs/steamcmd_servers/reign_of_dwarf/egg-reign-of-dwarf.json @@ -0,0 +1,162 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v2", + "update_url": null + }, + "exported_at": "2023-12-19T16:02:15+01:00", + "name": "Reign Of Dwarf", + "author": "josdekurk@gmail.com", + "description": "Survive, farm, and conquer, that's the philosophy of Reign of Dwarf. We provide you the tools, you choose how to use them. Go to war, make alliances, or hide away from the world, the only morals will be the ones you choose.", + "features": null, + "docker_images": { + "ghcr.io\/parkervcp\/yolks:wine_latest": "ghcr.io\/parkervcp\/yolks:wine_latest" + }, + "file_denylist": [], + "startup": "wine Server.exe", + "config": { + "files": "{\r\n \"ServerConfig\/ServerConfig.ini\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"BaseData.ServerName\": \"{{server.build.env.SERVER_NAME}}\",\r\n \"BaseData.UsePassword\": \"{{server.build.env.PASSWORD_ENABLE}}\",\r\n \"BaseData.Password\": \"{{server.build.env.PASSWORD}}\",\r\n \"BaseData.MaxPlayers\": \"{{server.build.env.MAX_PLAYERS}}\",\r\n \"BaseData.RconPort\": \"{{server.build.env.RCON_PORT}}\",\r\n \"BaseData.RconPassword\": \"{{server.build.env.RCON_PASSWORD}}\",\r\n \"MetaData.ServerDescription\": \"{{server.build.env.SERVER_DECS}}\",\r\n \"NetworkData.ServerIp\": \"0.0.0.0\",\r\n \"NetworkData.GamePort\": \"{{server.build.default.port}}\",\r\n \"NetworkData.QueryPort\": \"{{server.build.env.QUERY_PORT}}\"\r\n }\r\n }\r\n}", + "startup": "{\r\n \"done\": \"Server starting at\"\r\n}", + "logs": "{}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ghcr.io\/parkervcp\/installers:debian'\r\n\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\nmkdir -p \/mnt\/server\/ServerConfig\r\ncd \/mnt\/server\/ServerConfig\r\ncurl -sSL -o ServerConfig.ini https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/reign_of_dwarf\/ServerConfig.ini\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", + "container": "ghcr.io\/parkervcp\/installers:debian", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "App ID", + "description": "", + "env_variable": "SRCDS_APPID", + "default_value": "1999160", + "user_viewable": false, + "user_editable": false, + "rules": "required|string|in:1999160", + "field_type": "text" + }, + { + "name": "Auto Update", + "description": "Auto Update on restart", + "env_variable": "AUTO_UPDATE", + "default_value": "1", + "user_viewable": true, + "user_editable": true, + "rules": "required|boolean", + "field_type": "text" + }, + { + "name": "WINDOWS_INSTALL", + "description": "", + "env_variable": "WINDOWS_INSTALL", + "default_value": "1", + "user_viewable": false, + "user_editable": false, + "rules": "required|string|in:1", + "field_type": "text" + }, + { + "name": "[SYSTEM] WINEDEBUG", + "description": "", + "env_variable": "WINEDEBUG", + "default_value": "-all", + "user_viewable": false, + "user_editable": false, + "rules": "required|string|max:20", + "field_type": "text" + }, + { + "name": "WINETRICKS_RUN", + "description": "", + "env_variable": "WINETRICKS_RUN", + "default_value": "mono", + "user_viewable": false, + "user_editable": false, + "rules": "required|string|", + "field_type": "text" + }, + { + "name": "Server Name", + "description": "", + "env_variable": "SERVER_NAME", + "default_value": "Default Server Name", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:64", + "field_type": "text" + }, + { + "name": "Password", + "description": "", + "env_variable": "PASSWORD", + "default_value": "", + "user_viewable": true, + "user_editable": true, + "rules": "nullable|string|max:32", + "field_type": "text" + }, + { + "name": "Rcon Port", + "description": "", + "env_variable": "RCON_PORT", + "default_value": "27014", + "user_viewable": true, + "user_editable": false, + "rules": "required|int", + "field_type": "text" + }, + { + "name": "Rcon Password", + "description": "", + "env_variable": "RCON_PASSWORD", + "default_value": "", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:64|min:8", + "field_type": "text" + }, + { + "name": "Server Description", + "description": "", + "env_variable": "SERVER_DECS", + "default_value": "Default server description.", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:64", + "field_type": "text" + }, + { + "name": "Query Port", + "description": "", + "env_variable": "QUERY_PORT", + "default_value": "27016", + "user_viewable": true, + "user_editable": false, + "rules": "required|int", + "field_type": "text" + }, + { + "name": "Use Password", + "description": "Enable Password join", + "env_variable": "PASSWORD_ENABLE", + "default_value": "0", + "user_viewable": true, + "user_editable": true, + "rules": "required|boolean", + "field_type": "text" + }, + { + "name": "Max Players", + "description": "", + "env_variable": "MAX_PLAYERS", + "default_value": "60", + "user_viewable": true, + "user_editable": false, + "rules": "required|int|", + "field_type": "text" + } + ] +} \ No newline at end of file