|
|
|
|
@@ -1,48 +0,0 @@
|
|
|
|
|
{
|
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
|
"meta": {
|
|
|
|
|
"version": "PTDL_v2",
|
|
|
|
|
"update_url": null
|
|
|
|
|
},
|
|
|
|
|
"exported_at": "2022-12-19T17:57:16+01: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": [
|
|
|
|
|
"eula",
|
|
|
|
|
"java_version",
|
|
|
|
|
"pid_limit"
|
|
|
|
|
],
|
|
|
|
|
"docker_images": {
|
|
|
|
|
"ghcr.io\/pterodactyl\/yolks:java_17": "ghcr.io\/pterodactyl\/yolks:java_17",
|
|
|
|
|
"ghcr.io\/pterodactyl\/yolks:java_16": "ghcr.io\/pterodactyl\/yolks:java_16",
|
|
|
|
|
"ghcr.io\/pterodactyl\/yolks:java_11": "ghcr.io\/pterodactyl\/yolks:java_11"
|
|
|
|
|
},
|
|
|
|
|
"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}",
|
|
|
|
|
"logs": "{}",
|
|
|
|
|
"stop": "end"
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"installation": {
|
|
|
|
|
"script": "#!\/bin\/bash\r\n# FlameCord Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl git \r\n\r\nmkdir -p \/mnt\/server\/tmp\r\ncd \/mnt\/server\/tmp\r\n\r\nrm \/mnt\/server\/${SERVER_JARFILE}\r\n# set some needed variables\r\ngit config --global user.email \"you@example.com\"\r\ngit config --global user.name \"Your Name\"\r\n\r\n# Clone the repo \r\necho \"git clone https:\/\/github.com\/2lstudios-mc\/FlameCord.git\"\r\ngit clone https:\/\/github.com\/2lstudios-mc\/FlameCord.git \r\ncd FlameCord\/\r\nchmod +x scripts\/build.sh\r\n\r\n#build the jar\r\necho \"start building\"\r\n.\/scripts\/build.sh --jar\r\n\r\n# Find the jar file and move it\r\nJAR_PATH=$(find . -name FlameCord.jar)\r\nmv ${JAR_PATH} \/mnt\/server\/${SERVER_JARFILE}\r\nrm -rf \/mnt\/server\/tmp\r\n\r\necho \"Install complete\"",
|
|
|
|
|
"container": "maven:3.8.6-openjdk-11-slim",
|
|
|
|
|
"entrypoint": "bash"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"variables": [
|
|
|
|
|
{
|
|
|
|
|
"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)$\/",
|
|
|
|
|
"field_type": "text"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|