From 103661d5a2ce54976b07dc356679be01e198d760 Mon Sep 17 00:00:00 2001 From: "Michael (Parker) Parker" Date: Sat, 30 Jun 2018 12:50:48 -0400 Subject: [PATCH] PockemineMP cleanup Cleaning up the pocketmine mp install and startup. --- .../PocketmineMP/egg-pocketmine-m-p.json | 26 +++++++++++++++++++ Minecraft PE/PocketmineMP/egg-pocketmine.json | 26 ------------------- README.md | 3 +++ 3 files changed, 29 insertions(+), 26 deletions(-) create mode 100644 Minecraft PE/PocketmineMP/egg-pocketmine-m-p.json delete mode 100644 Minecraft PE/PocketmineMP/egg-pocketmine.json diff --git a/Minecraft PE/PocketmineMP/egg-pocketmine-m-p.json b/Minecraft PE/PocketmineMP/egg-pocketmine-m-p.json new file mode 100644 index 00000000..23810ae6 --- /dev/null +++ b/Minecraft PE/PocketmineMP/egg-pocketmine-m-p.json @@ -0,0 +1,26 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2018-06-30T12:48:46-04: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 :)", + "image": "quay.io\/pterodactyl\/core:glibc", + "startup": ".\/bin\/php7\/bin\/php .\/PocketMine-MP.phar --no-wizard --disable-ansi", + "config": { + "files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"enable-query\": \"true\",\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 \"userInteraction\": [\r\n \"Go to eula.txt for more info.\"\r\n ]\r\n}", + "logs": "{\r\n \"custom\": false,\r\n \"location\": \"server.log\"\r\n}", + "stop": "stop" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/ash\r\n\r\napk add --no-cache curl\r\n\r\ncd \/mnt\/server\r\n\r\necho -e \"\\n downloading latest pocketmine MP build\"\r\ncurl -sSL -o PocketMine-MP.phar https:\/\/jenkins.pmmp.io\/job\/PocketMine-MP\/Stable\/artifact\/PocketMine-MP.phar\r\n\r\necho -e \"\\n downloading latest php7 build from pocketmine\"\r\ncurl -sSL -o php.binary.tar.gz https:\/\/jenkins.pmmp.io\/job\/PHP-7.2-Aggregate\/6\/artifact\/PHP-7.2-Linux-x86_64.tar.gz\r\n\r\necho -e \"\\n unpacking php7 binaries\"\r\ntar -xzvf php.binary.tar.gz\r\necho -e \"\\n removing pvp7 packages\"\r\nrm -rf \/mnt\/server\/php.binary.tar.gz\r\n\r\necho -e \"\\n creating files and folders\"\r\ntouch banned-ips.tx banned-players.txt ops.txt white-list.txt server.log\r\nmkdir -p players worlds plugins resource_packs", + "container": "alpine:3.7", + "entrypoint": "ash" + } + }, + "variables": [] +} \ No newline at end of file diff --git a/Minecraft PE/PocketmineMP/egg-pocketmine.json b/Minecraft PE/PocketmineMP/egg-pocketmine.json deleted file mode 100644 index f3b8db11..00000000 --- a/Minecraft PE/PocketmineMP/egg-pocketmine.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", - "meta": { - "version": "PTDL_v1" - }, - "exported_at": "2018-06-24T00:46:38+02: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 :)", - "image": "quay.io\/onekintaro\/pocketmine-mp:latest", - "startup": ".\/start.sh --no-wizard --disable-ansi", - "config": { - "files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"enable-query\": \"true\",\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 \"userInteraction\": [\r\n \"Go to eula.txt for more info.\"\r\n ]\r\n}", - "logs": "{\r\n \"custom\": false,\r\n \"location\": \"server.log\"\r\n}", - "stop": "stop" - }, - "scripts": { - "installation": { - "script": "#!\/bin\/bash\r\napt -y update\r\napt -y --no-install-recommends install curl unzip lib32gcc1 ca-certificates\r\n\r\nmkdir -p \/mnt\/server\r\n\r\ncd \/mnt\/server\r\ncurl -sSL -o PocketMine-MP.phar https:\/\/jenkins.pmmp.io\/job\/PocketMine-MP\/lastStableBuild\/artifact\/PocketMine-MP.phar\r\ncurl -sSL -o start.sh https:\/\/raw.githubusercontent.com\/pmmp\/PocketMine-MP\/master\/start.sh\r\ncurl -sSL -o php.binary.tar.gz https:\/\/jenkins.pmmp.io\/job\/PHP-7.2-Aggregate\/6\/artifact\/PHP-7.2-Linux-x86_64.tar.gz\r\ntar -xzvf php.binary.tar.gz\r\nrm -rf \/mnt\/server\/php.binary.tar.gz\r\nchmod +x \/mnt\/server\/start.sh\r\n\r\ntouch \/mnt\/server\/banned-ips.txt\r\ntouch \/mnt\/server\/banned-players.txt\r\ntouch \/mnt\/server\/ops.txt\r\nmkdir -p \/mnt\/server\/players\r\ntouch \/mnt\/server\/white-list.txt\r\nmkdir -p \/mnt\/server\/worlds\r\nmkdir -p \/mnt\/server\/plugins\r\nmkdir -p \/mnt\/server\/resource_packs\r\ntouch \/mnt\/server\/server.log\r\n\r\nchown -R root:root \/mnt\r\n\r\nexport HOME=\/mnt\/server", - "container": "ubuntu:latest", - "entrypoint": "bash" - } - }, - "variables": [] -} diff --git a/README.md b/README.md index 76712fbc..bad55fd7 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,9 @@ Supply values to 2 variables to use #### Nukkit The [Nukkit](https://nukkit.io/) Minecraft PE server +#### PocketmineMP +The [Pocketmine MP](https://pmmp.io/) Minecraft PE server + ### PixARK #### PixARK The [PixARK](https://store.steampowered.com/app/593600/PixARK/) dedicated server