|
| 1 | +{ |
| 2 | + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", |
| 3 | + "meta": { |
| 4 | + "version": "PTDL_v1" |
| 5 | + }, |
| 6 | + "exported_at": "2017-11-05T20:51:45-05:00", |
| 7 | + "name": "Rust", |
| 8 | + "author": "support@pterodactyl.io", |
| 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 | + "image": "quay.io\/pterodactyl\/core:rust", |
| 11 | + "startup": ".\/RustDedicated -batchmode +server.port {{SERVER_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.worldsize \\\"{{WORLD_SIZE}}\\\" +server.seed \\\"{{WORLD_SEED}}\\\" +server.maxplayers {{MAX_PLAYERS}} +rcon.password \\\"{{RCON_PASS}}\\\" {{ADDITIONAL_ARGS}}", |
| 12 | + "config": { |
| 13 | + "files": "{}", |
| 14 | + "startup": "{\r\n \"done\": \"Server startup complete\",\r\n \"userInteraction\": []\r\n}", |
| 15 | + "logs": "{\r\n \"custom\": false,\r\n \"location\": \"latest.log\"\r\n}", |
| 16 | + "stop": "quit" |
| 17 | + }, |
| 18 | + "scripts": { |
| 19 | + "installation": { |
| 20 | + "script": "apt update\r\napt -y --no-install-recommends install curl unzip lib32gcc1 ca-certificates\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\n\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\nchown -R root:root \/mnt\r\n\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 258550 +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v \/mnt\/server\/steam\/linux32\/steamclient.so \/mnt\/server\/.steam\/sdk32\/steamclient.so", |
| 21 | + "container": "ubuntu:16.04", |
| 22 | + "entrypoint": "bash" |
| 23 | + } |
| 24 | + }, |
| 25 | + "variables": [ |
| 26 | + { |
| 27 | + "name": "Server Name", |
| 28 | + "description": "The name of your server in the public server list.", |
| 29 | + "env_variable": "HOSTNAME", |
| 30 | + "default_value": "A Rust Server", |
| 31 | + "user_viewable": 1, |
| 32 | + "user_editable": 1, |
| 33 | + "rules": "required|string|max:40" |
| 34 | + }, |
| 35 | + { |
| 36 | + "name": "OxideMod", |
| 37 | + "description": "Set whether you want the server to use and auto update OxideMod or not. Valid options are \"1\" for true and \"0\" for false.", |
| 38 | + "env_variable": "OXIDE", |
| 39 | + "default_value": "false", |
| 40 | + "user_viewable": 1, |
| 41 | + "user_editable": 1, |
| 42 | + "rules": "required|boolean" |
| 43 | + }, |
| 44 | + { |
| 45 | + "name": "Level", |
| 46 | + "description": "The world file for Rust to use.", |
| 47 | + "env_variable": "LEVEL", |
| 48 | + "default_value": "Procedural Map", |
| 49 | + "user_viewable": 1, |
| 50 | + "user_editable": 1, |
| 51 | + "rules": "required|string|max:20" |
| 52 | + }, |
| 53 | + { |
| 54 | + "name": "Description", |
| 55 | + "description": "The description under your server title. Commonly used for rules & info. Use \\n for newlines.", |
| 56 | + "env_variable": "DESCRIPTION", |
| 57 | + "default_value": "Powered by Pterodactyl", |
| 58 | + "user_viewable": 1, |
| 59 | + "user_editable": 1, |
| 60 | + "rules": "required|string" |
| 61 | + }, |
| 62 | + { |
| 63 | + "name": "URL", |
| 64 | + "description": "The URL for your server. This is what comes up when clicking the \"Visit Website\" button.", |
| 65 | + "env_variable": "SERVER_URL", |
| 66 | + "default_value": "http:\/\/pterodactyl.io", |
| 67 | + "user_viewable": 1, |
| 68 | + "user_editable": 1, |
| 69 | + "rules": "present|url" |
| 70 | + }, |
| 71 | + { |
| 72 | + "name": "World Size", |
| 73 | + "description": "The world size for a procedural map.", |
| 74 | + "env_variable": "WORLD_SIZE", |
| 75 | + "default_value": "3000", |
| 76 | + "user_viewable": 1, |
| 77 | + "user_editable": 1, |
| 78 | + "rules": "required|integer" |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "World Seed", |
| 82 | + "description": "The seed for a procedural map.", |
| 83 | + "env_variable": "WORLD_SEED", |
| 84 | + "default_value": "", |
| 85 | + "user_viewable": 1, |
| 86 | + "user_editable": 1, |
| 87 | + "rules": "present" |
| 88 | + }, |
| 89 | + { |
| 90 | + "name": "Max Players", |
| 91 | + "description": "The maximum amount of players allowed in the server at once.", |
| 92 | + "env_variable": "MAX_PLAYERS", |
| 93 | + "default_value": "40", |
| 94 | + "user_viewable": 1, |
| 95 | + "user_editable": 1, |
| 96 | + "rules": "required|integer" |
| 97 | + }, |
| 98 | + { |
| 99 | + "name": "Server Image", |
| 100 | + "description": "The header image for the top of your server listing.", |
| 101 | + "env_variable": "SERVER_IMG", |
| 102 | + "default_value": "", |
| 103 | + "user_viewable": 1, |
| 104 | + "user_editable": 1, |
| 105 | + "rules": "present|url" |
| 106 | + }, |
| 107 | + { |
| 108 | + "name": "RCON Port", |
| 109 | + "description": "Port for RCON connections.", |
| 110 | + "env_variable": "RCON_PORT", |
| 111 | + "default_value": "8401", |
| 112 | + "user_viewable": 1, |
| 113 | + "user_editable": 0, |
| 114 | + "rules": "required|integer" |
| 115 | + }, |
| 116 | + { |
| 117 | + "name": "RCON Password", |
| 118 | + "description": "RCON access password.", |
| 119 | + "env_variable": "RCON_PASS", |
| 120 | + "default_value": "CHANGEME", |
| 121 | + "user_viewable": 1, |
| 122 | + "user_editable": 1, |
| 123 | + "rules": "required|string|max:64" |
| 124 | + }, |
| 125 | + { |
| 126 | + "name": "Additional Arguments", |
| 127 | + "description": "Add additional startup parameters to the server.", |
| 128 | + "env_variable": "ADDITIONAL_ARGS", |
| 129 | + "default_value": "", |
| 130 | + "user_viewable": 1, |
| 131 | + "user_editable": 1, |
| 132 | + "rules": "present" |
| 133 | + } |
| 134 | + ] |
| 135 | +} |
0 commit comments