From 91417cc8274251d2457d2e8254a1a423d6ad1a9e Mon Sep 17 00:00:00 2001 From: Softwarenoob Date: Mon, 26 Apr 2021 23:35:48 +0300 Subject: [PATCH 1/2] add flamecord --- README.md | 1 + minecraft/README.md | 1 + minecraft/proxy/README.md | 1 + minecraft/proxy/java/README.md | 4 ++ minecraft/proxy/java/flamecord/README.md | 10 ++++ .../proxy/java/flamecord/egg-flamecord.json | 51 +++++++++++++++++++ 6 files changed, 68 insertions(+) create mode 100644 minecraft/proxy/java/flamecord/README.md create mode 100644 minecraft/proxy/java/flamecord/egg-flamecord.json diff --git a/README.md b/README.md index 53d7b320..60716e42 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ If you are reading this it looks like you are looking to add an egg to your serv * [Proxies](/minecraft/proxy) Minecraft Server Proxies * [Java](/minecraft/proxy/java) + * [FlameCord](/minecraft/proxy/java/flamecord) * [Travertine](/minecraft/proxy/java/travertine) * [TyphoonLimbo](/minecraft/proxy/java/typhoonlimbo) * [Velocity](/minecraft/proxy/java/velocity) diff --git a/minecraft/README.md b/minecraft/README.md index e1f79035..1cd6d519 100644 --- a/minecraft/README.md +++ b/minecraft/README.md @@ -28,6 +28,7 @@ It’s set in infinitely-generated worlds of wide open terrain - icy mountains, * [Proxies](/minecraft/proxy) Minecraft Server Proxies * [Java](/minecraft/proxy/java) + * [FlameCord](/minecraft/proxy/java/flamecord) * [Travertine](/minecraft/proxy/java/travertine) * [TyphoonLimbo](/minecraft/proxy/java/typhoonlimbo) * [Velocity](/minecraft/proxy/java/velocity) diff --git a/minecraft/proxy/README.md b/minecraft/proxy/README.md index 65b474d7..0ade0eb7 100644 --- a/minecraft/proxy/README.md +++ b/minecraft/proxy/README.md @@ -1,6 +1,7 @@ # Minecraft Proxies * [Java](/minecraft/proxy/java/) + * [FlameCord](/minecraft/proxy/java/flamecord) * [Waterfall](/minecraft/proxy/java/waterfall) * [Travertine](/minecraft/proxy/java/travertine) * [Velocity](/minecraft/proxy/java/velocity) diff --git a/minecraft/proxy/java/README.md b/minecraft/proxy/java/README.md index 22f93fb7..b9be1296 100644 --- a/minecraft/proxy/java/README.md +++ b/minecraft/proxy/java/README.md @@ -1,6 +1,10 @@ # Minecraft Java Proxies +#### FlameCord +[FlameCord](https://github.com/2lstudios-mc/FlameCord) +FlameCord is a patch for Travertine to fix possible exploits and add useful functionalities. + #### Travertine [Travertine](https://papermc.io/downloads#Travertine) Waterfall, with additional support for Minecraft 1.7.10. diff --git a/minecraft/proxy/java/flamecord/README.md b/minecraft/proxy/java/flamecord/README.md new file mode 100644 index 00000000..7dd3e702 --- /dev/null +++ b/minecraft/proxy/java/flamecord/README.md @@ -0,0 +1,10 @@ +# Travertine server +FlameCord is a fork of Travertine that fixes Netty Exploits, keeps your console clean from unnecessary messages and orders your BungeeCord modules in a simpler way. + +## Server Ports +The minecraft server requires a single port for access (default 25565) but plugins may require extra ports to enabled for the server. + + +| Port | default | +|-------|---------| +| Game | 25565 | \ No newline at end of file diff --git a/minecraft/proxy/java/flamecord/egg-flamecord.json b/minecraft/proxy/java/flamecord/egg-flamecord.json new file mode 100644 index 00000000..44297c3f --- /dev/null +++ b/minecraft/proxy/java/flamecord/egg-flamecord.json @@ -0,0 +1,51 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1", + "update_url": null + }, + "exported_at": "2021-04-26T23:16:37+03:00", + "name": "Flamecord", + "author": "admin@softwarenoob.com", + "description": "FlameCord is a patch for Travertine to fix possible exploits and add useful functionalities. FlameCord aims to fix Netty related exploits to keep your server safe from attacks.", + "features": null, + "images": [ + "quay.io\/pterodactyl\/core:java-11", + "quay.io\/pterodactyl\/core:java" + ], + "file_denylist": [], + "startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}", + "config": { + "files": "{\r\n \"config.yml\": {\r\n \"parser\": \"yaml\",\r\n \"find\": {\r\n \"listeners[0].host\": \"0.0.0.0:{{server.build.default.port}}\",\r\n \"servers.*.address\": {\r\n \"127.0.0.1\": \"{{config.docker.interface}}\",\r\n \"localhost\": \"{{config.docker.interface}}\"\r\n }\r\n }\r\n }\r\n}", + "startup": "{\r\n \"done\": \"Listening on \",\r\n \"userInteraction\": [\r\n \"Listening on \/0.0.0.0:\"\r\n ]\r\n}", + "logs": "{\r\n}", + "stop": "end" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# Travertine Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\nMATCH=Flamecord.jar\r\napt update\r\napt install -y curl jq\r\n\r\n\r\n## get release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/2lstudios-mc\/FlameCord\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/2lstudios-mc\/FlameCord\/releases\")\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n echo \"Downloading latest version\"\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})\r\nelse\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})\r\n echo \"Download version ${VERSION}\"\r\n else\r\n echo -e \"defaulting to latest release\"\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)\r\n fi\r\nfi\r\n\r\ncd \/mnt\/server\r\n\r\necho -e \"curl -L ${DOWNLOAD_URL} -o ${SERVER_JARFILE}\"\r\n\r\nif [ -f ${SERVER_JARFILE} ]; then\r\n\tmv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\nfi\r\n\r\ncurl -L ${DOWNLOAD_URL} -o ${SERVER_JARFILE}\r\necho \"Install complete\"", + "container": "debian:buster-slim", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Flamecord Version", + "description": "The Github release version of Flamecord to install such as 48d53ee, all releases at https:\/\/github.com\/2lstudios-mc\/FlameCord\/releases", + "env_variable": "FLAMECORD_VERSION", + "default_value": "latest", + "user_viewable": true, + "user_editable": true, + "rules": "required|string" + }, + { + "name": "FlameCord Jar File", + "description": "The name of the jar file to use when running FlameCord.", + "env_variable": "SERVER_JARFILE", + "default_value": "flamecord.jar", + "user_viewable": true, + "user_editable": true, + "rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/" + } + ] +} \ No newline at end of file From 9aab1fb054d0bbfe32471e58663fd437e7fe7287 Mon Sep 17 00:00:00 2001 From: Softwarenoob Date: Mon, 26 Apr 2021 23:37:01 +0300 Subject: [PATCH 2/2] fix typo --- minecraft/proxy/java/flamecord/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft/proxy/java/flamecord/README.md b/minecraft/proxy/java/flamecord/README.md index 7dd3e702..8c9f93d8 100644 --- a/minecraft/proxy/java/flamecord/README.md +++ b/minecraft/proxy/java/flamecord/README.md @@ -1,4 +1,4 @@ -# Travertine server +# Flamecord server FlameCord is a fork of Travertine that fixes Netty Exploits, keeps your console clean from unnecessary messages and orders your BungeeCord modules in a simpler way. ## Server Ports