Path: blob/1.0-develop/database/Seeders/eggs/rust/egg-rust.json
7460 views
{1"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",2"meta": {3"version": "PTDL_v2",4"update_url": null5},6"exported_at": "2023-03-25T13:37:00+00:00",7"name": "Rust",8"author": "[email protected]",9"description": "The only aim in Rust is to survive. To do this you will need to overcome struggles such as hunger, thirst and cold. Build a fire. Build a shelter. Kill animals for meat. Protect yourself from other players, and kill them for meat. Create alliances with other players and form a town. Do whatever it takes to survive.",10"features": [11"steam_disk_space"12],13"docker_images": {14"ghcr.io\/pterodactyl\/games:rust": "ghcr.io\/pterodactyl\/games:rust"15},16"file_denylist": [],17"startup": ".\/RustDedicated -batchmode +server.port {{SERVER_PORT}} +server.queryport {{QUERY_PORT}} +server.identity \"rust\" +rcon.port {{RCON_PORT}} +rcon.web true +server.hostname \\\"{{HOSTNAME}}\\\" +server.level \\\"{{LEVEL}}\\\" +server.description \\\"{{DESCRIPTION}}\\\" +server.url \\\"{{SERVER_URL}}\\\" +server.headerimage \\\"{{SERVER_IMG}}\\\" +server.logoimage \\\"{{SERVER_LOGO}}\\\" +server.maxplayers {{MAX_PLAYERS}} +rcon.password \\\"{{RCON_PASS}}\\\" +server.saveinterval {{SAVEINTERVAL}} +app.port {{APP_PORT}} $( [ -z ${MAP_URL} ] && printf %s \"+server.worldsize \\\"{{WORLD_SIZE}}\\\" +server.seed \\\"{{WORLD_SEED}}\\\"\" || printf %s \"+server.levelurl {{MAP_URL}}\" ) {{ADDITIONAL_ARGS}}",18"config": {19"files": "{}",20"startup": "{\r\n \"done\": \"Server startup complete\"\r\n}",21"logs": "{}",22"stop": "quit"23},24"scripts": {25"installation": {26"script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\nSRCDS_APPID=258550\r\n\r\n## just in case someone removed the defaults.\r\nif [ \"${STEAM_USER}\" == \"\" ]; 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} +app_update ${SRCDS_APPID} ${EXTRA_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",27"container": "ghcr.io\/pterodactyl\/installers:debian",28"entrypoint": "bash"29}30},31"variables": [32{33"name": "Server Name",34"description": "The name of your server in the public server list.",35"env_variable": "HOSTNAME",36"default_value": "A Rust Server",37"user_viewable": true,38"user_editable": true,39"rules": "required|string|max:60",40"field_type": "text"41},42{43"name": "Modding Framework",44"description": "The modding framework to be used: carbon, oxide, vanilla.\r\nDefaults to \"vanilla\" for a non-modded server installation.",45"env_variable": "FRAMEWORK",46"default_value": "vanilla",47"user_viewable": true,48"user_editable": true,49"rules": "required|in:vanilla,oxide,carbon",50"field_type": "text"51},52{53"name": "Level",54"description": "The world file for Rust to use.",55"env_variable": "LEVEL",56"default_value": "Procedural Map",57"user_viewable": true,58"user_editable": true,59"rules": "required|string|max:20",60"field_type": "text"61},62{63"name": "Description",64"description": "The description under your server title. Commonly used for rules & info. Use \\n for newlines.",65"env_variable": "DESCRIPTION",66"default_value": "Powered by Pterodactyl",67"user_viewable": true,68"user_editable": true,69"rules": "required|string",70"field_type": "text"71},72{73"name": "URL",74"description": "The URL for your server. This is what comes up when clicking the \"Visit Website\" button.",75"env_variable": "SERVER_URL",76"default_value": "http:\/\/pterodactyl.io",77"user_viewable": true,78"user_editable": true,79"rules": "nullable|url",80"field_type": "text"81},82{83"name": "World Size",84"description": "The world size for a procedural map.",85"env_variable": "WORLD_SIZE",86"default_value": "3000",87"user_viewable": true,88"user_editable": true,89"rules": "required|integer",90"field_type": "text"91},92{93"name": "World Seed",94"description": "The seed for a procedural map.",95"env_variable": "WORLD_SEED",96"default_value": "",97"user_viewable": true,98"user_editable": true,99"rules": "nullable|string",100"field_type": "text"101},102{103"name": "Max Players",104"description": "The maximum amount of players allowed in the server at once.",105"env_variable": "MAX_PLAYERS",106"default_value": "40",107"user_viewable": true,108"user_editable": true,109"rules": "required|integer",110"field_type": "text"111},112{113"name": "Server Image",114"description": "The header image for the top of your server listing.",115"env_variable": "SERVER_IMG",116"default_value": "",117"user_viewable": true,118"user_editable": true,119"rules": "nullable|url",120"field_type": "text"121},122{123"name": "Query Port",124"description": "Server Query Port. Can't be the same as Game's primary port.",125"env_variable": "QUERY_PORT",126"default_value": "27017",127"user_viewable": true,128"user_editable": false,129"rules": "required|integer",130"field_type": "text"131},132{133"name": "RCON Port",134"description": "Port for RCON connections.",135"env_variable": "RCON_PORT",136"default_value": "28016",137"user_viewable": true,138"user_editable": false,139"rules": "required|integer",140"field_type": "text"141},142{143"name": "RCON Password",144"description": "RCON access password.",145"env_variable": "RCON_PASS",146"default_value": "",147"user_viewable": true,148"user_editable": true,149"rules": "required|regex:\/^[\\w.-]*$\/|max:64",150"field_type": "text"151},152{153"name": "Save Interval",154"description": "Sets the server\u2019s auto-save interval in seconds.",155"env_variable": "SAVEINTERVAL",156"default_value": "60",157"user_viewable": true,158"user_editable": true,159"rules": "required|integer",160"field_type": "text"161},162{163"name": "Additional Arguments",164"description": "Add additional startup parameters to the server.",165"env_variable": "ADDITIONAL_ARGS",166"default_value": "",167"user_viewable": true,168"user_editable": true,169"rules": "nullable|string",170"field_type": "text"171},172{173"name": "App Port",174"description": "Port for the Rust+ App. -1 to disable.",175"env_variable": "APP_PORT",176"default_value": "28082",177"user_viewable": true,178"user_editable": false,179"rules": "required|integer",180"field_type": "text"181},182{183"name": "Server Logo",184"description": "The circular server logo for the Rust+ app.",185"env_variable": "SERVER_LOGO",186"default_value": "",187"user_viewable": true,188"user_editable": true,189"rules": "nullable|url",190"field_type": "text"191},192{193"name": "Custom Map URL",194"description": "Overwrites the map with the one from the direct download URL. Invalid URLs will cause the server to crash.",195"env_variable": "MAP_URL",196"default_value": "",197"user_viewable": true,198"user_editable": true,199"rules": "nullable|url",200"field_type": "text"201}202]203}204205206