mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-22 20:42:54 +08:00
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.
This commit is contained in:
parent
5aa1848f8f
commit
dc4a321bde
41
bots/discord/discord java/egg-discord-java.json
Normal file
41
bots/discord/discord java/egg-discord-java.json
Normal file
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user