docs: rename and add discord.java to readme

This commit is contained in:
Alex
2021-11-06 00:15:38 +02:00
parent 01e07e84fb
commit 4878d66622
3 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
# 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.
![image](https://user-images.githubusercontent.com/10975908/126516861-c5cb4630-9f25-405c-8199-97bf5ec15a7f.png)
You can use arrays to have multiple different values when different bots are being used
```
{
"done":[
"change this text 1",
"change this text 2"
]
}

View 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": "Discord 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"
}
]
}