From fe9154976919ddd67d38889c390c21c059dc4b6e Mon Sep 17 00:00:00 2001 From: Aaronstar-McClure Date: Tue, 3 Nov 2020 20:13:20 -0500 Subject: [PATCH] add minetest (egg by niansa) --- README.md | 2 ++ minetest/README.md | 3 +++ minetest/egg-minetest.json | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 minetest/README.md create mode 100644 minetest/egg-minetest.json diff --git a/README.md b/README.md index 8fcfa050..65453523 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,8 @@ If you are reading this it looks like you are looking to add an egg to your serv [Mindustry](/mindustry/) +[Minetest](/minetest/) (including MTG) + [Minecraft](/minecraft/) * [Bedrock](/minecraft/bedrock/) * [Bedrock](/minecraft/bedrock/bedrock/) diff --git a/minetest/README.md b/minetest/README.md new file mode 100644 index 00000000..591733ca --- /dev/null +++ b/minetest/README.md @@ -0,0 +1,3 @@ +# Minetest + +An open source voxel game engine. Play one of our many games, mod a game to your liking, make your own game, or play on a multiplayer server. diff --git a/minetest/egg-minetest.json b/minetest/egg-minetest.json new file mode 100644 index 00000000..f648a4b2 --- /dev/null +++ b/minetest/egg-minetest.json @@ -0,0 +1,36 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2020-11-02T22:59:26-05:00", + "name": "Minetest", + "author": "support@pterodactyl.io", + "description": "An open source voxel game engine. Play one of our many games, mod a game to your liking, make your own game, or play on a multiplayer server.", + "image": "quay.io\/parkervcp\/pterodactyl-images:base_ubuntu", + "startup": ".\/bin\/minetestserver --port {{SERVER_PORT}}", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \" listening on \",\r\n \"userInteraction\": []\r\n}", + "logs": "{\r\n \"custom\": false,\r\n \"location\": \"debug.txt\"\r\n}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# Minetest Installation Script\r\ncd \/mnt\/server &&\r\n\r\n# Install installation dependencies\r\napt update &&\r\napt -y install unzip wget build-essential libirrlicht-dev cmake libbz2-dev libjpeg-dev libxxf86vm-dev libsqlite3-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev luajit libncurses5-dev &&\r\n#touch test &&\r\n\r\n# Download, compile and prepare the engine\r\nwget -Osrc.zip https:\/\/github.com\/minetest\/minetest\/archive\/\"${MTVERSION}\".zip &&\r\nunzip .\/src.zip &&\r\nrm .\/src.zip &&\r\ncd .\/minetest-\"${MTVERSION}\" &&\r\ncmake . -DRUN_IN_PLACE=TRUE -DBUILD_CLIENT=FALSE -DBUILD_SERVER=TRUE -DENABLE_GLES=OFF -DENABLE_POSTGRESQL=OFF -DENABLE_REDIS=OFF -DENABLE_SOUND=OFF -DENABLE_LEVELDB=OFF -DENABLE_SPATIAL=OFF &&\r\nmake -j$(nproc) &&\r\nmake package &&\r\nmv .\/minetest-\"${MTVERSION}\"-linux.tar.gz ..\/ &&\r\ncd .. &&\r\nrm -rf .\/minetest-\"${MTVERSION}\" &&\r\ntar xfz .\/minetest-\"${MTVERSION}\"-linux.tar.gz &&\r\nrm minetest-\"${MTVERSION}\"-linux.tar.gz &&\r\nmv .\/minetest-\"${MTVERSION}\"-linux\/* .\/ &&\r\nrm -rf minetest-\"${MTVERSION}\"-linux &&\r\ntouch .\/minetest.conf &&\r\n\r\n# Download and prepare the game\r\ncd .\/games &&\r\nwget -Ominetest_game.zip https:\/\/github.com\/minetest\/minetest_game\/archive\/\"${MTVERSION}\".zip &&\r\nunzip minetest_game.zip &&\r\n#rm minetest_game.zip &&\r\nmv minetest_game-\"${MTVERSION}\" minetest_game &&\r\ncd .. &&\r\n\r\n# Clean up a bit\r\nrm -rf clientmods unix doc client fonts textures &&\r\n\r\n# Done!\r\necho \"Installation was successfully completed!\"", + "container": "ubuntu:18.04", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Version", + "description": "The version of MT to install. Releases only", + "env_variable": "MTVERSION", + "default_value": "5.3.0", + "user_viewable": false, + "user_editable": true, + "rules": "required|string|max:10" + } + ] +} \ No newline at end of file