{"meta":{"slug":"java","name":"Java","category":"java","source":"pterodactyl","owner":"pterodactyl","repo":"generic-eggs","branch":"main","path":"java/egg-java.json","rawUrl":"https://raw.githubusercontent.com/pterodactyl/generic-eggs/main/java/egg-java.json","indexedAt":1792246788483},"egg":{"_comment":"DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO","meta":{"version":"PTDL_v2","update_url":null},"exported_at":"2024-05-13T17:14:01+01:00","name":"Generic Java","author":"sneaky@sneakyhub.com","description":"Creates a container that runs java.","features":null,"docker_images":{"ghcr.io/ptero-eggs/yolks:java_8":"ghcr.io/ptero-eggs/yolks:java_8","ghcr.io/ptero-eggs/yolks:java_11":"ghcr.io/ptero-eggs/yolks:java_11","ghcr.io/ptero-eggs/yolks:java_16":"ghcr.io/ptero-eggs/yolks:java_16","ghcr.io/ptero-eggs/yolks:java_17":"ghcr.io/ptero-eggs/yolks:java_17","ghcr.io/ptero-eggs/yolks:java_19":"ghcr.io/ptero-eggs/yolks:java_19","ghcr.io/ptero-eggs/yolks:java_21":"ghcr.io/ptero-eggs/yolks:java_21"},"file_denylist":[],"startup":"java -Dterminal.jline=false -Dterminal.ansi=true -jar {{JARFILE}}","config":{"files":"{}","startup":"{\r\n    \"done\": \"change this text\"\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":"ghcr.io/ptero-eggs/yolks:debian","entrypoint":"bash"}},"variables":[{"name":"JAR FILE","description":"","env_variable":"JARFILE","default_value":"sneakyhub.jar","user_viewable":true,"user_editable":true,"rules":"required|string|max:50","field_type":"text"}]},"readme":"# Java Language Generic\n\nThis egg is designed to run any generic Java application, allowing users to pull their own Java source code from a Github repository. This egg is also compatible with Kotlin.\n\nThere is an option to allow a user to upload their own files to run a bot.\n\nThe startup configs and commands may need changing to actually function properly.\n\n## Configuration\n\nThe server will be stuck as `starting` until the egg Start Configuration is modified. You have to edit the text to match something your bot will print for Pterodactyl panel to detect it as running.\n![image](https://user-images.githubusercontent.com/10975908/126516861-c5cb4630-9f25-405c-8199-97bf5ec15a7f.png)\n\nYou can use arrays to have multiple different values when different bots are being used\n\n```json\n{\n  \"done\":[\n    \"change this text 1\",\n    \"change this text 2\"\n  ]\n}\n"}