[V Rising (Vanilla)] 1.0 Release Update (#11)
* [V Rising (Vanilla)] 1.0 Release Update - Updated startup command to include the `-gamePort` parameter to accommodate the switch to Server Host Settings configuration via environment variables only. - Updated startup flag string to be more accurate. - Updated stop command to stop server gracefully. - Updated the install script to no longer require `dos2unix` or `ServerHostSettings.json` creation/parsing (all env. vars. now; as stated above). - Updated all Startup Variables: - All changes made were to align the variables with the officially communicated [Server Host Settings](https://github.com/StunlockStudios/vrising-dedicated-server-instructions/blob/master/1.0.x/INSTRUCTIONS.md#server-host-settings). - Any added variables are new to 1.0. - Any removed variables are not listed in the above link, but may still be manually set by hand. - Any edited variables were done so to either facilitate the switch to env-var-based Host Settings, or align their descriptions/rules to be up to date with the link above. - Updated my author email. - Updated README with more accurate links and better descriptions.
This commit is contained in:
		
							parent
							
								
									89bd0c8070
								
							
						
					
					
						commit
						a26fa81a29
					
				| @ -1,8 +1,5 @@ | |||||||
| # V Rising | # V Rising | ||||||
| 
 | 
 | ||||||
| ***NOTE: Server version currently marked as Early Access by the V Rising developers. Your mileage may vary as updates are released.*** |  | ||||||
| ___ |  | ||||||
| 
 |  | ||||||
| ### Authors / Contributors | ### Authors / Contributors | ||||||
| 
 | 
 | ||||||
| <!-- prettier-ignore-start --> | <!-- prettier-ignore-start --> | ||||||
| @ -41,10 +38,11 @@ ___ | |||||||
| 
 | 
 | ||||||
| ### Egg Capabilities | ### Egg Capabilities | ||||||
| 
 | 
 | ||||||
| - Currently runs the Windows build of the server via Wine. This egg will be updated when a proper, native Linux server binary is released. | - Currently runs the Windows build of the server via Wine. This egg will be updated once a proper, native Linux server binary is released. | ||||||
| - Configurable to automatically check for server updates on start via SteamCMD. Forcing validation is also configurable. | - Configurable to automatically check for server updates on start via SteamCMD. Forcing validation is also configurable. | ||||||
| - All `ServerHostSettings.json` settings can be automatically configured via Startup variables. | - All [formally recognized](https://github.com/StunlockStudios/vrising-dedicated-server-instructions/blob/master/1.0.x/INSTRUCTIONS.md#server-host-settings) `ServerHostSettings.json` settings can be automatically configured via Startup variables. | ||||||
|   - This includes: Server name, game settings preset, password, max players, auto save settings, and more... |   - This includes: Server name, game settings preset, password, max players, auto save settings, and more... | ||||||
|  |   - This does not include some obscure settings (ie. Enable API, Disable Save File Compression, etc.), but these can still be modified with a custom `ServerHostSettings.json` file created in `~/save-data/Settings/`. | ||||||
| - RCON ready (\*requires extra port – see [Server Ports](#server-ports)). See the RCON section under [Manual Configuration Topics](#manual-configuration-topics) for more info. | - RCON ready (\*requires extra port – see [Server Ports](#server-ports)). See the RCON section under [Manual Configuration Topics](#manual-configuration-topics) for more info. | ||||||
| 
 | 
 | ||||||
| ___ | ___ | ||||||
| @ -89,14 +87,14 @@ Standardized game settings can be applied via the "Game Settings Preset" startup | |||||||
| 
 | 
 | ||||||
| #### Becoming an Administrator | #### Becoming an Administrator | ||||||
| 
 | 
 | ||||||
| To become an administrator in the game you will first need to open the `adminlist.txt` file under `~/VRisingServer_Data/StreamingAssets/Settings/` and add your [steamID64](https://steamid.io/) (one steamID64 per line). This can be done without restarting your server. To become an administrator in the game you need to enable the console in the options menu, bring it down with `` ` `` and authenticate using the `adminauth` console command. Once an administrator you can use a number of administrative commands like `banuser`, `bancharacter`, `banned`, `unban` and `kick`. | To become an administrator in the game you will first need to open the `adminlist.txt` file under `~/VRisingServer_Data/StreamingAssets/Settings/` and add your [steamID64](https://steamid.io/) (one steamID64 per line). This can be done without restarting your server. To become an administrator in the game you need to enable the console in the options menu, open it with `` ` `` and authenticate using the `adminauth` console command. Once an administrator you can use a number of administrative commands like `banuser`, `bancharacter`, `banned`, `unban` and `kick`. | ||||||
| 
 | 
 | ||||||
| If you ban users through the in-game console the server will automatically modify the `banlist.txt` file, but you can also modify this manually (one steamID64 per line). | If you ban users through the in-game console the server will automatically modify the `banlist.txt` file, but you can also modify this manually (one steamID64 per line). | ||||||
| 
 | 
 | ||||||
| #### Transfer Local/Client Save to the Server | #### Transfer Local/Client Save to the Server | ||||||
| 
 | 
 | ||||||
| [Follow these instructions by the developer very carefully](https://github.com/StunlockStudios/vrising-dedicated-server-instructions#transfer-localclient-save-to-a-dedicated-server). Note: The `-saveName <name>` command line parameter and `GameSettingsPreset` setting are handled automatically by the Egg's "Save Name" and "Game Settings Preset" startup parameters, respectively. Also, if a custom `ServerGameSettings.json` file exists for any reason in the `~/save-data/Settings` directory, delete it. | [Follow these instructions by the developer very carefully](https://github.com/StunlockStudios/vrising-dedicated-server-instructions/blob/master/1.0.x/INSTRUCTIONS.md#transfer-localclient-save-to-a-dedicated-server). Note: The `-saveName <name>` command line parameter and `GameSettingsPreset` setting are handled automatically by the Egg's "Save Name" and "Game Settings Preset" startup parameters, respectively. Also, if a custom `ServerGameSettings.json` file exists for any reason in the `~/save-data/Settings` directory, delete it. | ||||||
| 
 | 
 | ||||||
| #### RCON | #### RCON | ||||||
| 
 | 
 | ||||||
| RCON can allow general and restart announcements to be made to the server remotely (functions which are not currently supported by the console command line). You can enable RCON by properly configuring the relevant variables under the Startup tab of your Pterodactyl server. The RCON port must be allocated to the server. [Click here for list of valid commands and recommended RCON client](https://github.com/StunlockStudios/vrising-dedicated-server-instructions#rcon). | RCON can allow general and restart announcements to be made to the server remotely (functions which are not currently supported by the console command line). You can enable RCON by properly configuring the relevant variables under the Startup tab of your Pterodactyl server. The RCON port must be allocated to the server. [Click here for list of valid commands and recommended RCON client](https://github.com/StunlockStudios/vrising-dedicated-server-instructions/blob/master/1.0.x/INSTRUCTIONS.md#rcon-1). | ||||||
|  | |||||||
| @ -4,9 +4,9 @@ | |||||||
|         "version": "PTDL_v2", |         "version": "PTDL_v2", | ||||||
|         "update_url": null |         "update_url": null | ||||||
|     }, |     }, | ||||||
|     "exported_at": "2023-05-18T09:31:34+00:00", |     "exported_at": "2024-05-11T11:42:45-07:00", | ||||||
|     "name": "V Rising", |     "name": "V Rising", | ||||||
|     "author": "rehlmgaming@gmail.com", |     "author": "red_thirten@yahoo.com", | ||||||
|     "description": "Awaken as a vampire. Hunt for blood in nearby settlements to regain your strength and evade the scorching sun to survive. Raise your castle and thrive in an ever-changing open world full of mystery. Gain allies online and conquer the land of the living.", |     "description": "Awaken as a vampire. Hunt for blood in nearby settlements to regain your strength and evade the scorching sun to survive. Raise your castle and thrive in an ever-changing open world full of mystery. Gain allies online and conquer the land of the living.", | ||||||
|     "features": [ |     "features": [ | ||||||
|         "steam_disk_space" |         "steam_disk_space" | ||||||
| @ -15,29 +15,39 @@ | |||||||
|         "ghcr.io\/parkervcp\/yolks:wine_staging": "ghcr.io\/parkervcp\/yolks:wine_staging" |         "ghcr.io\/parkervcp\/yolks:wine_staging": "ghcr.io\/parkervcp\/yolks:wine_staging" | ||||||
|     }, |     }, | ||||||
|     "file_denylist": [], |     "file_denylist": [], | ||||||
|     "startup": "wine .\/VRisingServer.exe -persistentDataPath save-data -address 0.0.0.0", |     "startup": "wine .\/VRisingServer.exe -address 0.0.0.0 -gamePort {{SERVER_PORT}} -persistentDataPath save-data", | ||||||
|     "config": { |     "config": { | ||||||
|         "files": "{\r\n    \"save-data\/Settings\/ServerHostSettings.json\": {\r\n        \"parser\": \"json\",\r\n        \"find\": {\r\n            \"Name\": \"{{server.build.env.SERVER_NAME}}\",\r\n            \"Description\": \"{{server.build.env.DESCRIPTION}}\",\r\n            \"Port\": \"{{server.build.default.port}}\",\r\n            \"QueryPort\": \"{{server.build.env.QUERY_PORT}}\",\r\n            \"MaxConnectedUsers\": \"{{server.build.env.MAX_PLAYERS}}\",\r\n            \"MaxConnectedAdmins\": \"{{server.build.env.MAX_ADMINS}}\",\r\n            \"ServerFps\": \"{{server.build.env.FPS}}\",\r\n            \"SaveName\": \"{{server.build.env.SAVE_NAME}}\",\r\n            \"Password\": \"{{server.build.env.SERVER_PASSWORD}}\",\r\n            \"Secure\": \"{{server.build.env.SERVER_SECURE}}\",\r\n            \"ListOnSteam\": \"{{server.build.env.LIST_STEAM}}\",\r\n            \"ListOnEOS\": \"{{server.build.env.LIST_EOS}}\",\r\n            \"AutoSaveCount\": \"{{server.build.env.SAVE_COUNT}}\",\r\n            \"AutoSaveInterval\": \"{{server.build.env.SAVE_INTERVAL}}\",\r\n            \"CompressSaveFiles\": \"{{server.build.env.COMPRESS_SAVES}}\",\r\n            \"GameSettingsPreset\": \"{{server.build.env.GAME_SETTINGS_PRESET}}\",\r\n            \"AdminOnlyDebugEvents\": \"{{server.build.env.ADMIN_ONLY_DEBUG_EVENTS}}\",\r\n            \"DisableDebugEvents\": \"{{server.build.env.DEBUG_EVENTS}}\",\r\n            \"API.Enabled\": \"{{server.build.env.ENABLE_API}}\",\r\n            \"Rcon.Enabled\": \"{{server.build.env.RCON}}\",\r\n            \"Rcon.Password\": \"{{server.build.env.RCON_PASS}}\",\r\n            \"Rcon.Port\": \"{{server.build.env.RCON_PORT}}\"\r\n        }\r\n    }\r\n}", |         "files": "{}", | ||||||
|         "startup": "{\r\n    \"done\": \"Loaded ServerGameSettings\"\r\n}", |         "startup": "{\r\n    \"done\": \"[Server] Startup Completed\"\r\n}", | ||||||
|         "logs": "{}", |         "logs": "{}", | ||||||
|         "stop": "^^C" |         "stop": "^C" | ||||||
|     }, |     }, | ||||||
|     "scripts": { |     "scripts": { | ||||||
|         "installation": { |         "installation": { | ||||||
|             "script": "#!\/bin\/bash\r\n\r\n## File: Pterodactyl V Rising Egg - egg-v-rising.json\r\n## Authors: David Wolfe (Red-Thirten), Kapatheus\r\n## Date: 2023\/05\/18\r\n## License: MIT License\r\n## Image to install with is 'ghcr.io\/pterodactyl\/installers:debian'\r\n\r\n# Install required packages.\r\napt -y update && apt -y --no-install-recommends install dos2unix\r\n\r\n# Download and install SteamCMD\r\nexport HOME=\/mnt\/server\r\ncd \/tmp\r\nmkdir -p $HOME\/steamcmd $HOME\/steamapps\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 $HOME\/steamcmd\r\ncd $HOME\/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\n\r\n# Install game server using SteamCMD\r\n.\/steamcmd.sh +force_install_dir $HOME +login anonymous $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} +quit\r\n\r\n# Set up 32 and 64 bit libraries\r\nmkdir -p $HOME\/.steam\/sdk{32,64}\r\ncp -v linux32\/steamclient.so $HOME\/.steam\/sdk32\/steamclient.so\r\ncp -v linux64\/steamclient.so $HOME\/.steam\/sdk64\/steamclient.so\r\n\r\n## V Rising Setup\r\nmkdir -p $HOME\/save-data\/Settings\r\n# Check for successful installation.\r\ncd $HOME\/VRisingServer_Data\/StreamingAssets\/Settings\r\nif [[ -f ServerHostSettings.json ]]; then\r\n    # Copies default ServerHostSettings file to save-data directory.\r\n    # Also converts the contents to use Unix newlines so Ptero's JSON parser does not fail.\r\n    dos2unix -n ServerHostSettings.json $HOME\/save-data\/Settings\/ServerHostSettings.json\r\nelse\r\n    echo -e \"\\n\\nSteamCMD failed to install the V Rising Dedicated Server!\"\r\n    echo -e \"\\tTry reinstalling the server again.\\n\"\r\n    exit 1\r\nfi\r\n\r\necho -e \"\\nV Rising Dedicated Server successfully installed!\\n\"", |             "script": "#!\/bin\/bash\r\n\r\n## File: V Rising Egg - egg-v-rising.json\r\n## Authors: David Wolfe (Red-Thirten), Kapatheus\r\n## Date: 2024\/05\/09\r\n## License: MIT License\r\n## Image to install with is 'ghcr.io\/parkervcp\/installers:debian'\r\n\r\n# Download and install SteamCMD\r\nexport HOME=\/mnt\/server\r\ncd \/tmp\r\nmkdir -p $HOME\/steamcmd $HOME\/steamapps\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 $HOME\/steamcmd\r\ncd $HOME\/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\n\r\n# Install\/Verify game server using SteamCMD\r\n.\/steamcmd.sh +force_install_dir $HOME +login anonymous $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} validate +quit\r\n\r\n# Set up 32 and 64 bit libraries\r\nmkdir -p $HOME\/.steam\/sdk{32,64}\r\ncp -v linux32\/steamclient.so $HOME\/.steam\/sdk32\/steamclient.so\r\ncp -v linux64\/steamclient.so $HOME\/.steam\/sdk64\/steamclient.so\r\n\r\n## V Rising Setup\r\nmkdir -p $HOME\/save-data\/Settings\r\n# Check for successful installation.\r\ncd $HOME\/VRisingServer_Data\/StreamingAssets\/Settings\r\nif [[ -f ServerHostSettings.json ]]; then\r\n    echo -e \"\\nV Rising Dedicated Server successfully installed!\\n\"\r\nelse\r\n    echo -e \"\\n\\nSteamCMD failed to install the V Rising Dedicated Server!\"\r\n    echo -e \"\\tTry reinstalling the server again.\\n\"\r\n    exit 1\r\nfi", | ||||||
|             "container": "ghcr.io\/parkervcp\/installers:debian", |             "container": "ghcr.io\/parkervcp\/installers:debian", | ||||||
|             "entrypoint": "\/bin\/bash" |             "entrypoint": "\/bin\/bash" | ||||||
|         } |         } | ||||||
|     }, |     }, | ||||||
|     "variables": [ |     "variables": [ | ||||||
|         { |         { | ||||||
|             "name": "[REQUIRED] Server Query Port", |             "name": "[Host] Server Query Port", | ||||||
|             "description": "UDP port for Steam server list features.", |             "description": "UDP port for Steam server list features.", | ||||||
|             "env_variable": "QUERY_PORT", |             "env_variable": "VR_QUERY_PORT", | ||||||
|             "default_value": "9877", |             "default_value": "9877", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": false, |             "user_editable": false, | ||||||
|             "rules": "required|integer|between:1024,65536", |             "rules": "nullable|integer|between:1024,65536", | ||||||
|  |             "field_type": "text" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "[Host] Hide IP Address", | ||||||
|  |             "description": "When listing server on EOS server list, the IP address will not be shown\/advertised. Players will connect via relay servers.", | ||||||
|  |             "env_variable": "VR_HIDEIPADDRESS", | ||||||
|  |             "default_value": "false", | ||||||
|  |             "user_viewable": false, | ||||||
|  |             "user_editable": false, | ||||||
|  |             "rules": "required|string|in:true,false", | ||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
| @ -53,17 +63,27 @@ | |||||||
|         { |         { | ||||||
|             "name": "Game Settings Preset", |             "name": "Game Settings Preset", | ||||||
|             "description": "What preset of game settings the server should run. Some settings may not apply after the save file is first created. Leave empty\/null if you are using a single-player uploaded save or a custom ServerGameSettings.json file in the `~\/save-data\/Settings\/` directory.", |             "description": "What preset of game settings the server should run. Some settings may not apply after the save file is first created. Leave empty\/null if you are using a single-player uploaded save or a custom ServerGameSettings.json file in the `~\/save-data\/Settings\/` directory.", | ||||||
|             "env_variable": "GAME_SETTINGS_PRESET", |             "env_variable": "VR_PRESET", | ||||||
|             "default_value": "", |             "default_value": "", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
|             "rules": "nullable|string|in:,DuoPvP,HardcorePvP,Level30PvE,Level30PvP,Level50PvE,Level50PvP,Level70PvE,Level70PvP,SoloPvP,StandardPvE_Easy,StandardPvE_Hard,StandardPvE,StandardPvP_Easy,StandardPvP_Hard,StandardPVP", |             "rules": "nullable|string|in:,DuoPvP,DuoPvP_DailySiege,DuoPvP_NoSiege,DuoPvP_WeekendSiege,HardcoreDuoPvP,HardcorePvP,HardcoreTrioPvP,Level30PvE,Level30PvP,Level40PvE,Level40PvP,Level50PvE,Level50PvP,Level60PvE,Level60PvP,Level70PvE,Level70PvP,Level80PvE,Level80PvP,Level90PvE,Level90PvP,SoloPvP,StandardPvE,StandardPvP,StandardPvP_DailySiege,StandardPvP_NoSiege,StandardPvP_WeekendSiege,TrioPvP,TrioPvP_DailySiege,TrioPvP_NoSiege,TrioPvP_WeekendSiege", | ||||||
|  |             "field_type": "text" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "Game Difficulty Preset", | ||||||
|  |             "description": "What preset of game difficulty the server should run. Some settings may not apply after the save file is first created. Leave empty\/null if you are using a single-player uploaded save or a custom ServerGameSettings.json file in the `~\/save-data\/Settings\/` directory.", | ||||||
|  |             "env_variable": "VR_DIFFICULTY_PRESET", | ||||||
|  |             "default_value": "Difficulty_Normal", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "nullable|string|in:,Difficulty_Easy,Difficulty_Normal,Difficulty_Brutal", | ||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "Server Name", |             "name": "Server Name", | ||||||
|             "description": "Name of the server that will appear in the server list.", |             "description": "Name of the server. The name that shows up in server list.", | ||||||
|             "env_variable": "SERVER_NAME", |             "env_variable": "VR_NAME", | ||||||
|             "default_value": "V Rising Dedicated Server", |             "default_value": "V Rising Dedicated Server", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
| @ -72,8 +92,8 @@ | |||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "Server Description", |             "name": "Server Description", | ||||||
|             "description": "Short description of server purpose, rules, and the message of the day.", |             "description": "Short server description. Shows up in details panel of server list when entry is selected. Also printed in chat when connecting to server.", | ||||||
|             "env_variable": "DESCRIPTION", |             "env_variable": "VR_DESCRIPTION", | ||||||
|             "default_value": "Welcome to the server!", |             "default_value": "Welcome to the server!", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
| @ -82,18 +102,18 @@ | |||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "Max Connected Users", |             "name": "Max Connected Users", | ||||||
|             "description": "Max number of concurrent players on the server.", |             "description": "Max number of concurrent players on server. The maximum number technically supported is 128.", | ||||||
|             "env_variable": "MAX_PLAYERS", |             "env_variable": "VR_MAX_USERS", | ||||||
|             "default_value": "40", |             "default_value": "40", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
|             "rules": "required|integer|min:1", |             "rules": "required|integer|min:1|max:128", | ||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "Max Connected Admins", |             "name": "Max Connected Admins", | ||||||
|             "description": "Max number of admins to allow connection even when the server is full.", |             "description": "Max number of admins to allow connection even when the server is full.", | ||||||
|             "env_variable": "MAX_ADMINS", |             "env_variable": "VR_MAX_ADMINS", | ||||||
|             "default_value": "4", |             "default_value": "4", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
| @ -103,17 +123,27 @@ | |||||||
|         { |         { | ||||||
|             "name": "Server Password", |             "name": "Server Password", | ||||||
|             "description": "Password required to join the server. Leave blank to have no password.", |             "description": "Password required to join the server. Leave blank to have no password.", | ||||||
|             "env_variable": "SERVER_PASSWORD", |             "env_variable": "VR_PASSWORD", | ||||||
|             "default_value": "", |             "default_value": "", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
|             "rules": "nullable|string", |             "rules": "nullable|string", | ||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|  |         { | ||||||
|  |             "name": "Secure Server", | ||||||
|  |             "description": "Enable VAC protection on server. VAC banned clients will not be able to connect. (true | false)", | ||||||
|  |             "env_variable": "VR_SECURE", | ||||||
|  |             "default_value": "true", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "required|string|in:true,false", | ||||||
|  |             "field_type": "text" | ||||||
|  |         }, | ||||||
|         { |         { | ||||||
|             "name": "Save Name", |             "name": "Save Name", | ||||||
|             "description": "Name of save file \/ directory.", |             "description": "Name of save file \/ directory.", | ||||||
|             "env_variable": "SAVE_NAME", |             "env_variable": "VR_SAVE_NAME", | ||||||
|             "default_value": "world1", |             "default_value": "world1", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
| @ -123,8 +153,8 @@ | |||||||
|         { |         { | ||||||
|             "name": "Auto Save Count", |             "name": "Auto Save Count", | ||||||
|             "description": "Number of autosaves to keep.", |             "description": "Number of autosaves to keep.", | ||||||
|             "env_variable": "SAVE_COUNT", |             "env_variable": "VR_SAVE_COUNT", | ||||||
|             "default_value": "50", |             "default_value": "20", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
|             "rules": "required|integer|min:0", |             "rules": "required|integer|min:0", | ||||||
| @ -133,47 +163,17 @@ | |||||||
|         { |         { | ||||||
|             "name": "Auto Save Interval", |             "name": "Auto Save Interval", | ||||||
|             "description": "Interval in seconds between each autosave.", |             "description": "Interval in seconds between each autosave.", | ||||||
|             "env_variable": "SAVE_INTERVAL", |             "env_variable": "VR_SAVE_INTERVAL", | ||||||
|             "default_value": "600", |             "default_value": "120", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
|             "rules": "required|integer|min:1", |             "rules": "required|integer|min:1", | ||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |  | ||||||
|             "name": "List On Steam", |  | ||||||
|             "description": "Set to true to list on the Steam server list, else set to false.", |  | ||||||
|             "env_variable": "LIST_STEAM", |  | ||||||
|             "default_value": "true", |  | ||||||
|             "user_viewable": true, |  | ||||||
|             "user_editable": true, |  | ||||||
|             "rules": "required|string|in:true,false", |  | ||||||
|             "field_type": "text" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|             "name": "List On Epic", |  | ||||||
|             "description": "Set to true to list on the Epic Online Services server list, else set to false.", |  | ||||||
|             "env_variable": "LIST_EOS", |  | ||||||
|             "default_value": "true", |  | ||||||
|             "user_viewable": true, |  | ||||||
|             "user_editable": true, |  | ||||||
|             "rules": "required|string|in:true,false", |  | ||||||
|             "field_type": "text" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|             "name": "[Repair] Validate Server Files", |  | ||||||
|             "description": "Leave empty (no value) for OFF or type \"true\" or \"1\" for ON. Validates all server files when Automatic Updates is enabled. Note: This will significantly increase server startup times, so it is recommended to only enable this when needed.", |  | ||||||
|             "env_variable": "VALIDATE", |  | ||||||
|             "default_value": "", |  | ||||||
|             "user_viewable": true, |  | ||||||
|             "user_editable": true, |  | ||||||
|             "rules": "string|nullable", |  | ||||||
|             "field_type": "text" |  | ||||||
|         }, |  | ||||||
|         { |         { | ||||||
|             "name": "[Advanced] Server FPS", |             "name": "[Advanced] Server FPS", | ||||||
|             "description": "How often the server refreshes. (Default: 30)", |             "description": "Target FPS for server.", | ||||||
|             "env_variable": "FPS", |             "env_variable": "VR_FPS", | ||||||
|             "default_value": "30", |             "default_value": "30", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
| @ -181,9 +181,29 @@ | |||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[Advanced] Compress Save Files", |             "name": "[Advanced] Lower FPS When Empty", | ||||||
|             "description": "Set to true to compress world save files, else set to false.", |             "description": "Run the server at a lower framerate target when no players are logged in. (true | false)", | ||||||
|             "env_variable": "COMPRESS_SAVES", |             "env_variable": "VR_LOWER_FPS_WHEN_EMPTY", | ||||||
|  |             "default_value": "false", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "required|string|in:true,false", | ||||||
|  |             "field_type": "text" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "[Advanced] Lower FPS When Empty Value", | ||||||
|  |             "description": "Set the framerate target for when \"[Advanced] Lower FPS When Empty\" is active.", | ||||||
|  |             "env_variable": "VR_LOWER_FPS_WHEN_EMPTY_VALUE", | ||||||
|  |             "default_value": "10", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "required|integer|min:1", | ||||||
|  |             "field_type": "text" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "[Advanced] List On Epic", | ||||||
|  |             "description": "Register on EOS list server or not. The client looks for servers here by default, due to additional features available. (true | false)", | ||||||
|  |             "env_variable": "VR_LIST_ON_EOS", | ||||||
|             "default_value": "true", |             "default_value": "true", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
| @ -191,9 +211,19 @@ | |||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[Advanced] Enable API", |             "name": "[Advanced] List On Steam", | ||||||
|             "description": "Set to true to allow responses to public API requests to the server, else set to false.", |             "description": "Register on Steam list server or not. (true | false)", | ||||||
|             "env_variable": "ENABLE_API", |             "env_variable": "VR_LIST_ON_STEAM", | ||||||
|  |             "default_value": "true", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "required|string|in:true,false", | ||||||
|  |             "field_type": "text" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "[RCON] Enable RCON", | ||||||
|  |             "description": "Enable or disable RCON functionality. (true | false) See the following link for info on how to connect and use RCON: https:\/\/github.com\/StunlockStudios\/vrising-dedicated-server-instructions\/blob\/master\/1.0.x\/INSTRUCTIONS.md#rcon-1", | ||||||
|  |             "env_variable": "VR_RCON_ENABLED", | ||||||
|             "default_value": "false", |             "default_value": "false", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
| @ -201,19 +231,9 @@ | |||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[Advanced] Enable RCON", |             "name": "[RCON] RCON Password", | ||||||
|             "description": "See the following link for info on how to connect and use RCON: https:\/\/github.com\/StunlockStudios\/vrising-dedicated-server-instructions#rcon", |  | ||||||
|             "env_variable": "RCON", |  | ||||||
|             "default_value": "false", |  | ||||||
|             "user_viewable": true, |  | ||||||
|             "user_editable": true, |  | ||||||
|             "rules": "required|string|in:true,false", |  | ||||||
|             "field_type": "text" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|             "name": "[Advanced] RCON Password", |  | ||||||
|             "description": "Password required to connect to RCON if it is enabled.", |             "description": "Password required to connect to RCON if it is enabled.", | ||||||
|             "env_variable": "RCON_PASS", |             "env_variable": "VR_RCON_PASSWORD", | ||||||
|             "default_value": "somepassword", |             "default_value": "somepassword", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
| @ -221,9 +241,9 @@ | |||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[Advanced] RCON Port", |             "name": "[RCON] RCON Port", | ||||||
|             "description": "Port used to connect to RCON. Must be allocated to the server for RCON to work.", |             "description": "TCP Port used to connect to RCON. Must be allocated to the server for RCON to work.", | ||||||
|             "env_variable": "RCON_PORT", |             "env_variable": "VR_RCON_PORT", | ||||||
|             "default_value": "25575", |             "default_value": "25575", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": false, |             "user_editable": false, | ||||||
| @ -231,47 +251,27 @@ | |||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[Advanced] Secure Server", |             "name": "[Repair] Validate Server Files", | ||||||
|             "description": "(true or false)", |             "description": "Leave empty (no value) for OFF or set to \"true\" for ON. Validates all server files when Automatic Updates is enabled. Note: This will significantly increase server startup times, so it is recommended to only enable this when needed.", | ||||||
|             "env_variable": "SERVER_SECURE", |             "env_variable": "VALIDATE", | ||||||
|             "default_value": "true", |             "default_value": "", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
|             "rules": "required|string|in:true,false", |             "rules": "string|nullable|in:,true", | ||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[Advanced] Admin Only Debug Events", |             "name": "[System] V Rising Dedicated Server App ID", | ||||||
|             "description": "(true or false)", |  | ||||||
|             "env_variable": "ADMIN_ONLY_DEBUG_EVENTS", |  | ||||||
|             "default_value": "true", |  | ||||||
|             "user_viewable": true, |  | ||||||
|             "user_editable": true, |  | ||||||
|             "rules": "required|string|in:true,false", |  | ||||||
|             "field_type": "text" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|             "name": "[Advanced] Disable Debug Events", |  | ||||||
|             "description": "(true or false)", |  | ||||||
|             "env_variable": "DEBUG_EVENTS", |  | ||||||
|             "default_value": "false", |  | ||||||
|             "user_viewable": true, |  | ||||||
|             "user_editable": true, |  | ||||||
|             "rules": "required|string|in:true,false", |  | ||||||
|             "field_type": "text" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|             "name": "[Advanced] V Rising Dedicated Server App ID", |  | ||||||
|             "description": "Used for installation and updates. Rarely needs to be changed.", |             "description": "Used for installation and updates. Rarely needs to be changed.", | ||||||
|             "env_variable": "SRCDS_APPID", |             "env_variable": "SRCDS_APPID", | ||||||
|             "default_value": "1829350", |             "default_value": "1829350", | ||||||
|             "user_viewable": false, |             "user_viewable": false, | ||||||
|             "user_editable": false, |             "user_editable": false, | ||||||
|             "rules": "required|integer", |             "rules": "required|integer|in:1829350", | ||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[Advanced] Use Windows Branch", |             "name": "[System] Use Windows Branch", | ||||||
|             "description": "Tells the installer\/updater to only download the Windows branch of the server (the only branch currently available) so that it can run on Wine. Cannot be changed.", |             "description": "Tells the installer\/updater to only download the Windows branch of the server (the only branch currently available) so that it can run on Wine. Cannot be changed.", | ||||||
|             "env_variable": "WINDOWS_INSTALL", |             "env_variable": "WINDOWS_INSTALL", | ||||||
|             "default_value": "1", |             "default_value": "1", | ||||||
| @ -281,17 +281,17 @@ | |||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[SYSTEM] WINEDEBUG", |             "name": "[System] WINEDEBUG", | ||||||
|             "description": "Used to suppress WINE FIXME messages. Rarely needs to be changed.", |             "description": "Used to suppress WINE FIXME messages. Rarely needs to be changed.", | ||||||
|             "env_variable": "WINEDEBUG", |             "env_variable": "WINEDEBUG", | ||||||
|             "default_value": "-all", |             "default_value": "-all", | ||||||
|             "user_viewable": false, |             "user_viewable": false, | ||||||
|             "user_editable": false, |             "user_editable": false, | ||||||
|             "rules": "required|string", |             "rules": "string|nullable", | ||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[SYSTEM] WINEARCH", |             "name": "[System] WINEARCH", | ||||||
|             "description": "Used for compatibility. Cannot be changed.", |             "description": "Used for compatibility. Cannot be changed.", | ||||||
|             "env_variable": "WINEARCH", |             "env_variable": "WINEARCH", | ||||||
|             "default_value": "win64", |             "default_value": "win64", | ||||||
| @ -301,7 +301,7 @@ | |||||||
|             "field_type": "text" |             "field_type": "text" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "[SYSTEM] WINEPATH", |             "name": "[System] WINEPATH", | ||||||
|             "description": "Used for compatibility. Cannot be changed.", |             "description": "Used for compatibility. Cannot be changed.", | ||||||
|             "env_variable": "WINEPATH", |             "env_variable": "WINEPATH", | ||||||
|             "default_value": "\/home\/container", |             "default_value": "\/home\/container", | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user