Added new variables:

SERVERNAME
GAMEMODE
DIFFICULTY
CHEATS
PLAYERS
This commit is contained in:
Michael 2020-10-14 21:57:46 +11:00
parent 589eb44da3
commit cbc3d7d2ff

View File

@ -3,14 +3,14 @@
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2020-09-06T11:38:57-04:00",
"exported_at": "2020-10-14T19:36:14+11:00",
"name": "Vanilla Bedrock",
"author": "parker@parkervcp.com",
"description": "Bedrock Edition (also known as the Bedrock Version, Bedrock Codebase, Bedrock Engine or just Bedrock) refers to the multi-platform family of editions of Minecraft developed by Mojang AB, Microsoft Studios, 4J Studios, and SkyBox Labs. Prior to this term, as the engine originated with Pocket Edition, this entire product family was referred to as \"Pocket Edition\", \"MCPE\", or \"Pocket\/Windows 10 Edition\".",
"image": "quay.io\/parkervcp\/pterodactyl-images:base_debian",
"startup": ".\/bedrock_server",
"config": {
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"server-name\": \"{{server.build.env.SERVERNAME}}\",\r\n \"gamemode\": \"{{server.build.env.GAMEMODE}}\",\r\n \"difficulty\": \"{{server.build.env.DIFFICULTY}}\",\r\n \"allow-cheats\": \"{{server.build.env.CHEATS}}\",\r\n \"max-players\": \"{{server.build.env.PLAYERS}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Server started\"\r\n}",
"logs": "{}",
"stop": "stop"
@ -28,8 +28,8 @@
"description": "The version of bedrock. (Ex. 1.7.0.13)\r\n\r\nDefault version is latest.",
"env_variable": "BEDROCK_VERSION",
"default_value": "latest",
"user_viewable": 1,
"user_editable": 1,
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
},
{
@ -37,9 +37,54 @@
"description": "Dumb reasons to need this",
"env_variable": "LD_LIBRARY_PATH",
"default_value": ".",
"user_viewable": 0,
"user_editable": 0,
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20"
},
{
"name": "Server Name",
"description": "The name for the server",
"env_variable": "SERVERNAME",
"default_value": "Bedrock Dedicated Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:50"
},
{
"name": "Gamemode",
"description": "Allowed values: \"survival\", \"creative\", or \"adventure\"",
"env_variable": "GAMEMODE",
"default_value": "survival",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:9"
},
{
"name": "Difficulty",
"description": "Allowed values: \"peaceful\", \"easy\", \"normal\", or \"hard\"",
"env_variable": "DIFFICULTY",
"default_value": "easy",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:8"
},
{
"name": "Allow cheats",
"description": "If true then cheats like commands can be used.\r\n\r\nAllowed values: \"true\" or \"false\"",
"env_variable": "CHEATS",
"default_value": "false",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:5"
},
{
"name": "Max Players",
"description": "The maximum number of players that can play on the server.",
"env_variable": "PLAYERS",
"default_value": "10",
"user_viewable": true,
"user_editable": false,
"rules": "required|integer|max:30"
}
]
}