Move generic eggs
This commit is contained in:
22
generic/java/README.md
Normal file
22
generic/java/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# discord.java generic
|
||||
|
||||
This egg is designed to run any generic Java application, allowing users to pull their own Java discord bot from a Github repository.
|
||||
|
||||
There is an option to allow a user to upload their own files to run a bot.
|
||||
|
||||
The startup configs and commands may need changing to actually function properly.
|
||||
|
||||
## Configuration
|
||||
|
||||
The 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.
|
||||

|
||||
|
||||
You can use arrays to have multiple different values when different bots are being used
|
||||
|
||||
```json
|
||||
{
|
||||
"done":[
|
||||
"change this text 1",
|
||||
"change this text 2"
|
||||
]
|
||||
}
|
||||
43
generic/java/egg-java.json
Normal file
43
generic/java/egg-java.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v1",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2021-07-21T18:23:17+03:00",
|
||||
"name": "Generic Java",
|
||||
"author": "sneaky@sneakyhub.com",
|
||||
"description": "Creates a container that runs java.",
|
||||
"features": null,
|
||||
"images": [
|
||||
"ghcr.io\/parkervcp\/yolks:java_8",
|
||||
"ghcr.io\/parkervcp\/yolks:java_11",
|
||||
"ghcr.io\/parkervcp\/yolks:java_16"
|
||||
],
|
||||
"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": "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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user