Changes as per @QuintenQVD0

This commit is contained in:
Frizth Lyco Tatierra 2022-12-07 06:06:06 +00:00
parent 40a36aff40
commit e50fcfafee
3 changed files with 62 additions and 8 deletions

View File

@ -10,6 +10,7 @@ Its set in infinitely-generated worlds of wide open terrain - icy mountains,
* [gomint](bedrock/gomint) * [gomint](bedrock/gomint)
* [Nukkit](bedrock/nukkit) * [Nukkit](bedrock/nukkit)
* [PocketMine MP](bedrock/pocketmine_mp) * [PocketMine MP](bedrock/pocketmine_mp)
* [LiteLoaderBDS](bedrock/LiteLoader-bedrock)
## [Java](java) Servers for Java Minecraft ## [Java](java) Servers for Java Minecraft

View File

@ -4,10 +4,10 @@
"version": "PTDL_v2", "version": "PTDL_v2",
"update_url": null "update_url": null
}, },
"exported_at": "2022-12-06T21:43:40+08:00", "exported_at": "2022-12-07T13:57:17+08:00",
"name": "Liteloader Bedrock Dedicated Server", "name": "Liteloader Bedrock Dedicated Server",
"author": "frizth_tatierra@informatics.edu.ph", "author": "frizth_tatierra@informatics.edu.ph",
"description": "LiteLoaderBDS - Epoch-making & Cross-language Bedrock Dedicated Servers Plugin Loader\r\nLiteLoaderBDS is an unofficial plugin loader that provides basic API support for Bedrock Dedicated Server, with a massive API, lots of packed utility interfaces, a rich event system and powerful basic interface support.", "description": "LiteLoaderBDS - Epoch-making & Cross-language Bedrock Dedicated Servers Plugin Loader\r\n\r\nLiteLoaderBDS is an unofficial plugin loader that provides basic API support for Bedrock Dedicated Server, with a massive API, lots of packed utility interfaces, a rich event system and powerful basic interface support.",
"features": null, "features": null,
"docker_images": { "docker_images": {
"ghcr.io\/parkervcp\/yolks:wine_latest": "ghcr.io\/parkervcp\/yolks:wine_latest" "ghcr.io\/parkervcp\/yolks:wine_latest": "ghcr.io\/parkervcp\/yolks:wine_latest"
@ -15,14 +15,14 @@
"file_denylist": [], "file_denylist": [],
"startup": ".\/lae-ll-launcher", "startup": ".\/lae-ll-launcher",
"config": { "config": {
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"server-ip\": \"0.0.0.0\"\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 \"max-players\": \"{{server.build.env.MAXPLAYERS}}\",\r\n \"level-name\": \"{{server.build.env.WORLDNAME}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"[LiteLoader]\"\r\n}", "startup": "{\r\n \"done\": \"[LiteLoader]\"\r\n}",
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs/latest.log\"\r\n}", "logs": "{}",
"stop": "stop" "stop": "stop"
}, },
"scripts": { "scripts": {
"installation": { "installation": {
"script": "#!\/bin\/bash\r\n# Liteloader First-time Install Script\r\n\r\nrm -r \/mnt\/server\r\nmkdir \/mnt\/server\r\ncd \/mnt\/server\r\nwget https:\/\/minecraft.azureedge.net\/bin-win\/bedrock-server-${BDS_VERSION}.zip -O bds.zip\r\nwget https:\/\/github.com\/LiteLDev\/LiteLoaderBDS\/releases\/download\/${LL_VERSION}\/LiteLoader-${LL_VERSION}.zip -O LiteLoader.zip\r\nwget https:\/\/io.ivampiresp.com\/d\/Software\/MCServer\/BDS\/LiteLoader\/lae-ll-launcher\r\nchmod +x lae-ll-launcher\r\nunzip -o bds.zip\r\nunzip -o LiteLoader.zip\r\nrm LiteLoader.zip\r\nrm bds.zip\r\necho \"Finished Downloading Liteloader...\"", "script": "#!\/bin\/bash\r\n# Liteloader First-time Install Script\r\n\r\napk update\r\napk add gzip\r\ncd \/mnt\/server\r\n\r\n# Download Minecraft BDS\r\nRANDVERSION=$(echo $((1 + $RANDOM % 4000)))\r\n\r\nif [ -z \"${BDS_VERSION}\" ] || [ \"${BDS_VERSION}\" == \"latest\" ]; then\r\n echo -e \"\\n Downloading latest Bedrock server\"\r\n curl -L -A \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/90.0.$RANDVERSION.212 Safari\/537.36\" -H \"Accept-Language: en\" -H \"Accept-Encoding: gzip, deflate\" -o versions.html.gz https:\/\/www.minecraft.net\/en-us\/download\/server\/bedrock\r\n DOWNLOAD_URL=$(zgrep -o 'https:\/\/minecraft.azureedge.net\/bin-win\/[^\"]*' versions.html.gz)\r\nelse \r\n echo -e \"\\n Downloading ${BDS_VERSION} Bedrock server\"\r\n DOWNLOAD_URL=https:\/\/minecraft.azureedge.net\/bin-win\/bedrock-server-$BDS_VERSION.zip\r\nfi\r\n\r\nDOWNLOAD_FILE=$(echo ${DOWNLOAD_URL} | cut -d\"\/\" -f5) # Retrieve archive name\r\n\r\necho -e \"Downloading files from: $DOWNLOAD_URL\"\r\n\r\ncurl -L -A \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/90.0.$RANDVERSION.212 Safari\/537.36\" -H \"Accept-Language: en\" -o $DOWNLOAD_FILE $DOWNLOAD_URL\r\n\r\necho -e \"Unpacking server files\"\r\nunzip -o $DOWNLOAD_FILE\r\n\r\necho -e \"Cleaning up after installing\"\r\nrm $DOWNLOAD_FILE\r\nrm versions.html.gz\r\n\r\n# Download LiteLoaderBDS\r\nif [ -z \"${LL_VERSION}\" ] || [ \"${LL_VERSION}\" == \"latest\" ]; then\r\n echo -e \"\\n Downloading latest LiteLoaderBDS from GitHub\"\r\n curl -s https:\/\/api.github.com\/repos\/LiteLDev\/LiteLoaderBDS\/releases\/latest | grep \"browser_download_url.*LiteLoader-.*zip\" | cut -d : -f 2,3 | tr -d \\\" | wget -i - -O LiteLoader.zip\r\nelse \r\n echo -e \"\\n Downloading ${LL_VERSION} LiteLoaderBDS from GitHub\"\r\n wget https:\/\/github.com\/LiteLDev\/LiteLoaderBDS\/releases\/download\/${LL_VERSION}\/LiteLoader-${LL_VERSION}.zip -O LiteLoader.zip\r\nfi\r\n\r\n# Downlaoding Launcher and finishing touches\r\nwget https:\/\/io.ivampiresp.com\/d\/Software\/MCServer\/BDS\/LiteLoader\/lae-ll-launcher\r\nchmod +x lae-ll-launcher\r\nunzip -o LiteLoader.zip\r\nrm LiteLoader.zip\r\necho \"Finished Downloading Liteloader...\"",
"container": "ghcr.io\/parkervcp\/installers:alpine", "container": "ghcr.io\/parkervcp\/installers:alpine",
"entrypoint": "ash" "entrypoint": "ash"
} }
@ -32,7 +32,7 @@
"name": "Bedrock Dedicated Server Version", "name": "Bedrock Dedicated Server Version",
"description": "Insert BDS Version", "description": "Insert BDS Version",
"env_variable": "BDS_VERSION", "env_variable": "BDS_VERSION",
"default_value": "1.19.41.01", "default_value": "latest",
"user_viewable": true, "user_viewable": true,
"user_editable": true, "user_editable": true,
"rules": "required|string", "rules": "required|string",
@ -42,7 +42,7 @@
"name": "Liteloader Version", "name": "Liteloader Version",
"description": "Insert Liteloader Version from Github Releases", "description": "Insert Liteloader Version from Github Releases",
"env_variable": "LL_VERSION", "env_variable": "LL_VERSION",
"default_value": "2.8.1", "default_value": "latest",
"user_viewable": true, "user_viewable": true,
"user_editable": true, "user_editable": true,
"rules": "required|string", "rules": "required|string",
@ -57,6 +57,56 @@
"user_editable": false, "user_editable": false,
"rules": "required|string|max:20", "rules": "required|string|max:20",
"field_type": "text" "field_type": "text"
},
{
"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",
"field_type": "text"
},
{
"name": "Gamemode",
"description": "Allowed values: \"survival\", \"creative\", or \"adventure\"",
"env_variable": "GAMEMODE",
"default_value": "survival",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"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",
"field_type": "text"
},
{
"name": "Maximum Players",
"description": "Maximum players to join on the server",
"env_variable": "MAXPLAYERS",
"default_value": "10",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer",
"field_type": "text"
},
{
"name": "World Name",
"description": "World\/Level name to use for the server",
"env_variable": "WORLDNAME",
"default_value": "Bedrock level",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
} }
] ]
} }

View File

@ -20,3 +20,6 @@ Nukkit is a Nuclear-Powered Server Software For Minecraft: Pocket Edition
[PocketMine MP](https://github.com/pmmp/PocketMine-MP) [PocketMine MP](https://github.com/pmmp/PocketMine-MP)
A server software for Minecraft: Bedrock Edition in PHP A server software for Minecraft: Bedrock Edition in PHP
## [LiteLoaderBDS](https://github.com/LiteLDev/LiteLoaderBDS)\
LiteLoaderBDS is an unofficial plugin loader that provides basic API support for Bedrock Dedicated Server.