installed mc/hytale eggs
This commit is contained in:
26
ptero_eggs/minecraft/bedrock/LeviLamina/README.md
Normal file
26
ptero_eggs/minecraft/bedrock/LeviLamina/README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# LeviLamina Bedrock Dedicated Server
|
||||
|
||||
[LeviLamina](https://github.com/LiteLDev/LeviLamina) - A lightweight, modular and versatile mod loader for Minecraft Bedrock Edition, formerly known as LiteLoaderBDS
|
||||
|
||||
# Mod installation
|
||||
During install the egg will look for a file called `lip-install.txt` and use [lip](https://github.com/futrime/lip) to attempt to install all specified packages.
|
||||
The format of `lip-install.txt` is one package per line in the usual format lip expects.
|
||||
Create `lip-install.txt`, add your packages to it, then click the reinstall button.
|
||||
## Example
|
||||
Install LeviAntiCheat version 0.3.7
|
||||
`github.com/LiteLDev/LeviAntiCheat@0.3.7`
|
||||
|
||||
Install LeviAntiCheat latest version
|
||||
`github.com/LiteLDev/LeviAntiCheat`
|
||||
|
||||
|
||||
### Server Ports
|
||||
|
||||
LeviLamina Bedrock Dedicated Server requires a single port (default 19132)
|
||||
|
||||
| Port | default |
|
||||
|---------|----------|
|
||||
| Game | 19132 |
|
||||
|
||||
### Known Issues
|
||||
General Issues can check here -> [LeviLamina Issues](https://github.com/LiteLDev/LeviLamina/issues)
|
||||
112
ptero_eggs/minecraft/bedrock/LeviLamina/egg-levi-lamina.json
Normal file
112
ptero_eggs/minecraft/bedrock/LeviLamina/egg-levi-lamina.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2026-02-01T03:39:39+00:00",
|
||||
"name": "LeviLamina",
|
||||
"author": "eggs@purpleflaghosting.com",
|
||||
"description": "LeviLamina is an unofficial mod loader designed to offer indispensable API support for Minecraft Bedrock Edition. It boasts a comprehensive API, an array of utility interfaces, a robust event system, and comprehensive support for basic interfaces. LeviLamina provides an expansive API, a powerful event system, and a wealth of encapsulated development infrastructure interfaces, forming a solid foundation for augmenting the Minecraft Bedrock Edition with additional gameplay features and functionalities. By leveraging mods, the process of extending Bedrock functionality becomes effortless, with a user-friendly development process and an adaptable approach.",
|
||||
"features": [],
|
||||
"docker_images": {
|
||||
"ghcr.io\/ptero-eggs\/yolks:wine_latest": "ghcr.io\/ptero-eggs\/yolks:wine_latest"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": "cat | wine bedrock_server_mod.exe",
|
||||
"config": {
|
||||
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"server-portv6\": \"{{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\": \"IPv4 supported\"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "^C"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "# Install required packages\r\napt update\r\napt install -y lsb-release xvfb\r\n\r\n# Install wine\r\nwget -O \/etc\/apt\/keyrings\/winehq-archive.key https:\/\/dl.winehq.org\/wine-builds\/winehq.key\r\nwget -NP \/etc\/apt\/sources.list.d\/ https:\/\/dl.winehq.org\/wine-builds\/debian\/dists\/$(lsb_release -sc 2>\/dev\/null)\/winehq-$(lsb_release -sc 2>\/dev\/null).sources\r\napt update\r\napt install --no-install-recommends winehq-stable cabextract -y\r\n\r\nexport WINEPREFIX=\/root\/.wine\r\nmkdir -p $WINEPREFIX\r\n\r\n\r\n# Setup display\r\nexport DISPLAY=:0\r\nXvfb :0 -screen 0 1024x768x16 &\r\n\r\n\r\n\r\n\r\n# Install Winetricks\r\necho \"Installing winetricks\"\r\nwget -q -O \/usr\/sbin\/winetricks https:\/\/raw.githubusercontent.com\/Winetricks\/winetricks\/master\/src\/winetricks && chmod +x \/usr\/sbin\/winetricks\r\n\r\necho \"Installing mono\"\r\nwget -q -O $WINEPREFIX\/mono.msi https:\/\/dl.winehq.org\/wine\/wine-mono\/9.1.0\/wine-mono-9.1.0-x86.msi\r\nWINEDLLOVERRIDES=\"mscoree,mshtml=\" wine msiexec \/i $WINEPREFIX\/mono.msi \/qn \/quiet \/norestart \/log $WINEPREFIX\/mono_install.log\r\n\r\n# Install dotnet\r\necho \"Installing dotnet\"\r\nwinetricks -q dotnet9 \r\n\r\n\r\n# Setup tty width so wine console output doesn't prematurely wrap\r\nstty columns 250\r\n\r\n\r\ncd \/mnt\/server || { echo \"Failed to change directory\"; exit 1; }\r\n\r\n# Install lip\r\nLIP_URL=\"https:\/\/github.com\/futrime\/lip\/releases\/latest\/download\/lip-cli-win-x64.zip\"\r\nwget $LIP_URL -O lip.zip\r\nunzip -o lip.zip lip.exe\r\nrm lip.zip\r\n\r\n\r\nif [ -n \"$VERSION\" ] && [ \"$VERSION\" != \"latest\" ]; then\r\n wine lip.exe install github.com\/LiteLDev\/LeviLamina@\"$VERSION\"\r\nelse\r\n wine lip.exe install github.com\/LiteLDev\/LeviLamina\r\nfi\r\n\r\n\r\necho \"Server Installed\"\r\n\r\nif [ -f \"lip-install.txt\" ]; then\r\n for package in $(cat \"lip-install.txt\" ); do\r\n echo \"Installing ${package} from lip-install.txt\"\r\n wine lip.exe install \"${package}\"\r\n done\r\n echo \"Packages installed\"\r\nfi",
|
||||
"container": "ghcr.io\/ptero-eggs\/installers:debian",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Wine Debug",
|
||||
"description": "",
|
||||
"env_variable": "WINEDEBUG",
|
||||
"default_value": "-all",
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Version",
|
||||
"description": "Version of LeviLamina to install in x.y.z format. Blank or \"latest\" will install the latest release.",
|
||||
"env_variable": "VERSION",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:20",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"name": "Winetricks",
|
||||
"description": "",
|
||||
"env_variable": "WINETRICKS_RUN",
|
||||
"default_value": "vcrun2022",
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20",
|
||||
"field_type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
16
ptero_eggs/minecraft/bedrock/LiteLoader-bedrock/README.md
Normal file
16
ptero_eggs/minecraft/bedrock/LiteLoader-bedrock/README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# LiteLoader Bedrock Dedicated Server
|
||||
|
||||
[LiteLoaderBDS](https://github.com/LiteLDev/LiteLoaderBDS) - Epoch-making & Cross-language Bedrock Dedicated Servers Plugin Loader
|
||||
|
||||
[LiteLoaderBDS](https://github.com/LiteLDev/LiteLoaderBDS) 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.
|
||||
|
||||
### Server Ports
|
||||
|
||||
LiteLoader Bedrock Dedicated Server requires a single port (default 19132)
|
||||
|
||||
| Port | default |
|
||||
|---------|----------|
|
||||
| Game | 19132 |
|
||||
|
||||
### Known Issues
|
||||
General Issues can check here -> [LiteLoaderBDS Issues](https://github.com/LiteLDev/LiteLoaderBDS/issues)
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2023-05-17T20:11:37+02:00",
|
||||
"name": "Liteloader Bedrock Dedicated Server",
|
||||
"author": "frizth_tatierra@informatics.edu.ph",
|
||||
"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,
|
||||
"docker_images": {
|
||||
"ghcr.io\/ptero-eggs\/yolks:wine_latest": "ghcr.io\/ptero-eggs\/yolks:wine_latest"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": ".\/lae-ll-launcher bedrock_server_mod.exe",
|
||||
"config": {
|
||||
"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\": \"IPv4 supported\"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "stop"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\n# Liteloader First-time Install Script\r\n\r\napk update\r\napk add gzip jq curl wine\r\ncd \/mnt\/server\r\n\r\nfor file in *; do\r\n if [ \"$file\" != \"allowlist.json\" ] && [ \"$file\" != \"permissions.json\" ] && [ \"$file\" != \"server.properties\" ] && [ \"$file\" != \"plugins\" ] && [ \"$file\" != \"world\" ]; then\r\n if [ -d \"$file\" ]; then\r\n rm -rf \"$file\" # Remove directories recursively\r\n else\r\n rm \"$file\" # Remove files\r\n fi\r\n fi\r\ndone\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\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/LiteLDev\/LiteLoaderBDS\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/LiteLDev\/LiteLoaderBDS\/releases\")\r\n\r\nif [ -z \"${LL_VERSION}\" ] || [ \"${LL_VERSION}\" == \"latest\" ]; then\r\n echo -e \"\\n Downloading latest LiteLoaderBDS from GitHub\"\r\n DOWNLOAD_GIT_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | head -1)\r\nelse\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${LL_VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n echo -e \"\\n Downloading ${LL_VERSION} LiteLoaderBDS from GitHub\"\r\n DOWNLOAD_GIT_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${LL_VERSION}\" '.[] | select(.tag_name==$LL_VERSION) | .assets[].browser_download_url' | head -1)\r\n else\r\n echo -e \"defaulting to latest release\"\r\n DOWNLOAD_GIT_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | head -1)\r\n fi\r\nfi\r\n\r\ncurl -sSL -o LiteLoader.zip ${DOWNLOAD_GIT_URL}\r\nunzip -o LiteLoader.zip\r\nmv -f LiteLoaderBDS\/* \/mnt\/server\r\nrm LiteLoader.zip\r\ntimeout 30s wine PeEditor.exe\r\nrm -rf '\/root\/.wine' \/mnt\/server\/LiteLoaderBDS\/\r\n\r\n# Downloading 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\necho \"Finished Downloading Liteloader...\"",
|
||||
"container": "ghcr.io\/ptero-eggs\/installers:alpine",
|
||||
"entrypoint": "ash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Bedrock Dedicated Server Version",
|
||||
"description": "Insert BDS Version",
|
||||
"env_variable": "BDS_VERSION",
|
||||
"default_value": "latest",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Liteloader Version",
|
||||
"description": "Insert Liteloader Version from Github Releases",
|
||||
"env_variable": "LL_VERSION",
|
||||
"default_value": "latest",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Wine",
|
||||
"description": "",
|
||||
"env_variable": "WINEDEBUG",
|
||||
"default_value": "-all",
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
4
ptero_eggs/minecraft/bedrock/PowerNukkitX/README.md
Normal file
4
ptero_eggs/minecraft/bedrock/PowerNukkitX/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# PowerNukkitX
|
||||
|
||||
[PowerNukkitX](https://github.com/PowerNukkitX/PowerNukkitX)
|
||||
PowerNukkitX is a software for minecraft bedrock edition in Java which is a fork of PowerNukkit
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2025-04-20T21:46:27+00:00",
|
||||
"name": "PowerNukkitX",
|
||||
"author": "powernukkitx@github.com",
|
||||
"description": "PowerNukkitX support for Pterodactyl",
|
||||
"features": null,
|
||||
"docker_images": {
|
||||
"ghcr.io\/ptero-eggs\/yolks:debian": "ghcr.io\/ptero-eggs\/yolks:debian"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": ".\/pnx start {{AUTOREBOOT}}",
|
||||
"config": {
|
||||
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \")! For help, type \"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "stop"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\napt-get update\r\napt-get install -y git curl wget jq file tar unzip zip openssl\r\nmkdir -p \/mnt\/server\/ # Not required. Only here for ptero-eggs's local test setup\r\ncd \/mnt\/server || exit 1\r\nUPGRADE=\"no\"\r\nif [ -d \".\/java\" ]; then\r\nUPGRADE=\"yes\"\r\nfi\r\nwget https:\/\/github.com\/PowerNukkitX\/PNX-CLI\/releases\/download\/0.1.6\/PNX-CLI-Linux-x86.zip -O pnx.zip\r\nwget https:\/\/raw.githubusercontent.com\/PowerNukkitX\/PowerNukkitX\/master\/src\/main\/resources\/default-nukkit.yml -O nukkit.yml\r\nunzip pnx.zip\r\nrm -fr pnx.zip 2>&1 >\/dev\/null\r\nmv .\/target\/linux-x86\/pnx .\/ 2>&1 >\/dev\/null\r\nrm -fr target 2>&1 >\/dev\/null\r\nrm -fr java 2>&1 >\/dev\/null\r\nchmod +x pnx\r\n.\/pnx jvm install=GraalVM\r\nif [ \"$UPGRADE\" == \"no\" ]; then\r\nif [ \"$VERSION\" == \"latest\" ]; then\r\n.\/pnx server install --latest\r\nelse\r\n.\/pnx server install --dev\r\nfi\r\nelse\r\nrm -fr libs 2>&1 >\/dev\/null\r\nif [ \"$VERSION\" == \"latest\" ]; then\r\n.\/pnx server update --latest\r\nelse\r\n.\/pnx server update --dev\r\nfi\r\nfi\r\nrm -fr tmp-GraalVM.tar.gz 2>&1 >\/dev\/null\r\ncat <<EOF\r\n----------------------------------------\r\n| |\r\n| PowerNukkitX Installation Done |\r\n| |\r\n----------------------------------------\r\nEOF",
|
||||
"container": "ghcr.io\/ptero-eggs\/installers:debian",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Version to install",
|
||||
"description": "Choose between latest or dev",
|
||||
"env_variable": "VERSION",
|
||||
"default_value": "latest",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "AutoReboot mode",
|
||||
"description": "to set auto reboot mode please enter -r",
|
||||
"env_variable": "AUTOREBOOT",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:2",
|
||||
"field_type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
162
ptero_eggs/minecraft/bedrock/PowerNukkitX/nukkit.yml
Normal file
162
ptero_eggs/minecraft/bedrock/PowerNukkitX/nukkit.yml
Normal file
@@ -0,0 +1,162 @@
|
||||
# Advanced configuration file for Nukkit
|
||||
# Some of these settings are safe, others can break your server if modified incorrectly
|
||||
# New settings/defaults won't appear automatically on this file when upgrading
|
||||
|
||||
settings:
|
||||
# Multi-language setting
|
||||
# Available: eng, chs, cht, jpn, rus, spa, pol, bra, kor, ukr, deu, ltu, idn, cze, tur, fin, vie, fra
|
||||
language: eng
|
||||
# Whether to send all strings translated to server locale or let the device handle them
|
||||
force-language: false
|
||||
shutdown-message: "Server closed"
|
||||
# Allow listing plugins via Query
|
||||
query-plugins: true
|
||||
# Show a console message when a plugin uses deprecated API methods
|
||||
deprecated-verbose: true
|
||||
# Number of AsyncTask workers
|
||||
# If set to auto, it'll try to detect the number of cores (and at least 4)
|
||||
async-workers: auto
|
||||
safe-spawn: true
|
||||
waterdogpe: false
|
||||
|
||||
network:
|
||||
maximum-stale-datagrams: 512
|
||||
# Threshold for batching packets, in bytes. Only these packets will be compressed
|
||||
# Set to 0 to compress everything, -1 to disable
|
||||
batch-threshold: 256
|
||||
# Compression level used of Zlib when sending batched packets. Higher = more CPU, less bandwidth usage
|
||||
compression-level: 7
|
||||
# Use AsyncTasks for compression. Adds half/one tick delay, less CPU load on main thread
|
||||
async-compression: false
|
||||
# 0:Create a new compressor for each compression request
|
||||
# 1:All compression requests are done with only one thread and one compressor
|
||||
# 2:Using the original Nukkit server-side algorithm for high stability, using ThreadLocal to create a compressor for each thread
|
||||
# 3:Modern hardware acceleration using the PowerNukkitX server, which improves on the original algorithm.
|
||||
zlib-provider: 2
|
||||
snappy: false
|
||||
|
||||
debug:
|
||||
# If > 1, it will show debug messages in the console
|
||||
level: 1
|
||||
# Enables commands: /status /gc
|
||||
commands: false
|
||||
ignored-packets:
|
||||
- LevelChunkPacket
|
||||
|
||||
timings:
|
||||
# Turn off the timing completely, no timing object will be created, which can help improve performance
|
||||
completely-close: false
|
||||
# Enable core and plugin timings by default
|
||||
enabled: false
|
||||
# Enable monitoring at verbose level, include high-frequency timings
|
||||
verbose: false
|
||||
# Interval between history frames in ticks
|
||||
# Default is 5 minutes (6000 ticks)
|
||||
history-interval: 6000
|
||||
# Length of the whole timing history in ticks
|
||||
# Default is 1 hour (72000 ticks)
|
||||
# This value is capped at a maximum of history-interval * 12
|
||||
history-length: 72000
|
||||
# For special cases of servers with special permission to bypass the max
|
||||
# This max helps keep data file sizes reasonable for processing on Aikar's Timing parser side
|
||||
# Setting this will not help you bypass the max unless Aikar has added an exception on the API side
|
||||
bypass-max: false
|
||||
# If set to true, name of your server won't be sent
|
||||
privacy: false
|
||||
ignore: []
|
||||
|
||||
level-settings:
|
||||
# The default format that levels will use when created
|
||||
default-format: anvil
|
||||
# Automatically change levels tick rate to maintain 20 ticks per second
|
||||
auto-tick-rate: true
|
||||
auto-tick-rate-limit: 20
|
||||
# Sets the base tick rate (1 = 20 ticks per second, 2 = 10 ticks per second, etc.)
|
||||
base-tick-rate: 1
|
||||
# Tick all players each tick even when other settings disallow this
|
||||
always-tick-players: false
|
||||
tick-redstone: true
|
||||
|
||||
chunk-saving:
|
||||
maximum-size-per-chunk: 1048576
|
||||
|
||||
chunk-sending:
|
||||
# Amount of chunks sent to players per tick
|
||||
per-tick: 8
|
||||
# Amount of chunks sent around each player
|
||||
max-chunks: 192
|
||||
# Amount of chunks that need to be sent before spawning the player
|
||||
spawn-threshold: 56
|
||||
# Save a serialized copy of the chunk in memory for faster sending
|
||||
# Useful in mostly-static worlds where lots of players join at the same time
|
||||
cache-chunks: false
|
||||
|
||||
chunk-ticking:
|
||||
# Max amount of chunks processed each tick
|
||||
per-tick: 40
|
||||
# Radius of chunks around a player to tick
|
||||
tick-radius: 3
|
||||
light-updates: false
|
||||
clear-tick-list: false
|
||||
|
||||
chunk-generation:
|
||||
# Max. amount of chunks in the waiting queue to be generated
|
||||
queue-size: 8
|
||||
# Max. amount of chunks in the waiting queue to be populated
|
||||
population-queue-size: 8
|
||||
|
||||
# Max tick rate for these entities
|
||||
ticks-per:
|
||||
animal-spawns: 400
|
||||
monster-spawns: 1
|
||||
autosave: 6000
|
||||
cache-cleanup: 900
|
||||
|
||||
memory-compression:
|
||||
enable: true
|
||||
slots: 32
|
||||
default-temperature: 32
|
||||
threshold:
|
||||
freezing-point: 0
|
||||
boiling-point: 1024
|
||||
absolute-zero: -256
|
||||
heat:
|
||||
melting: 16
|
||||
single-operation: 1
|
||||
batch-operation: 32
|
||||
|
||||
|
||||
# Max amount of these entities
|
||||
spawn-limits:
|
||||
monsters: 70
|
||||
animals: 15
|
||||
water-animals: 5
|
||||
ambient: 15
|
||||
|
||||
player:
|
||||
# If true, player data will be saved as players/playername.dat
|
||||
# If false, nukkit won't save player data as "dat" files, in order that plugins can do something on it.
|
||||
save-player-data: true
|
||||
# The time between skin change action in seconds, set to 0 if you dont want the cooldown
|
||||
skin-change-cooldown: 30
|
||||
force-skin-trusted: false
|
||||
check-movement: true
|
||||
|
||||
aliases:
|
||||
# Aliases for commands
|
||||
# Examples:
|
||||
# showtheversion: version
|
||||
# savestop: [save-all, stop]
|
||||
|
||||
worlds:
|
||||
# These settings will override the generator set in server.properties and allows loading multiple levels
|
||||
# Examples:
|
||||
#world:
|
||||
# seed: 404
|
||||
# generator: FLAT:2;7,59x1,3x3,2;1;decoration(treecount=80 grasscount=45)
|
||||
|
||||
anti-xray:
|
||||
#world:
|
||||
# enabled: true
|
||||
# level: low
|
||||
# pre-deobfuscate: true
|
||||
40
ptero_eggs/minecraft/bedrock/PowerNukkitX/server.properties
Normal file
40
ptero_eggs/minecraft/bedrock/PowerNukkitX/server.properties
Normal file
@@ -0,0 +1,40 @@
|
||||
#Properties Config file
|
||||
#2023-07-06 06:07:52
|
||||
motd=PowerNukkitX Server
|
||||
sub-motd=https://powernukkitx.cn
|
||||
server-port=19132
|
||||
server-ip=0.0.0.0
|
||||
view-distance=12
|
||||
white-list=off
|
||||
achievements=on
|
||||
announce-player-achievements=on
|
||||
spawn-protection=16
|
||||
max-players=20
|
||||
allow-flight=off
|
||||
spawn-animals=on
|
||||
spawn-mobs=on
|
||||
gamemode=0
|
||||
force-gamemode=off
|
||||
hardcore=off
|
||||
pvp=on
|
||||
difficulty=1
|
||||
generator-settings=
|
||||
level-name=world
|
||||
level-seed=
|
||||
level-type=DEFAULT
|
||||
allow-nether=on
|
||||
allow-the_end=on
|
||||
use-terra=on
|
||||
enable-experiment-mode=on
|
||||
enable-query=on
|
||||
enable-rcon=off
|
||||
rcon.password=
|
||||
auto-save=on
|
||||
force-resources=off
|
||||
force-resources-allow-client-packs=off
|
||||
xbox-auth=on
|
||||
check-login-time=on
|
||||
disable-auto-bug-report=off
|
||||
allow-shaded=off
|
||||
server-authoritative-movement=server-auth
|
||||
network-encryption=on
|
||||
37
ptero_eggs/minecraft/bedrock/README.md
Normal file
37
ptero_eggs/minecraft/bedrock/README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Minecraft Bedrock (Formerly Pocket Edition)
|
||||
|
||||
## [Bedrock](/minecraft/bedrock/bedrock)
|
||||
|
||||
[Minecraft Bedrock Server](https://minecraft.net/en-us/download/server/bedrock/)
|
||||
The official Minecraft Bedrock (Formerly Minecraft Pocket Edition) server.
|
||||
|
||||
## [gomint](/minecraft/bedrock/gomint)
|
||||
|
||||
[Gomint Bedrock Server](https://github.com/gomint/gomint)
|
||||
No longer actively maintained.
|
||||
GoMint is a modern Minecraft Bedrock Edition server enabling you to make your visions come true
|
||||
|
||||
## [LeviLamina](/minecraft/bedrock/LeviLamina/)
|
||||
|
||||
[LeviLamina](https://github.com/LiteLDev/LeviLamina)
|
||||
A lightweight, modular and versatile mod loader for Minecraft Bedrock Edition, formerly known as LiteLoaderBDS
|
||||
|
||||
## [LiteLoaderBDS](/minecraft/bedrock/LiteLoader-bedrock/)
|
||||
|
||||
[LiteLoaderBDS](https://github.com/LiteLDev/LiteLoaderBDS)
|
||||
LiteLoaderBDS is an unofficial plugin loader that provides basic API support for Bedrock Dedicated Server.
|
||||
|
||||
## [Nukkit](/minecraft/bedrock/nukkit)
|
||||
|
||||
[Nukkit GitHub](https://github.com/Nukkit/Nukkit)
|
||||
Nukkit is a Nuclear-Powered Server Software For Minecraft: Pocket Edition
|
||||
|
||||
## [PowerNukkitX](/minecraft/bedrock/PowerNukkitX)
|
||||
|
||||
[PowerNukkitX](https://github.com/PowerNukkitX/PowerNukkitX)
|
||||
PowerNukkitX is a software for minecraft bedrock edition in Java which is a fork of PowerNukkit
|
||||
|
||||
## [PocketMine MP](/minecraft/bedrock/pocketmine_mp)
|
||||
|
||||
[PocketMine MP](https://github.com/pmmp/PocketMine-MP)
|
||||
A server software for Minecraft: Bedrock Edition in PHP
|
||||
24
ptero_eggs/minecraft/bedrock/bedrock/README.md
Normal file
24
ptero_eggs/minecraft/bedrock/bedrock/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Minecraft Bedrock
|
||||
|
||||
The official Minecraft Bedrock (Formerly Minecraft Pocket Edition) server.
|
||||
|
||||
This is an alpha release server from the mojang team.
|
||||
|
||||
### Server Ports
|
||||
|
||||
Bedrock requires a single port (default 19132)
|
||||
|
||||
| Port | default |
|
||||
|---------|----------|
|
||||
| Game | 19132 |
|
||||
|
||||
### Known Issues
|
||||
Also see the [Mojang Issue tracker](https://bugs.mojang.com/projects/BDS/issues/)
|
||||
|
||||
* On start the server will report is is listening on port 19132 but is listening on the correct port
|
||||
* Constant `NO LOG FILE` in the console before every log line.
|
||||
* Server chat is not printed to the console.
|
||||
* when you set ops in game they do not get saved.
|
||||
|
||||
### arm64
|
||||
* The arm64 may not perform as expected due to the amd64 to arm emulaton.
|
||||
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2024-09-24T13:43:50-07:00",
|
||||
"name": "Vanilla Bedrock ARM64",
|
||||
"author": "josdekurk@gmail.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\".",
|
||||
"features": [
|
||||
"pid_limit"
|
||||
],
|
||||
"docker_images": {
|
||||
"ghcr.io\/ptero-eggs\/yolks:box64": "ghcr.io\/ptero-eggs\/yolks:box64"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": "box64 .\/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 \"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-threads\": \"2\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Server started\"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "stop"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!/bin/bash\r\n\r\napt update\r\napt install -y zip unzip wget curl jq\r\n\r\ncd /mnt/server || { echo \"Failed to change directory to /mnt/server\"; exit 1; }\r\n\r\n# Default version to latest if not set\r\nBEDROCK_VERSION=${BEDROCK_VERSION:-latest}\r\n\r\n# Filename to use for the downloaded file\r\nDOWNLOAD_FILE=\"bedrock-server-installer.zip\"\r\n\r\n# Minecraft CDN Akamai blocks script user-agents\r\nRANDVERSION=$(echo $((1 + $RANDOM % 4000)))\r\n\r\n\r\nif [ \"${BEDROCK_VERSION}\" == \"latest\" ]; then\r\n echo \"Finding latest Bedrock server version\"\r\n DOWNLOAD_URL=$(curl --silent https://net-secondary.web.minecraft-services.net/api/v1.0/download/links | jq -r '.result.links[] | select(.downloadType == \"serverBedrockLinux\") | .downloadUrl')\r\n if [ -z \"${DOWNLOAD_URL}\" ]; then\r\n echo \"Failed to retrieve the latest Bedrock server version. Please check your network connection or the Minecraft API.\"\r\n exit 1\r\n fi\r\nelse\r\n echo \"Downloading ${BEDROCK_VERSION} Bedrock server\"\r\n DOWNLOAD_URL=https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-$BEDROCK_VERSION.zip\r\nfi\r\n\r\necho \"Download URL: $DOWNLOAD_URL\"\r\n\r\n\r\n\r\n\r\n\r\necho -e \"Backing up config files\"\r\nmkdir /tmp/config_backup\r\ncp -v server.properties /tmp/config_backup/ 2>/dev/null \r\ncp -v permissions.json /tmp/config_backup/ 2>/dev/null \r\ncp -v allowlist.json /tmp/config_backup/ 2>/dev/null \r\n\r\n\r\n\r\necho -e \"Downloading files from: $DOWNLOAD_URL\"\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\n\r\necho -e \"Restoring backup config files\"\r\ncp -rfv /tmp/config_backup/* /mnt/server/ 2>/dev/null || { echo \"No files to restore\"; }\r\n\r\nchmod +x bedrock_server\r\n\r\necho -e \"Install Completed\"",
|
||||
"container": "ghcr.io\/ptero-eggs\/installers:debian",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Bedrock Version",
|
||||
"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": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:20",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "ld lib path",
|
||||
"description": "Dumb reasons to need this",
|
||||
"env_variable": "LD_LIBRARY_PATH",
|
||||
"default_value": ".",
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20",
|
||||
"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|max:50",
|
||||
"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|in:survival,creative,adventure",
|
||||
"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|in:peaceful,easy,normal,hard",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"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|in:true,false",
|
||||
"field_type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2025-06-15T07:15:38+00: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\".",
|
||||
"features": [
|
||||
"pid_limit"
|
||||
],
|
||||
"docker_images": {
|
||||
"ghcr.io\/ptero-eggs\/yolks:debian": "ghcr.io\/ptero-eggs\/yolks:debian"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"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 \"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 }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Server started\"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "stop"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\n\r\napt update\r\napt install -y zip unzip wget curl jq\r\n\r\ncd \/mnt\/server || { echo \"Failed to change directory to \/mnt\/server\"; exit 1; }\r\n\r\n# Default version to latest if not set\r\nBEDROCK_VERSION=${BEDROCK_VERSION:-latest}\r\n\r\n# Filename to use for the downloaded file\r\nDOWNLOAD_FILE=\"bedrock-server-installer.zip\"\r\n\r\n# Minecraft CDN Akamai blocks script user-agents\r\nRANDVERSION=$(echo $((1 + $RANDOM % 4000)))\r\n\r\n\r\nif [ \"${BEDROCK_VERSION}\" == \"latest\" ]; then\r\n echo \"Finding latest Bedrock server version\"\r\n DOWNLOAD_URL=$(curl --silent https:\/\/net-secondary.web.minecraft-services.net\/api\/v1.0\/download\/links | jq -r '.result.links[] | select(.downloadType == \"serverBedrockLinux\") | .downloadUrl')\r\n if [ -z \"${DOWNLOAD_URL}\" ]; then\r\n echo \"Failed to retrieve the latest Bedrock server version. Please check your network connection or the Minecraft API.\"\r\n exit 1\r\n fi\r\nelse\r\n echo \"Downloading ${BEDROCK_VERSION} Bedrock server\"\r\n DOWNLOAD_URL=https:\/\/www.minecraft.net\/bedrockdedicatedserver\/bin-linux\/bedrock-server-$BEDROCK_VERSION.zip\r\nfi\r\n\r\necho \"Download URL: $DOWNLOAD_URL\"\r\n\r\n\r\n\r\n\r\n\r\necho -e \"Backing up config files\"\r\nmkdir \/tmp\/config_backup\r\ncp -v server.properties \/tmp\/config_backup\/ 2>\/dev\/null \r\ncp -v permissions.json \/tmp\/config_backup\/ 2>\/dev\/null \r\ncp -v allowlist.json \/tmp\/config_backup\/ 2>\/dev\/null \r\n\r\n\r\n\r\necho -e \"Downloading files from: $DOWNLOAD_URL\"\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\n\r\necho -e \"Restoring backup config files\"\r\ncp -rfv \/tmp\/config_backup\/* \/mnt\/server\/ 2>\/dev\/null || { echo \"No files to restore\"; }\r\n\r\nchmod +x bedrock_server\r\n\r\necho -e \"Install Completed\"",
|
||||
"container": "ghcr.io\/ptero-eggs\/installers:debian",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Bedrock Version",
|
||||
"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": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:20",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "ld lib path",
|
||||
"description": "Dumb reasons to need this",
|
||||
"env_variable": "LD_LIBRARY_PATH",
|
||||
"default_value": ".",
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20",
|
||||
"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|max:50",
|
||||
"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|in:survival,creative,adventure",
|
||||
"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|in:peaceful,easy,normal,hard",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"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|in:true,false",
|
||||
"field_type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
11
ptero_eggs/minecraft/bedrock/gomint/README.md
Normal file
11
ptero_eggs/minecraft/bedrock/gomint/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# gomint
|
||||
|
||||
Easy-to-use, highly configurable Minecraft Bedrock Edition
server software with the ability to sustain in a low-resource environment.
|
||||
|
||||
### Server Ports
|
||||
|
||||
Bedrock server require a single port (default 19132)
|
||||
|
||||
| Port | default |
|
||||
|---------|----------|
|
||||
| Game | 19132 |
|
||||
39
ptero_eggs/minecraft/bedrock/gomint/egg-go-mint.json
Normal file
39
ptero_eggs/minecraft/bedrock/gomint/egg-go-mint.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2024-04-02T11:06:25+02:00",
|
||||
"name": "GoMint",
|
||||
"author": "parker@parkervcp.com",
|
||||
"description": "A performant and stable Minecraft server software for the Bedrock Edition that comes with a modern API and support for Java 11 LTS.",
|
||||
"features": [
|
||||
"eula",
|
||||
"java_version",
|
||||
"pid_limit"
|
||||
],
|
||||
"docker_images": {
|
||||
"Java 21": "ghcr.io\/ptero-eggs\/yolks:java_21",
|
||||
"Java 17": "ghcr.io\/ptero-eggs\/yolks:java_17",
|
||||
"Java 16": "ghcr.io\/ptero-eggs\/yolks:java_16",
|
||||
"Java 11": "ghcr.io\/ptero-eggs\/yolks:java_11",
|
||||
"Java 8": "ghcr.io\/ptero-eggs\/yolks:java_8"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": "java --add-opens java.base\/java.nio=io.netty.common --add-exports java.base\/jdk.internal.misc=io.netty.common -p modules -m gomint.server\/io.gomint.server.Bootstrap",
|
||||
"config": {
|
||||
"files": "{\r\n \"server.yml\": {\r\n \"parser\": \"yml\",\r\n \"find\": {\r\n \"listener.port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Done in \"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "stop"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#! \/bin\/bash\r\n\r\nGITHUB_PACKAGE=gomint\/gomint\r\n\r\napt update\r\napt install -y curl jq file unzip\r\n\r\nif [ ! -d \/mnt\/server\/ ]; then\r\n mkdir -p \/mnt\/server\/\r\nfi\r\n\r\ncd \/mnt\/server\/\r\n\r\nif [ -z \"${GITHUB_USER}\" ] && [ -z \"${GITHUB_OAUTH_TOKEN}\" ] ; then\r\n echo -e \"using anon api call\"\r\nelse\r\n echo -e \"user and oauth token set\"\r\n alias curl='curl -u ${GITHUB_USER}:${GITHUB_OAUTH_TOKEN} '\r\nfi\r\n\r\n# retrieve latest tag to be used as version match, because gomint doesn't use normal releases\r\nLATEST_VERSION=$(curl -sL https:\/\/api.github.com\/repos\/gomint\/gomint\/tags | jq -r '.[-1].name')\r\n\r\nDOWNLOAD_URL=https:\/\/github.com\/gomint\/gomint\/releases\/download\/${LATEST_VERSION}\/${LATEST_VERSION}.zip\r\n\r\nif [ ! -z \"${DOWNLOAD_URL}\" ]; then \r\n if curl --output \/dev\/null --silent --head --fail ${DOWNLOAD_URL}; then\r\n echo -e \"download link is valid. setting download link to ${DOWNLOAD_URL}\"\r\n VALIDATED_URL=${DOWNLOAD_URL}\r\n else \r\n echo -e \"download link is invalid, something went wrong. Closing out\"\r\n exit 2\r\n fi\r\nfi\r\n\r\ncurl -sSL -o ${VALIDATED_URL##*\/} ${VALIDATED_URL}\r\n\r\nFILETYPE=$(file -F ',' ${VALIDATED_URL##*\/} | cut -d',' -f2 | cut -d' ' -f2)\r\nif [ \"$FILETYPE\" == \"gzip\" ]; then\r\n tar xzvf ${VALIDATED_URL##*\/}\r\nelif [ \"$FILETYPE\" == \"Zip\" ]; then\r\n unzip ${VALIDATED_URL##*\/} -d modules\/\r\nelif [ \"$FILETYPE\" == \"XZ\" ]; then\r\n tar xvf ${VALIDATED_URL##*\/}\r\nelse\r\n echo -e \"unknown filetype. Exiting\"\r\n # exit 2 \r\nfi\r\n\r\n# Move files into correct folders and remove unnecessary stuff\r\nrm ${VALIDATED_URL##*\/}\r\nmv modules\/modules\/* modules\r\nrm -rf modules\/modules\r\nrm modules\/start.*\r\n\r\n# Fetch server config\r\nif [ ! -f server.yml ]; then\r\n curl -sSL -o server.yml https:\/\/raw.githubusercontent.com\/ptero-eggs\/game-eggs\/main\/minecraft\/bedrock\/gomint\/server.yml\r\nfi\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
|
||||
"container": "ghcr.io\/ptero-eggs\/installers:debian",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": []
|
||||
}
|
||||
4
ptero_eggs/minecraft/bedrock/gomint/server.yml
Normal file
4
ptero_eggs/minecraft/bedrock/gomint/server.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
# The host and port to bind the server to
|
||||
listener:
|
||||
port: 19132
|
||||
ip: 0.0.0.0
|
||||
5
ptero_eggs/minecraft/bedrock/nukkit/README.md
Normal file
5
ptero_eggs/minecraft/bedrock/nukkit/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Nukkit
|
||||
|
||||
[Nukkit](https://github.com/CloudburstMC/Nukkit)
|
||||
|
||||
Nukkit is a nuclear-powered server software for Minecraft Bedrock Edition
|
||||
55
ptero_eggs/minecraft/bedrock/nukkit/egg-nukkit.json
Normal file
55
ptero_eggs/minecraft/bedrock/nukkit/egg-nukkit.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2025-04-20T21:46:27+00:00",
|
||||
"name": "Nukkit",
|
||||
"author": "parker@parkervcp.com",
|
||||
"description": "Nukkit is a nuclear-powered server software for Minecraft Bedrock Edition\r\n\r\nhttps:\/\/cloudburstmc.org",
|
||||
"features": null,
|
||||
"docker_images": {
|
||||
"Java 21": "ghcr.io\/ptero-eggs\/yolks:java_21",
|
||||
"Java 17": "ghcr.io\/ptero-eggs\/yolks:java_17",
|
||||
"Java 11": "ghcr.io\/ptero-eggs\/yolks:java_11",
|
||||
"Java 8": "ghcr.io\/ptero-eggs\/yolks:java_8"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}} --language eng",
|
||||
"config": {
|
||||
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \")! \"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "stop"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/ash\r\n# Nukkit Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napk add --no-cache openssl\r\n\r\ncd \/mnt\/server\r\n\r\n## Only download if a path is provided, otherwise continue.\r\nif [ \"${NUKKIT_VERSION}\" == \"latest\" ]; then\r\n wget https:\/\/repo.opencollab.dev\/api\/maven\/latest\/file\/maven-snapshots\/cn\/nukkit\/nukkit\/1.0-SNAPSHOT?extension=jar -O ${SERVER_JARFILE}\r\nelif [ -n \"${NUKKIT_VERSION}\" ]; then\r\n wget https:\/\/repo.opencollab.dev\/maven-snapshots\/cn\/nukkit\/nukkit\/1.0-SNAPSHOT\/nukkit-${NUKKIT_VERSION}.jar -O ${SERVER_JARFILE}\r\nfi\r\n\r\necho -s \"Install completed!\"",
|
||||
"container": "ghcr.io\/ptero-eggs\/installers:alpine",
|
||||
"entrypoint": "ash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Server Jar File",
|
||||
"description": "The name of the Nukkit jar file to run the server with.",
|
||||
"env_variable": "SERVER_JARFILE",
|
||||
"default_value": "server.jar",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Nukkit Version",
|
||||
"description": "The snapshot version of Nukkit to download (e.g. 1.0-20250805.172443-1219). Use \"latest\" for latest or leave empty and download manually.",
|
||||
"env_variable": "NUKKIT_VERSION",
|
||||
"default_value": "latest",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:50",
|
||||
"field_type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
103
ptero_eggs/minecraft/bedrock/nukkit/nukkit.yml
Normal file
103
ptero_eggs/minecraft/bedrock/nukkit/nukkit.yml
Normal file
@@ -0,0 +1,103 @@
|
||||
# Advanced configuration file for Nukkit
|
||||
# Some of these settings are safe, others can break your server if modified incorrectly
|
||||
# New settings/defaults won't appear automatically on this file when upgrading
|
||||
|
||||
settings:
|
||||
#Multi-language setting
|
||||
#Available: eng, chs, cht, jpn, rus, spa, pol, bra, kor, ukr, deu, ltu, idn, cze, tur, fin
|
||||
language: "eng"
|
||||
#Whether to send all strings translated to server locale or let the device handle them
|
||||
force-language: false
|
||||
shutdown-message: "Server closed"
|
||||
#Allow listing plugins via Query
|
||||
query-plugins: true
|
||||
#Show a console message when a plugin uses deprecated API methods
|
||||
deprecated-verbose: true
|
||||
#Number of AsyncTask workers
|
||||
#If set to auto, it'll try to detect the number of cores (and at least 4)
|
||||
async-workers: auto
|
||||
|
||||
network:
|
||||
#Threshold for batching packets, in bytes. Only these packets will be compressed
|
||||
#Set to 0 to compress everything, -1 to disable
|
||||
batch-threshold: 256
|
||||
#Compression level used of Zlib when sending batched packets. Higher = more CPU, less bandwidth usage
|
||||
compression-level: 5
|
||||
#Enable high performance packet compression using Snappy (experimental)
|
||||
compression-use-snappy: false
|
||||
#Enable network encryption
|
||||
encryption: true
|
||||
|
||||
debug:
|
||||
#If > 1, it will show debug messages in the console
|
||||
level: 1
|
||||
|
||||
level-settings:
|
||||
#The default format that levels will use when created
|
||||
default-format: leveldb
|
||||
#Automatically change levels tick rate to maintain 20 ticks per second
|
||||
auto-tick-rate: true
|
||||
auto-tick-rate-limit: 20
|
||||
#Sets the base tick rate (1 = 20 ticks per second, 2 = 10 ticks per second, etc.)
|
||||
base-tick-rate: 1
|
||||
#Tick all players each tick even when other settings disallow this
|
||||
always-tick-players: false
|
||||
|
||||
chunk-sending:
|
||||
#Amount of chunks sent to players per tick
|
||||
per-tick: 4
|
||||
#Amount of chunks that need to be sent before spawning the player
|
||||
spawn-threshold: 56
|
||||
#Save a serialized copy of the chunk in memory for faster sending
|
||||
#Useful in mostly-static worlds where lots of players join at the same time
|
||||
cache-chunks: false
|
||||
|
||||
chunk-ticking:
|
||||
#Max amount of chunks processed each tick
|
||||
per-tick: 40
|
||||
#Radius of chunks around a player to tick
|
||||
tick-radius: 3
|
||||
clear-tick-list: false
|
||||
|
||||
chunk-generation:
|
||||
#Max. amount of chunks in the waiting queue to be generated
|
||||
queue-size: 8
|
||||
#Max. amount of chunks in the waiting queue to be populated
|
||||
population-queue-size: 8
|
||||
|
||||
leveldb:
|
||||
#Use native LevelDB implementation for better performance
|
||||
use-native: false
|
||||
#Set LevelDB memory cache size
|
||||
cache-size-mb: 80
|
||||
|
||||
ticks-per:
|
||||
#How often worlds and player data are saved when auto-save=on in server.properties
|
||||
autosave: 6000
|
||||
|
||||
player:
|
||||
#If true, player data will be saved as players/playername.dat
|
||||
#If false, nukkit won't save player data as "dat" files, in order that plugins can do something on it.
|
||||
save-player-data: true
|
||||
#The time between skin change action in seconds, set to 0 if you dont want the cooldown
|
||||
skin-change-cooldown: 15
|
||||
#Attacking entities resets sprinting, you can disable that here
|
||||
attack-stop-sprint: true
|
||||
|
||||
aliases:
|
||||
#Aliases for commands
|
||||
#Examples:
|
||||
#showtheversion: version
|
||||
#savestop: [save-all, stop]
|
||||
|
||||
worlds:
|
||||
#Worlds that the server will use. Options are specific to the chosen generator, and may result in broken generation or
|
||||
#be ignored completely.
|
||||
world:
|
||||
#seed: 404
|
||||
generator: normal
|
||||
#options:
|
||||
nether:
|
||||
#seed: my_cool_nether_seed
|
||||
generator: nether
|
||||
#options:
|
||||
29
ptero_eggs/minecraft/bedrock/nukkit/server.properties
Normal file
29
ptero_eggs/minecraft/bedrock/nukkit/server.properties
Normal file
@@ -0,0 +1,29 @@
|
||||
server-ip=0.0.0.0
|
||||
server-port=19132
|
||||
query.port=19132
|
||||
motd=A Minecraft Server
|
||||
sub-motd=Powered by Nukkit
|
||||
view-distance=10
|
||||
achievements=on
|
||||
announce-player-achievements=on
|
||||
spawn-protection=16
|
||||
gamemode=0
|
||||
force-gamemode=off
|
||||
difficulty=2
|
||||
hardcore=off
|
||||
pvp=on
|
||||
white-list=off
|
||||
generator-settings=
|
||||
level-name=world
|
||||
level-seed=
|
||||
level-type=default
|
||||
enable-rcon=off
|
||||
force-resources=off
|
||||
force-resources-allow-client-packs=off
|
||||
xbox-auth=on
|
||||
auto-save=on
|
||||
force-language=off
|
||||
enable-query=off
|
||||
allow-flight=off
|
||||
allow-nether=on
|
||||
allow-the-end=on
|
||||
5
ptero_eggs/minecraft/bedrock/pocketmine_mp/README.md
Normal file
5
ptero_eggs/minecraft/bedrock/pocketmine_mp/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# PocketMine MP
|
||||
|
||||
[PocketMine MP](https://github.com/pmmp/PocketMine-MP)
|
||||
|
||||
A server software for Minecraft: Bedrock Edition in PHP
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2025-04-20T21:46:27+00:00",
|
||||
"name": "PocketmineMP",
|
||||
"author": "info@swisscrafting.ch",
|
||||
"description": "Pocketmine Egg\r\nby onekintaro from swisscrafting.ch\r\nwith the nice help from #eggs Channel on Pterodactyl-Discord :)",
|
||||
"features": [],
|
||||
"docker_images": {
|
||||
"ghcr.io\/ptero-eggs\/yolks:debian": "ghcr.io\/ptero-eggs\/yolks:debian"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": ".\/bin\/php7\/bin\/php .\/PocketMine-MP.phar --no-wizard",
|
||||
"config": {
|
||||
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \")! \"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "stop"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\n\r\napt-get update\r\napt-get install -y git curl wget jq file tar unzip zip\r\n\r\nmkdir -p \/mnt\/server\/ # Not required. Only here for parkervcp's local test setup\r\n\r\ncd \/mnt\/server || exit 1\r\n\r\nARCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] && printf \"x86_64\" || printf \"arm64\")\r\n\r\n# Shouldn't be possible to be empty, but default to PM5 if it is and convert to uppercase\r\nVERSION=\"${VERSION:-PM5}\"\r\nVERSION=\"${VERSION^^}\"\r\n\r\n# Helper functions\r\n\r\ndownload_php_binary() {\r\n local php_binary_url\r\n if [[ \"$VERSION\" == \"PM5\" ]]; then\r\n php_binary_url=\"https:\/\/github.com\/pmmp\/PHP-Binaries\/releases\/download\/pm5-latest\/PHP-8.2-Linux-${ARCH}-PM5.tar.gz\"\r\n elif [[ \"$VERSION\" == \"PM4\" ]]; then\r\n php_binary_url=\"https:\/\/github.com\/pmmp\/PHP-Binaries\/releases\/download\/pm4-latest\/PHP-8.1-Linux-${ARCH}-PM4.tar.gz\"\r\n else\r\n printf \"Unsupported version: %s\\n\" \"${VERSION}\"\r\n exit 1\r\n fi\r\n\r\n printf \"Downloading PHP binary for %s from %s\\n\" \"$VERSION\" \"$php_binary_url\"\r\n curl --location --progress-bar \"$php_binary_url\" | tar -xzv\r\n}\r\n\r\nset_php_extension_dir() {\r\n printf \"Configuring php.ini\\n\"\r\n EXTENSION_DIR=$(find \"bin\" -name '*debug-zts*')\r\n grep -q '^extension_dir' bin\/php7\/bin\/php.ini && \\\r\n sed -i'bak' \"s{^extension_dir=.*{extension_dir=\\\"$EXTENSION_DIR\\\"{\" bin\/php7\/bin\/php.ini || \\\r\n echo \"extension_dir=\\\"$EXTENSION_DIR\\\"\" >>bin\/php7\/bin\/php.ini\r\n}\r\n\r\ndownload_pmmp() {\r\n DOWNLOAD_LINK=$(curl -sSL https:\/\/update.pmmp.io\/api?channel=\"$API_CHANNEL\" | jq -r '.download_url')\r\n printf \"Downloading %s from %s\\n\" \"$VERSION\" \"${DOWNLOAD_LINK}\"\r\n curl --location --progress-bar \"${DOWNLOAD_LINK}\" --output PocketMine-MP.phar\r\n}\r\n\r\n# We have to convert VERSION into an API channel\r\nif [[ \"${VERSION}\" == \"PM4\" ]]; then\r\n API_CHANNEL=\"4\"\r\n\r\nelif [[ \"${VERSION}\" == \"PM5\" ]]; then\r\n API_CHANNEL=\"stable\"\r\nelse\r\n printf \"Unsupported version: %s\\n\" \"${VERSION}\"\r\n exit 1\r\nfi\r\n\r\nREQUIRED_PHP_VERSION=$(curl -sSL https:\/\/update.pmmp.io\/api?channel=\"$API_CHANNEL\" | jq -r '.php_version')\r\n\r\nif [[ \"${ARCH}\" == \"x86_64\" ]]; then\r\n download_php_binary\r\n\r\n# There are no ARM64 PHP binaries yet, so we have to compile them\r\nelse\r\n apt-get install -y make autoconf automake m4 bzip2 bison g++ cmake pkg-config re2c libtool-bin\r\n \r\n mkdir -p \/mnt\/server\/build_cache\/archives\r\n mkdir -p \/mnt\/server\/build_cache\/compilation\r\n \r\n # Each PHP version has its own compile script, so we have to download the correct one\r\n echo \"Running curl to download compile.sh for PHP version $REQUIRED_PHP_VERSION\"\r\n curl --location --progress-bar --remote-name https:\/\/raw.githubusercontent.com\/pmmp\/PHP-Binaries\/latest\/compile.sh\r\n chmod +x compile.sh\r\n\r\n cat <<EOF\r\n----------------------------------------\r\n| |\r\n| Compiling PHP Binary for ARM64 |\r\n| |\r\n| This is a time consuming process |\r\n----------------------------------------\r\nEOF\r\n\r\n printf \"\\n\\nCompiling PHP binary, this is a slow process and will take time\\n\"\r\n THREADS=$(grep -c ^processor \/proc\/cpuinfo) || THREADS=1\r\n .\/compile.sh -j \"${THREADS}\" -c \/mnt\/server\/build_cache\/archives -l \/mnt\/server\/build_cache\/compilation -z \"${REQUIRED_PHP_VERSION}\"\r\n rm compile.sh\r\n rm -rf install_data\/\r\n\r\nfi\r\n\r\n# Steps below are the same for both architectures\r\ndownload_pmmp\r\nset_php_extension_dir || exit 1\r\n\r\nif [[ ! -f server.properties ]]; then\r\n printf \"Downloading default server.properties template\\n\"\r\n curl --location --progress-bar --remote-name https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/minecraft\/bedrock\/pocketmine_mp\/server.properties\r\nfi\r\n\r\nprintf \"Creating default file and folder structure\\n\"\r\ntouch banned-ips.txt banned-players.txt ops.txt white-list.txt server.log\r\nmkdir -p players worlds plugins resource_packs\r\n\r\ncat <<EOF\r\n----------------------------------------\r\n| |\r\n| PocketMine-MP Installation Done |\r\n| |\r\n----------------------------------------\r\nEOF",
|
||||
"container": "ghcr.io\/ptero-eggs\/installers:debian",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Version to install",
|
||||
"description": "Latest PocketMine version to install.",
|
||||
"env_variable": "VERSION",
|
||||
"default_value": "PM5",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|in:PM5,PM4",
|
||||
"field_type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
28
ptero_eggs/minecraft/bedrock/pocketmine_mp/server.properties
Normal file
28
ptero_eggs/minecraft/bedrock/pocketmine_mp/server.properties
Normal file
@@ -0,0 +1,28 @@
|
||||
#Properties Config file
|
||||
#Tue Jul 3 19:14:16 UTC 2018
|
||||
motd=PocketMine-MP Server
|
||||
server-port=25573
|
||||
white-list=off
|
||||
announce-player-achievements=on
|
||||
spawn-protection=16
|
||||
max-players=20
|
||||
allow-flight=off
|
||||
spawn-animals=on
|
||||
spawn-mobs=on
|
||||
gamemode=0
|
||||
force-gamemode=off
|
||||
hardcore=off
|
||||
pvp=on
|
||||
difficulty=1
|
||||
generator-settings=
|
||||
level-name=world
|
||||
level-seed=
|
||||
level-type=DEFAULT
|
||||
enable-query=true
|
||||
enable-rcon=off
|
||||
rcon.password=
|
||||
auto-save=on
|
||||
view-distance=8
|
||||
xbox-auth=on
|
||||
server-ip=0.0.0.0
|
||||
query.port=25573
|
||||
Reference in New Issue
Block a user