mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-26 07:52:56 +08:00
Fix rcon startup
This commit is contained in:
parent
fb41e47296
commit
d5aa73e6eb
@ -1,14 +1,18 @@
|
|||||||
{
|
{
|
||||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||||
"meta": {
|
"meta": {
|
||||||
"version": "PTDL_v1"
|
"version": "PTDL_v1",
|
||||||
|
"update_url": null
|
||||||
},
|
},
|
||||||
"exported_at": "2020-09-13T10:56:00-04:00",
|
"exported_at": "2021-03-04T06:38:31+02:00",
|
||||||
"name": "Ark: Survival Evolved",
|
"name": "Ark: Survival Evolved",
|
||||||
"author": "dev@shepper.fr",
|
"author": "dev@shepper.fr",
|
||||||
"description": "As a man or woman stranded, naked, freezing, and starving on the unforgiving shores of a mysterious island called ARK, use your skill and cunning to kill or tame and ride the plethora of leviathan dinosaurs and other primeval creatures roaming the land. Hunt, harvest resources, craft items, grow crops, research technologies, and build shelters to withstand the elements and store valuables, all while teaming up with (or preying upon) hundreds of other players to survive, dominate... and escape! \u2014 Gamepedia: ARK",
|
"description": "As a man or woman stranded, naked, freezing, and starving on the unforgiving shores of a mysterious island called ARK, use your skill and cunning to kill or tame and ride the plethora of leviathan dinosaurs and other primeval creatures roaming the land. Hunt, harvest resources, craft items, grow crops, research technologies, and build shelters to withstand the elements and store valuables, all while teaming up with (or preying upon) hundreds of other players to survive, dominate... and escape! \u2014 Gamepedia: ARK",
|
||||||
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_source",
|
"features": null,
|
||||||
"startup": "rmv() { echo -e \"stoppping server\"; rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD} -c saveworld && rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD} -c DoExit; }; trap rmv 15; cd ShooterGame\/Binaries\/Linux && .\/ShooterGameServer {{SERVER_MAP}}?listen?SessionName=\"{{SESSION_NAME}}\"?ServerPassword={{ARK_PASSWORD}}?ServerAdminPassword={{ARK_ADMIN_PASSWORD}}?Port={{SERVER_PORT}}?RCONPort={{RCON_PORT}}?QueryPort={{QUERY_PORT}}?RCONEnabled={{ENABLE_RCON}}$( [ \"$BATTLE_EYE\" == \"0\" ] || printf %s '?-NoBattlEye' ) -server -log & until echo \"waiting for rcon connection...\"; rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD}; do sleep 5; done",
|
"images": [
|
||||||
|
"quay.io\/parkervcp\/pterodactyl-images:debian_source"
|
||||||
|
],
|
||||||
|
"startup": "rmv() { echo -e \"stoppping server\"; rcon -t rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD} -c saveworld && rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD} -c DoExit; }; trap rmv 15; cd ShooterGame\/Binaries\/Linux && .\/ShooterGameServer {{SERVER_MAP}}?listen?SessionName=\"{{SESSION_NAME}}\"?ServerPassword={{ARK_PASSWORD}}?ServerAdminPassword={{ARK_ADMIN_PASSWORD}}?Port={{SERVER_PORT}}?RCONPort={{RCON_PORT}}?QueryPort={{QUERY_PORT}}?RCONEnabled={{ENABLE_RCON}}$( [ \"$BATTLE_EYE\" == \"0\" ] || printf %s '?-NoBattlEye' ) -server -log & until echo \"waiting for rcon connection...\"; rcon -t rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD}; do sleep 5; done",
|
||||||
"config": {
|
"config": {
|
||||||
"files": "{}",
|
"files": "{}",
|
||||||
"startup": "{\r\n \"done\": \"Waiting commands for 127.0.0.1:\",\r\n \"userInteraction\": []\r\n}",
|
"startup": "{\r\n \"done\": \"Waiting commands for 127.0.0.1:\",\r\n \"userInteraction\": []\r\n}",
|
||||||
@ -28,8 +32,8 @@
|
|||||||
"description": "If specified, players must provide this password to join the server.",
|
"description": "If specified, players must provide this password to join the server.",
|
||||||
"env_variable": "ARK_PASSWORD",
|
"env_variable": "ARK_PASSWORD",
|
||||||
"default_value": "",
|
"default_value": "",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "nullable|alpha_dash|between:1,100"
|
"rules": "nullable|alpha_dash|between:1,100"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -37,8 +41,8 @@
|
|||||||
"description": "If specified, players must provide this password (via the in-game console) to gain access to administrator commands on the server.",
|
"description": "If specified, players must provide this password (via the in-game console) to gain access to administrator commands on the server.",
|
||||||
"env_variable": "ARK_ADMIN_PASSWORD",
|
"env_variable": "ARK_ADMIN_PASSWORD",
|
||||||
"default_value": "PleaseChangeMe",
|
"default_value": "PleaseChangeMe",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "nullable|alpha_dash|between:1,100"
|
"rules": "nullable|alpha_dash|between:1,100"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -46,8 +50,8 @@
|
|||||||
"description": "Available Maps: TheIsland, TheCenter, Ragnarok, ScorchedEarth_P, Aberration_P, Extinction, Valguero_P, Genesis",
|
"description": "Available Maps: TheIsland, TheCenter, Ragnarok, ScorchedEarth_P, Aberration_P, Extinction, Valguero_P, Genesis",
|
||||||
"env_variable": "SERVER_MAP",
|
"env_variable": "SERVER_MAP",
|
||||||
"default_value": "TheIsland",
|
"default_value": "TheIsland",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "required|string|max:20"
|
"rules": "required|string|max:20"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -55,8 +59,8 @@
|
|||||||
"description": "ARK steam app id for auto updates. Leave blank to avoid auto update.",
|
"description": "ARK steam app id for auto updates. Leave blank to avoid auto update.",
|
||||||
"env_variable": "SRCDS_APPID",
|
"env_variable": "SRCDS_APPID",
|
||||||
"default_value": "376030",
|
"default_value": "376030",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 0,
|
"user_editable": false,
|
||||||
"rules": "nullable|numeric"
|
"rules": "nullable|numeric"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -64,8 +68,8 @@
|
|||||||
"description": "ARK server name",
|
"description": "ARK server name",
|
||||||
"env_variable": "SESSION_NAME",
|
"env_variable": "SESSION_NAME",
|
||||||
"default_value": "A Pterodactyl Hosted ARK Server",
|
"default_value": "A Pterodactyl Hosted ARK Server",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "required|string|max:128"
|
"rules": "required|string|max:128"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -73,8 +77,8 @@
|
|||||||
"description": "Enable or disable rcon system. (true or false)\r\n\r\nDefault True for the console to work.",
|
"description": "Enable or disable rcon system. (true or false)\r\n\r\nDefault True for the console to work.",
|
||||||
"env_variable": "ENABLE_RCON",
|
"env_variable": "ENABLE_RCON",
|
||||||
"default_value": "True",
|
"default_value": "True",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 0,
|
"user_editable": false,
|
||||||
"rules": "required|string|in:True,False"
|
"rules": "required|string|in:True,False"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -82,8 +86,8 @@
|
|||||||
"description": "ARK rcon port used by rcon tools.",
|
"description": "ARK rcon port used by rcon tools.",
|
||||||
"env_variable": "RCON_PORT",
|
"env_variable": "RCON_PORT",
|
||||||
"default_value": "27020",
|
"default_value": "27020",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "required|numeric"
|
"rules": "required|numeric"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -91,8 +95,8 @@
|
|||||||
"description": "ARK query port used by steam server browser and ark client server browser.",
|
"description": "ARK query port used by steam server browser and ark client server browser.",
|
||||||
"env_variable": "QUERY_PORT",
|
"env_variable": "QUERY_PORT",
|
||||||
"default_value": "27015",
|
"default_value": "27015",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "required|numeric"
|
"rules": "required|numeric"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -100,8 +104,8 @@
|
|||||||
"description": "This is to enable auto-updating for servers.\r\n\r\nDefault is 0. Set to 1 to update",
|
"description": "This is to enable auto-updating for servers.\r\n\r\nDefault is 0. Set to 1 to update",
|
||||||
"env_variable": "AUTO_UPDATE",
|
"env_variable": "AUTO_UPDATE",
|
||||||
"default_value": "0",
|
"default_value": "0",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "required|boolean"
|
"rules": "required|boolean"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -109,8 +113,8 @@
|
|||||||
"description": "Enable BattleEye\r\n\r\n0 to disable\r\n1 to enable\r\n\r\ndefault=\"1\"",
|
"description": "Enable BattleEye\r\n\r\n0 to disable\r\n1 to enable\r\n\r\ndefault=\"1\"",
|
||||||
"env_variable": "BATTLE_EYE",
|
"env_variable": "BATTLE_EYE",
|
||||||
"default_value": "1",
|
"default_value": "1",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "required|boolean"
|
"rules": "required|boolean"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user