From dc4a321bde1ae77841c3be31c995af66c94c9bc1 Mon Sep 17 00:00:00 2001 From: Sneaky <78713939+SneakyHub@users.noreply.github.com> Date: Sun, 4 Apr 2021 12:03:30 +0100 Subject: [PATCH] Create egg-discord-java.json Added a basic java egg that allows people to run java discord bots ( or other java applications ) supports java 11. --- .../discord java/egg-discord-java.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 bots/discord/discord java/egg-discord-java.json diff --git a/bots/discord/discord java/egg-discord-java.json b/bots/discord/discord java/egg-discord-java.json new file mode 100644 index 00000000..b9c1e760 --- /dev/null +++ b/bots/discord/discord java/egg-discord-java.json @@ -0,0 +1,41 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1", + "update_url": null + }, + "exported_at": "2021-04-04T11:34:06+01:00", + "name": "Discord Java", + "author": "sneaky@sneakyhub.com", + "description": "Creates a container that runs java.", + "features": null, + "images": [ + "quay.io\/pterodactyl\/core:java-11" + ], + "file_denylist": [], + "startup": "java -Dterminal.jline=false -Dterminal.ansi=true -jar {{JARFILE}}", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"\"\r\n}", + "logs": "{}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# Java Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\nPROJECT=java\r\n\r\napt update\r\napt install -y curl jq\r\n\r\ncd \/mnt\/server", + "container": "debian:buster-slim", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "JAR FILE", + "description": "", + "env_variable": "JARFILE", + "default_value": "sneakyhub.jar", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:20" + } + ] +} \ No newline at end of file