From 69fd047b23b1fa9265c804f813af722f51c2fb94 Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Mon, 23 Nov 2020 02:06:04 -0600
Subject: [PATCH 01/12] Create egg-purpur.json
---
minecraft/java/purpur/egg-purpur.json | 37 +++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 minecraft/java/purpur/egg-purpur.json
diff --git a/minecraft/java/purpur/egg-purpur.json b/minecraft/java/purpur/egg-purpur.json
new file mode 100644
index 000000000..ea836f32a
--- /dev/null
+++ b/minecraft/java/purpur/egg-purpur.json
@@ -0,0 +1,37 @@
+{
+ "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
+ "meta": {
+ "version": "PTDL_v1"
+ },
+ "exported_at": "2020-11-23T02:59:36-05:00",
+ "name": "Purpur",
+ "author": "pemigrade@birdflop.com",
+ "description": "Fork of Paper and Tuinity providing new configuration options.",
+ "features": null,
+ "image": "quay.io\/parkervcp\/pterodactyl-images:debian_openjdk-11",
+ "startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}",
+ "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 }\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": "{}",
+ "stop": "stop"
+ },
+ "scripts": {
+ "installation": {
+ "script": "#!\/bin\/bash\r\n# Tuinity Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update\r\napt -y install curl\r\ncd \/mnt\/server\r\n\r\nif [ ! -f server.properties ]; then\r\ncurl -o server.properties https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/minecraft\/java\/server.properties\r\nfi\r\n\r\ncurl -o ${SERVER_JARFILE} https:\/\/ci.pl3x.net\/job\/Purpur\/lastSuccessfulBuild\/artifact\/final\/purpurclip.jar",
+ "container": "debian:buster-slim",
+ "entrypoint": "bash"
+ }
+ },
+ "variables": [
+ {
+ "name": "Server Jar File",
+ "description": "The name of the server jarfile to run the server with.",
+ "env_variable": "SERVER_JARFILE",
+ "default_value": "purpurclip.jar",
+ "user_viewable": true,
+ "user_editable": true,
+ "rules": "required|string|max:20"
+ }
+ ]
+}
From 9856575cee4421241672fab1da1d8dc40ccba3aa Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Mon, 23 Nov 2020 02:21:08 -0600
Subject: [PATCH 02/12] Update README.md
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index dd3c79680..a71b44a03 100644
--- a/README.md
+++ b/README.md
@@ -100,6 +100,7 @@ If you are reading this it looks like you are looking to add an egg to your serv
* [Forge](/minecraft/java/forge/)
* [Magma](/minecraft/java/magma/)
* [Paper](/minecraft/java/paper)
+ * [Purpur](/minecraft/java/purpur)
* [Spigot](/minecraft/java/spigot/)
* [spongeforge](/minecraft/java/spongeforge/)
* [SpongeVanilla](/minecraft/java/spongevanilla/)
From f2e01eca8449d3021385991cd1cab5d1342bdea2 Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Mon, 23 Nov 2020 02:25:27 -0600
Subject: [PATCH 03/12] Create README.md
---
minecraft/java/purpur/README.md | 83 +++++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)
create mode 100644 minecraft/java/purpur/README.md
diff --git a/minecraft/java/purpur/README.md b/minecraft/java/purpur/README.md
new file mode 100644
index 000000000..9aebd0bb1
--- /dev/null
+++ b/minecraft/java/purpur/README.md
@@ -0,0 +1,83 @@
+
## Purpur
-See https://github.com/pl3xgaming/purpur for additional information. I copy-pasted this readme from there.
-
[![MIT License](https://img.shields.io/github/license/pl3xgaming/Purpur?&logo=github)](License)
[![Download from Jenkins CI](https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.pl3x.net%2Fjob%2FPurpur&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAgCAYAAADud3N8AAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw1AUhU9TpUUrHewg4pChOlkQFXHUKhShQqgVWnUweekfNDEkKS6OgmvBwZ/FqoOLs64OroIg+APi5Oik6CIl3pcUWsT44PI+znvncN99gNCoMs3qGgM03TYzqaSYy6+IoVeEEaXqhSAzy5iVpDR819c9Any/S/As/3t/rj61YDEgIBLPMMO0ideJpzZtg/M+cYyVZZX4nHjUpAaJH7muePzGueSywDNjZjYzRxwjFksdrHQwK5sa8SRxXNV0yhdyHquctzhr1Rpr9clfGCnoy0tcpxpCCgtYhAQRCmqooAobCdp1Uixk6Dzp4x90/RK5FHJVwMgxjw1okF0/+B/8nq1VnBj3kiJJoPvFcT6GgdAu0Kw7zvex4zRPgOAzcKW3/RsNYPqT9Hpbix8B0W3g4rqtKXvA5Q4w8GTIpuxKQSqhWATez+ib8kD/LdCz6s2tdY7TByBLs0rfAAeHwEiJstd83h3unNu/d1rz+wHYXHJptwl4jgAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+QIDwgMGJjYLkEAAAejSURBVEjHtZZrcJTVGcd/Z2/v3nO/b0hCkiVIQEhIs9BgBRRhsGDRglinH7CdikVlcNqqzFjtzakMrbbVirSECm2HkTJcpQJTCFRZEknCTWBDEkgCmwu5brL33bcfdpNsgAh86Jl5Z973PZffeZ7zPM/5C+6xWUtsCmB+9CkHsoDcaHcbcB2oBo4Ahxy19tB4a4l7gGmB1cBPgIzYPq1GyZJZhahVCjp7BjlU1zK8oBP4JYhNjtqT4XuGFpbYELASeAsojO1b+1Q5j1VMJdeSgkIxusSQx8eFhjb+caCagzXNA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wojMYCfh9dLRc5UrID1GLzvsFWQK2BmBrIHLW2wOwPTBad9LNcfi8IzrqmLCW2PKAJnNiMjqTmXAwiN/rGTdA3K4BAn4faQI65YilX9d0RhMaSYvXPYTP4w4CCSIauTuBZfz/205HrX35/wBw2NNcMtE/igAAAABJRU5ErkJggg==)](https://ci.pl3x.net/job/Purpur)
[![CodeFactor](https://www.codefactor.io/repository/github/pl3xgaming/purpur/badge)](https://www.codefactor.io/repository/github/pl3xgaming/purpur)
From a83a4c9953b0a343704fc61ed91f64b49f46acf6 Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Mon, 23 Nov 2020 02:27:34 -0600
Subject: [PATCH 06/12] Update README.md
---
minecraft/java/purpur/README.md | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/minecraft/java/purpur/README.md b/minecraft/java/purpur/README.md
index 80cfa2771..c7f4bb780 100644
--- a/minecraft/java/purpur/README.md
+++ b/minecraft/java/purpur/README.md
@@ -29,7 +29,9 @@ Join us on [Discord](https://discord.gg/mtAAnkk)
Downloads can be obtained from Pl3x's [Jenkins CI Server](https://ci.pl3x.net/job/Purpur/).
-* [1.16.4](https://ci.pl3x.net/job/Purpur/lastSuccessfulBuild/artifact/final/purpurclip.jar) builds 809+
+* [LATEST](https://ci.pl3x.net/job/Purpur/lastSuccessfulBuild/artifact/final/purpurclip.jar)
+
+#### Legacy Builds
* [1.16.3](https://ci.pl3x.net/job/Purpur/808/artifact/final/purpurclip-808.jar) builds 751-808
* [1.16.2](https://ci.pl3x.net/job/Purpur/750/artifact/final/purpurclip-750.jar) builds 711-750
* [1.16.1](https://ci.pl3x.net/job/Purpur/710/artifact/final/purpurclip-710.jar) builds 608-710
@@ -38,14 +40,6 @@ Downloads can be obtained from Pl3x's [Jenkins CI Server](https://ci.pl3x.net/jo
* [1.15](https://ci.pl3x.net/job/Purpur/346/artifact/target/purpur-346.jar) builds 339-346
* [1.14.x](https://ci.pl3x.net/job/Purpur/337/artifact/target/purpur-337.jar) builds 337 and below
-## License
-[![MIT License](https://img.shields.io/github/license/pl3xgaming/Purpur?&logo=github)](License)
-
-Everything is licensed under the MIT license, and is free to be used in your own fork.
-
-See [starlis/empirecraft](https://github.com/starlis/empirecraft) and [electronicboy/byof](https://github.com/electronicboy/byof)
-for the license of material used/modified by this project.
-
## bStats
[![bStats Graph Data](https://bstats.org/signatures/server-implementation/Purpur.svg)](https://bstats.org/plugin/server-implementation/Purpur)
From f8cfbf79d93e024a746c92fcaeac8a70f22941e0 Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Tue, 24 Nov 2020 06:42:59 -0600
Subject: [PATCH 07/12] Update egg-purpur.json
---
minecraft/java/purpur/egg-purpur.json | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/minecraft/java/purpur/egg-purpur.json b/minecraft/java/purpur/egg-purpur.json
index ea836f32a..b7238d420 100644
--- a/minecraft/java/purpur/egg-purpur.json
+++ b/minecraft/java/purpur/egg-purpur.json
@@ -5,9 +5,11 @@
},
"exported_at": "2020-11-23T02:59:36-05:00",
"name": "Purpur",
- "author": "pemigrade@birdflop.com",
+ "author": "purpur@birdflop.com",
"description": "Fork of Paper and Tuinity providing new configuration options.",
- "features": null,
+ "features": [
+ "eula"
+ ],
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_openjdk-11",
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}",
"config": {
From cf412e83cd4023a56b487576363456b11f10967a Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Sun, 13 Dec 2020 21:56:55 -0600
Subject: [PATCH 08/12] Update README.md
---
minecraft/java/purpur/README.md | 78 ++-------------------------------
1 file changed, 3 insertions(+), 75 deletions(-)
diff --git a/minecraft/java/purpur/README.md b/minecraft/java/purpur/README.md
index c7f4bb780..c1dd790e3 100644
--- a/minecraft/java/purpur/README.md
+++ b/minecraft/java/purpur/README.md
@@ -1,77 +1,5 @@
-See https://github.com/pl3xgaming/purpur for additional information. I copy-pasted this readme from there.
+#Purpur
-
-
+Purpur is a fork of Paper and Tuinity which provides new configuration options.
-## Purpur
-
-[![MIT License](https://img.shields.io/github/license/pl3xgaming/Purpur?&logo=github)](License)
-[![Download from Jenkins CI](https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.pl3x.net%2Fjob%2FPurpur&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAgCAYAAADud3N8AAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw1AUhU9TpUUrHewg4pChOlkQFXHUKhShQqgVWnUweekfNDEkKS6OgmvBwZ/FqoOLs64OroIg+APi5Oik6CIl3pcUWsT44PI+znvncN99gNCoMs3qGgM03TYzqaSYy6+IoVeEEaXqhSAzy5iVpDR819c9Any/S/As/3t/rj61YDEgIBLPMMO0ideJpzZtg/M+cYyVZZX4nHjUpAaJH7muePzGueSywDNjZjYzRxwjFksdrHQwK5sa8SRxXNV0yhdyHquctzhr1Rpr9clfGCnoy0tcpxpCCgtYhAQRCmqooAobCdp1Uixk6Dzp4x90/RK5FHJVwMgxjw1okF0/+B/8nq1VnBj3kiJJoPvFcT6GgdAu0Kw7zvex4zRPgOAzcKW3/RsNYPqT9Hpbix8B0W3g4rqtKXvA5Q4w8GTIpuxKQSqhWATez+ib8kD/LdCz6s2tdY7TByBLs0rfAAeHwEiJstd83h3unNu/d1rz+wHYXHJptwl4jgAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+QIDwgMGJjYLkEAAAejSURBVEjHtZZrcJTVGcd/Z2/v3nO/b0hCkiVIQEhIs9BgBRRhsGDRglinH7CdikVlcNqqzFjtzakMrbbVirSECm2HkTJcpQJTCFRZEknCTWBDEkgCmwu5brL33bcfdpNsgAh86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NGVIUcPZcitcx6U4T4tAp2GGV0QDDarwTKFOAZGiQcDiMiwrxZBSyVdHomFs9ACIHf68E7NIgcTfb4lDQkvYEzjiZqfrMBgM4Yy+RoCmgFSCLy7gwLOkMyQaBVBjkcxtVzE/dAP8BJFfB3n8f9qt/rQdLpCQWDI8ARdWAwojMYCfh9dLRc5UrID1GLzvsFWQK2BmBrIHLW2wOwPTBad9LNcfi8IzrqmLCW2PKAJnNiMjqTmXAwiN/rGTdA3K4BAn4faQI65YilX9d0RhMaSYvXPYTP4w4CCSIauTuBZfz/205HrX35/wBw2NNcMtE/igAAAABJRU5ErkJggg==)](https://ci.pl3x.net/job/Purpur)
-[![CodeFactor](https://www.codefactor.io/repository/github/pl3xgaming/purpur/badge)](https://www.codefactor.io/repository/github/pl3xgaming/purpur)
-[![Join us on Discord](https://img.shields.io/discord/685683385313919172.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/mtAAnkk)
-
-[![Purpur's Stargazers](https://img.shields.io/github/stars/pl3xgaming/Purpur?label=stars&logo=github)](https://github.com/pl3xgaming/Purpur/stargazers)
-[![BillyGalbreath's Followers](https://img.shields.io/github/followers/BillyGalbreath?label=followers&logo=github)](https://github.com/BillyGalbreath?tab=followers)
-[![Purpur Forks](https://img.shields.io/github/forks/pl3xgaming/Purpur?label=forks&logo=github)](https://github.com/pl3xgaming/Purpur/network/members)
-[![Purpur Watchers](https://img.shields.io/github/watchers/pl3xgaming/Purpur?label=watchers&logo=github)](https://github.com/pl3xgaming/Purpur/watchers)
-
-Purpur is a fork of Paper and Tuinity with the goal of providing new and interesting configuration options, which allow for creating a unique gameplay experience not seen anywhere else
-
-
-
-## Contact
-[![Join us on Discord](https://img.shields.io/discord/685683385313919172.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/mtAAnkk)
-
-Join us on [Discord](https://discord.gg/mtAAnkk)
-
-## Downloads
-[![Download from Jenkins CI](https://img.shields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W2PKAJnNiMjqTmXAwiN/rGTdA3K4BAn4faQI65YilX9d0RhMaSYvXPYTP4w4CCSIauTuBZfz/205HrX35/wBw2NNcMtE/igAAAABJRU5ErkJggg==)](https://ci.pl3x.net/job/Purpur)
-
-Downloads can be obtained from Pl3x's [Jenkins CI Server](https://ci.pl3x.net/job/Purpur/).
-
-* [LATEST](https://ci.pl3x.net/job/Purpur/lastSuccessfulBuild/artifact/final/purpurclip.jar)
-
-#### Legacy Builds
-* [1.16.3](https://ci.pl3x.net/job/Purpur/808/artifact/final/purpurclip-808.jar) builds 751-808
-* [1.16.2](https://ci.pl3x.net/job/Purpur/750/artifact/final/purpurclip-750.jar) builds 711-750
-* [1.16.1](https://ci.pl3x.net/job/Purpur/710/artifact/final/purpurclip-710.jar) builds 608-710
-* [1.15.2](https://ci.pl3x.net/job/Purpur/606/artifact/final/purpurclip-606.jar) builds 398-606
-* [1.15.1](https://ci.pl3x.net/job/Purpur/397/artifact/target/purpur-397.jar) builds 348-397
-* [1.15](https://ci.pl3x.net/job/Purpur/346/artifact/target/purpur-346.jar) builds 339-346
-* [1.14.x](https://ci.pl3x.net/job/Purpur/337/artifact/target/purpur-337.jar) builds 337 and below
-
-## bStats
-
-[![bStats Graph Data](https://bstats.org/signatures/server-implementation/Purpur.svg)](https://bstats.org/plugin/server-implementation/Purpur)
-
-
-## API
-
-Purpur API maven dependency:
-```
-
- net.pl3x.purpur
- purpur-api
- 1.16.4-R0.1-SNAPSHOT
- provided
-
-```
-```
-
- purpur
- https://repo.pl3x.net/
-
-```
-
-Purpur API gradle dependency:
-```
-maven {
- name 'purpur'
- url 'https://repo.pl3x.net/'
-}
-```
-```
-compileOnly 'net.pl3x.purpur:purpur-api:1.16.4-R0.1-SNAPSHOT'
-```
-
-Yes, this also includes all API provided by Paper, Spigot, and Bukkit.
+See https://github.com/pl3xgaming/purpur for additional information.
From 33767ddf480049e60c5f79f44dc71c6e300c1267 Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Sun, 13 Dec 2020 21:57:02 -0600
Subject: [PATCH 09/12] Update README.md
---
minecraft/java/purpur/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/minecraft/java/purpur/README.md b/minecraft/java/purpur/README.md
index c1dd790e3..e5f565973 100644
--- a/minecraft/java/purpur/README.md
+++ b/minecraft/java/purpur/README.md
@@ -1,4 +1,4 @@
-#Purpur
+# Purpur
Purpur is a fork of Paper and Tuinity which provides new configuration options.
From abdf08430e369ec56f0d33f6d1be309156ea3e1a Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Sun, 13 Dec 2020 21:59:00 -0600
Subject: [PATCH 10/12] Update README.md
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 401ccc143..4ae6120bc 100644
--- a/README.md
+++ b/README.md
@@ -109,11 +109,12 @@ If you are reading this it looks like you are looking to add an egg to your serv
* [Paper](/minecraft/java/paper)
* [Purpur](/minecraft/java/purpur)
* [Spigot](/minecraft/java/spigot/)
- * [spongeforge](/minecraft/java/spongeforge/)
+ * [SpongeForge](/minecraft/java/spongeforge/)
* [SpongeVanilla](/minecraft/java/spongevanilla/)
* [Technic](/minecraft/java/technic/)
* [Tuinity](/minecraft/java/tuinity/)
* [VanillaCord](/minecraft/java/vanillacord/)
+ * [Mohist] (/minecraft/java/mohist)
* [Proxies](/minecraft/proxy) Minecraft Server Proxies
* [Java](/minecraft/proxy/java)
@@ -121,7 +122,6 @@ If you are reading this it looks like you are looking to add an egg to your serv
* [Waterfall](/minecraft/proxy/java/waterfall)
* [Travertine](/minecraft/proxy/java/travertine)
* [Velocity](/minecraft/proxy/java/velocity)
-
* [Cross Platform](/minecraft/proxy/cross_platform)
* [GeyserMC](/minecraft/proxy/cross_platform/geyser)
* [Waterdog](/minecraft/proxy/cross_platform/waterdog)
From e86a360473f42870d442b2c2291e6e4bb468c057 Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Sun, 13 Dec 2020 22:37:09 -0600
Subject: [PATCH 11/12] Update egg-purpur.json
---
minecraft/java/purpur/egg-purpur.json | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/minecraft/java/purpur/egg-purpur.json b/minecraft/java/purpur/egg-purpur.json
index b7238d420..de8d879d5 100644
--- a/minecraft/java/purpur/egg-purpur.json
+++ b/minecraft/java/purpur/egg-purpur.json
@@ -3,7 +3,7 @@
"meta": {
"version": "PTDL_v1"
},
- "exported_at": "2020-11-23T02:59:36-05:00",
+ "exported_at": "2020-12-13T23:35:58-05:00",
"name": "Purpur",
"author": "purpur@birdflop.com",
"description": "Fork of Paper and Tuinity providing new configuration options.",
@@ -20,17 +20,35 @@
},
"scripts": {
"installation": {
- "script": "#!\/bin\/bash\r\n# Tuinity Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update\r\napt -y install curl\r\ncd \/mnt\/server\r\n\r\nif [ ! -f server.properties ]; then\r\ncurl -o server.properties https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/minecraft\/java\/server.properties\r\nfi\r\n\r\ncurl -o ${SERVER_JARFILE} https:\/\/ci.pl3x.net\/job\/Purpur\/lastSuccessfulBuild\/artifact\/final\/purpurclip.jar",
+ "script": "#!\/bin\/bash\r\n# Purpur Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update\r\napt install -y curl jq\r\n\r\nVER_EXISTS=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur | jq -r --arg VERSION $MINECRAFT_VERSION '.versions[] | contains($VERSION)' | grep true`\r\nLATEST_PURPUR_VERSION=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur | jq -r '.versions' | jq -r '.[0]'`\r\n\r\nif [ \"${VER_EXISTS}\" == \"true\" ]; then\r\n echo -e \"Version is valid. Using version ${MINECRAFT_VERSION}\"\r\nelse\r\n echo -e \"Using the latest Purpur version\"\r\n MINECRAFT_VERSION=${LATEST_PURPUR_VERSION}\r\nfi\r\n\r\nBUILD_EXISTS=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur\/${MINECRAFT_VERSION} | jq -r --arg BUILD ${BUILD_NUMBER} '.builds.all[] | contains($BUILD)' | grep true`\r\nLATEST_PURPUR_BUILD=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur\/${MINECRAFT_VERSION} | jq -r '.builds.latest'`\r\n\r\nif [ \"${BUILD_EXISTS}\" == \"true\" ] || [ ${BUILD_NUMBER} == \"latest\" ]; then\r\n echo -e \"Build is valid. Using version ${BUILD_NUMBER}\"\r\nelse\r\n echo -e \"Using the latest Purpur build\"\r\n BUILD_NUMBER=${LATEST_PURPUR_BUILD}\r\nfi\r\n\r\necho \"Version being downloaded\"\r\necho -e \"MC Version: ${MINECRAFT_VERSION}\"\r\necho -e \"Build: ${BUILD_NUMBER}\"\r\nDOWNLOAD_URL=https:\/\/purpur.pl3x.net\/api\/v1\/purpur\/${MINECRAFT_VERSION}\/${BUILD_NUMBER}\/download \r\n\r\n\r\ncd \/mnt\/server\r\n\r\necho -e \"running curl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}\"\r\n\r\nif [ -f ${SERVER_JARFILE} ]; then\r\n mv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\nfi\r\n\r\ncurl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}\r\n\r\nif [ ! -f server.properties ]; then\r\n echo -e \"Downloading MC server.properties\"\r\n curl -o server.properties https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/minecraft\/java\/server.properties\r\nfi",
"container": "debian:buster-slim",
"entrypoint": "bash"
}
},
"variables": [
+ {
+ "name": "Minecraft Version",
+ "description": "The version of Minecraft to download. \r\n\r\nLeave at latest to always get the latest version. Invalid versions will default to latest.",
+ "env_variable": "MINECRAFT_VERSION",
+ "default_value": "latest",
+ "user_viewable": true,
+ "user_editable": true,
+ "rules": "required|string|max:20"
+ },
{
"name": "Server Jar File",
- "description": "The name of the server jarfile to run the server with.",
+ "description": "The name of the .jar file to run the server with.",
"env_variable": "SERVER_JARFILE",
- "default_value": "purpurclip.jar",
+ "default_value": "server.jar",
+ "user_viewable": true,
+ "user_editable": true,
+ "rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/|max:80"
+ },
+ {
+ "name": "Build Number",
+ "description": "The build number for the Purpur release.\r\n\r\nLeave at latest to always get the latest version. Invalid versions will default to latest.",
+ "env_variable": "BUILD_NUMBER",
+ "default_value": "latest",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
From 75a87a914189ee0c024747e3859eef76681ed0f3 Mon Sep 17 00:00:00 2001
From: Purpur <43528123+Pemigrade@users.noreply.github.com>
Date: Wed, 16 Dec 2020 05:10:59 -0600
Subject: [PATCH 12/12] Update egg-purpur.json
---
minecraft/java/purpur/egg-purpur.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/minecraft/java/purpur/egg-purpur.json b/minecraft/java/purpur/egg-purpur.json
index de8d879d5..0e87c446c 100644
--- a/minecraft/java/purpur/egg-purpur.json
+++ b/minecraft/java/purpur/egg-purpur.json
@@ -20,7 +20,7 @@
},
"scripts": {
"installation": {
- "script": "#!\/bin\/bash\r\n# Purpur Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update\r\napt install -y curl jq\r\n\r\nVER_EXISTS=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur | jq -r --arg VERSION $MINECRAFT_VERSION '.versions[] | contains($VERSION)' | grep true`\r\nLATEST_PURPUR_VERSION=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur | jq -r '.versions' | jq -r '.[0]'`\r\n\r\nif [ \"${VER_EXISTS}\" == \"true\" ]; then\r\n echo -e \"Version is valid. Using version ${MINECRAFT_VERSION}\"\r\nelse\r\n echo -e \"Using the latest Purpur version\"\r\n MINECRAFT_VERSION=${LATEST_PURPUR_VERSION}\r\nfi\r\n\r\nBUILD_EXISTS=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur\/${MINECRAFT_VERSION} | jq -r --arg BUILD ${BUILD_NUMBER} '.builds.all[] | contains($BUILD)' | grep true`\r\nLATEST_PURPUR_BUILD=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur\/${MINECRAFT_VERSION} | jq -r '.builds.latest'`\r\n\r\nif [ \"${BUILD_EXISTS}\" == \"true\" ] || [ ${BUILD_NUMBER} == \"latest\" ]; then\r\n echo -e \"Build is valid. Using version ${BUILD_NUMBER}\"\r\nelse\r\n echo -e \"Using the latest Purpur build\"\r\n BUILD_NUMBER=${LATEST_PURPUR_BUILD}\r\nfi\r\n\r\necho \"Version being downloaded\"\r\necho -e \"MC Version: ${MINECRAFT_VERSION}\"\r\necho -e \"Build: ${BUILD_NUMBER}\"\r\nDOWNLOAD_URL=https:\/\/purpur.pl3x.net\/api\/v1\/purpur\/${MINECRAFT_VERSION}\/${BUILD_NUMBER}\/download \r\n\r\n\r\ncd \/mnt\/server\r\n\r\necho -e \"running curl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}\"\r\n\r\nif [ -f ${SERVER_JARFILE} ]; then\r\n mv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\nfi\r\n\r\ncurl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}\r\n\r\nif [ ! -f server.properties ]; then\r\n echo -e \"Downloading MC server.properties\"\r\n curl -o server.properties https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/minecraft\/java\/server.properties\r\nfi",
+ "script": "#!\/bin\/bash\r\n# Purpur Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update\r\napt install -y curl jq\r\n\r\nVER_EXISTS=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur | jq -r --arg VERSION $MINECRAFT_VERSION '.versions[] | contains($VERSION)' | grep true`\r\nLATEST_PURPUR_VERSION=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur | jq -r '.versions' | jq -r '.[0]'`\r\n\r\nif [ \"${VER_EXISTS}\" == \"true\" ]; then\r\n echo -e \"Version is valid. Using version ${MINECRAFT_VERSION}\"\r\nelse\r\n echo -e \"Using the latest Purpur version\"\r\n MINECRAFT_VERSION=${LATEST_PURPUR_VERSION}\r\nfi\r\n\r\nBUILD_EXISTS=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur\/${MINECRAFT_VERSION} | jq -r --arg BUILD ${BUILD_NUMBER} '.builds.all[] | contains($BUILD)' | grep true`\r\nLATEST_PURPUR_BUILD=`curl -s https:\/\/purpur.pl3x.net\/api\/v1\/purpur\/${MINECRAFT_VERSION} | jq -r '.builds.latest'`\r\n\r\nif [ \"${BUILD_EXISTS}\" == \"true\" ] || [ ${BUILD_NUMBER} == \"latest\" ]; then\r\n echo -e \"Build is valid. Using version ${BUILD_NUMBER}\"\r\nelse\r\n echo -e \"Using the latest Purpur build\"\r\n BUILD_NUMBER=${LATEST_PURPUR_BUILD}\r\nfi\r\n\r\necho \"Version being downloaded\"\r\necho -e \"MC Version: ${MINECRAFT_VERSION}\"\r\necho -e \"Build: ${BUILD_NUMBER}\"\r\nDOWNLOAD_URL=https:\/\/purpur.pl3x.net\/api\/v1\/purpur\/${MINECRAFT_VERSION}\/${BUILD_NUMBER}\/download \r\n\r\n\r\ncd \/mnt\/server\r\n\r\necho -e \"running curl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}\"\r\n\r\nif [ -f ${SERVER_JARFILE} ]; then\r\n mv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\nfi\r\n\r\ncurl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}\r\n\r\nif [ ! -f server.properties ]; then\r\n echo -e \"Downloading MC server.properties\"\r\n curl -sSL -o server.properties https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/minecraft\/java\/server.properties\r\nfi",
"container": "debian:buster-slim",
"entrypoint": "bash"
}