-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Slimi1/main
- Loading branch information
Showing
91 changed files
with
2,807 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Cuberite | ||
|
||
***Cuberite config files: [settings.ini](../repository/games/minecraft/java/cuberite/settings.ini), [webadmin.ini](../repository/games/minecraft/java/cuberite/webadmin.ini)!*** | ||
|
||
A lightweight, fast and extensible game server for Minecraft | ||
|
||
[Cuberite Website](https://cuberite.org/) | ||
[Cuberite GitHub](https://github.com/cuberite/cuberite) | ||
|
||
## Server Ports | ||
|
||
The minecraft server requires a single port for access (default 25565) but plugins may require extra ports to enabled for the server. | ||
|
||
| Port | default | | ||
|----------|---------| | ||
| Game | 25565 | | ||
| WebAdmin | 8080 | |
66 changes: 66 additions & 0 deletions
66
repository/games/minecraft/java/cuberite/egg-cuberite.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||
"meta": { | ||
"version": "PTDL_v2", | ||
"update_url": null | ||
}, | ||
"exported_at": "2024-04-02T11:11:13+02:00", | ||
"name": "Cuberite", | ||
"author": "[email protected]", | ||
"description": "A lightweight, fast and extensible game server for Minecraft", | ||
"features": [ | ||
"eula", | ||
"java_version", | ||
"pid_limit" | ||
], | ||
"docker_images": { | ||
"ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian" | ||
}, | ||
"file_denylist": [], | ||
"startup": ".\/Cuberite", | ||
"config": { | ||
"files": "{\r\n \"settings.ini\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"Server.Ports\": \"{{server.build.default.port}}\",\r\n \"Server.Description\": \"{{server.build.env.SERV_DESC}}\"\r\n }\r\n },\r\n \"webadmin.ini\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"User:admin.Password\": \"{{server.build.env.ADMIN_PASS}}\",\r\n \"WebAdmin.Ports\": \"{{server.build.env.WEB_PORT}}\"\r\n }\r\n }\r\n}", | ||
"startup": "{\r\n \"done\": \"Startup complete\"\r\n}", | ||
"logs": "{}", | ||
"stop": "stop" | ||
}, | ||
"scripts": { | ||
"installation": { | ||
"script": "#!\/bin\/ash\r\n# Cuberite\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\ncd \/mnt\/server\r\n\r\nARCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] && echo \"x86_64\" || echo \"aarch64\")\r\n\r\nwget https:\/\/download.cuberite.org\/linux-${ARCH}\/Cuberite.tar.gz\r\n\r\ntar -xzf Cuberite.tar.gz\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", | ||
"container": "ghcr.io\/parkervcp\/installers:debian", | ||
"entrypoint": "bash" | ||
} | ||
}, | ||
"variables": [ | ||
{ | ||
"name": "Server Description", | ||
"description": "Server Description", | ||
"env_variable": "SERV_DESC", | ||
"default_value": "Cuberite on Pterodactyl!", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "nullable|string", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Admin Password", | ||
"description": "The password for the webadmin panel 'admin' user", | ||
"env_variable": "ADMIN_PASS", | ||
"default_value": "ChangeMe", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "nullable|string", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "WebAdmin Port", | ||
"description": "Port for the cuberite webadmin panel.", | ||
"env_variable": "WEB_PORT", | ||
"default_value": "8080", | ||
"user_viewable": true, | ||
"user_editable": false, | ||
"rules": "required|integer|between:1,65535", | ||
"field_type": "text" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: Cuberite | ||
description: A lightweight, fast and extensible game server for Minecraft | ||
readme: true | ||
download: egg-cuberite.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
; This is the main server configuration | ||
; Most of the settings here can be configured using the webadmin interface, if enabled in webadmin.ini | ||
|
||
[Authentication] | ||
Authenticate=1 | ||
AllowBungeeCord=0 | ||
Server=sessionserver.mojang.com | ||
Address=/session/minecraft/hasJoined?username=%USERNAME%&serverId=%SERVERID% | ||
|
||
[MojangAPI] | ||
NameToUUIDServer=api.mojang.com | ||
NameToUUIDAddress=/profiles/minecraft | ||
UUIDToProfileServer=sessionserver.mojang.com | ||
UUIDToProfileAddress=/session/minecraft/profile/%UUID%?unsigned=false | ||
|
||
[Server] | ||
Description=Cuberite - in C++! | ||
ShutdownMessage=Server shutdown | ||
MaxPlayers=100 | ||
HardcoreEnabled=0 | ||
AllowMultiLogin=0 | ||
Ports=25565 | ||
AllowMultiWorldTabCompletion=1 | ||
DefaultViewDistance=10 | ||
|
||
[RCON] | ||
Enabled=0 | ||
|
||
[AntiCheat] | ||
LimitPlayerBlockChanges=1 | ||
|
||
[PlayerData] | ||
LoadOfflinePlayerData=0 | ||
LoadNamedPlayerData=1 | ||
|
||
[Worlds] | ||
DefaultWorld=world | ||
World=world_nether | ||
World=world_the_end | ||
|
||
[WorldPaths] | ||
world=world | ||
world_nether=world_nether | ||
world_the_end=world_the_end | ||
|
||
[Plugins] | ||
Plugin=Core | ||
Plugin=ChatLog | ||
|
||
[DeadlockDetect] | ||
Enabled=1 | ||
IntervalSec=20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
; This file controls the webadmin feature of Cuberite | ||
; It specifies whether webadmin is enabled, and what logins are allowed. | ||
; Username format: [User:*username*] | ||
; Password format: Password=*password*; for example: | ||
; [User:admin] | ||
; Password=admin | ||
; Please restart Cuberite to apply changes made in this file! | ||
|
||
[WebAdmin] | ||
Ports=8080 | ||
Enabled=1 | ||
|
||
[User:admin] | ||
Password= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# CurseForge Generic | ||
|
||
## This is a generic egg for CurseForge modpacks | ||
|
||
You will need to give it a modpack project ID. The project ID for [All the Mods 8 - ATM8](https://www.curseforge.com/minecraft/modpacks/all-the-mods-8) is `520914` for example. | ||
This can be found on the modpack page in the `About Project` section in the right sidebar. | ||
|
||
You can also optionally specify a file ID. If you do not specify a file ID, the latest version will be used. | ||
The file ID for the server pack for [All the Mods 8 - ATM8](https://www.curseforge.com/minecraft/modpacks/all-the-mods-8) version `1.0.17` is `4504876` for example. | ||
This can be found on the modpack page by clicking the wanted file and copying the id at the end of the URL (the number after `/files/`). | ||
|
||
The script will automatically setup of Forge, Fabric, or Quilt depending on the modpack. | ||
|
||
You *must* specify a CurseForge API key. | ||
You can find out how to get an API key [here](https://support.curseforge.com/en/support/solutions/articles/9000208346-about-the-curseforge-api-and-how-to-apply-for-a-key) | ||
|
||
## Server Ports | ||
|
||
The minecraft server requires a single port for access (default 25565) but plugins may require extra ports to enabled for the server. | ||
|
||
| Port | default | | ||
|-------|---------| | ||
| Game | 25565 | |
70 changes: 70 additions & 0 deletions
70
repository/games/minecraft/java/curseforge/egg-curse-forge-generic.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: CurseForge Generic | ||
description: This is a generic egg for CurseForge modpacks | ||
readme: true | ||
download: egg-curse-forge-generic.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Feather | ||
|
||
***Feather config file: [feather.toml](../repository/games/minecraft/java/feather/feather.toml)!*** | ||
|
||
An experimental Minecraft server implementation written in Rust. | ||
|
||
[Feather GitHub](https://github.com/feather-rs/feather) | ||
|
||
## Server Ports | ||
|
||
The minecraft server requires a single port for access (default 25565) but plugins may require extra ports to enabled for the server. | ||
|
||
| Port | default | | ||
|-------|---------| | ||
| Game | 25565 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||
"meta": { | ||
"version": "PTDL_v2", | ||
"update_url": null | ||
}, | ||
"exported_at": "2023-05-17T23:20:29+01:00", | ||
"name": "Feather", | ||
"author": "[email protected]", | ||
"description": "An experimental Minecraft server implementation written in Rust.", | ||
"features": null, | ||
"images": [ | ||
"ghcr.io\/parkervcp\/yolks:debian" | ||
], | ||
"file_denylist": [], | ||
"startup": ".\/feather-server", | ||
"config": { | ||
"files": "{\r\n \"feather.toml\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"port\": \"port = {{server.build.default.port}}\",\r\n \"address\": \"address = \\\"0.0.0.0\\\"\"\r\n }\r\n }\r\n}", | ||
"startup": "{\r\n \"done\": \"Server started\"\r\n}", | ||
"logs": "{}", | ||
"stop": "^C" | ||
}, | ||
"scripts": { | ||
"installation": { | ||
"script": "#! \/bin\/bash\r\n\r\nGITHUB_PACKAGE=feather-rs\/feather\r\nMATCH=linux\r\n\r\napt update\r\napt install -y curl jq file unzip\r\n\r\nif [ ! -d \/mnt\/server\/ ]; then\r\n mkdir -p \/mnt\/server\/\r\nfi\r\n\r\ncd \/mnt\/server\/\r\n\r\nif [ -z \"${GITHUB_USER}\" ] && [ -z \"${GITHUB_OAUTH_TOKEN}\" ] ; then\r\n echo -e \"using anon api call\"\r\nelse\r\n echo -e \"user and oauth token set\"\r\n alias curl='curl -u ${GITHUB_USER}:${GITHUB_OAUTH_TOKEN} '\r\nfi\r\n\r\n## get release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\")\r\n\r\nif [ \"$(echo ${LATEST_JSON} | jq -r '.message')\" != \"Not Found\" ] && [[ -z \"${VERSION}\" || \"${VERSION}\" == \"latest\" ]]; then\r\n echo -e \"grabbing latest version\"\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})\r\nelif [ \"$(echo ${LATEST_JSON} | jq -r '.message')\" == \"Not Found\" ]; then\r\n ## emergency fallback if latest isn't found\r\n ## grabs the latest release even it it's a pre-release\r\n echo -e \"grabbing latest pre-release\"\r\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r '.[0].assets[].browser_download_url' | grep -i ${MATCH})\r\nelse\r\n echo -e \"grabbing version $VERSION\"\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})\r\n else\r\n echo -e \"defaulting to latest release\"\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)\r\n fi\r\nfi\r\n\r\nif [ ! -z \"${DOWNLOAD_URL}\" ]; then \r\n if curl --output \/dev\/null --silent --head --fail ${DOWNLOAD_URL}; then\r\n echo -e \"link is valid. setting download link to ${DOWNLOAD_URL}\"\r\n VALIDATED_URL=${DOWNLOAD_URL}\r\n else \r\n echo -e \"link is invalid closing out\"\r\n exit 2\r\n fi\r\nfi\r\n\r\ncurl -sSL -o ${VALIDATED_URL##*\/} ${VALIDATED_URL}\r\n\r\nFILETYPE=$(file -F ',' ${VALIDATED_URL##*\/} | cut -d',' -f2 | cut -d' ' -f2)\r\nif [ \"$FILETYPE\" == \"gzip\" ]; then\r\n tar xzvf ${VALIDATED_URL##*\/}\r\nelif [ \"$FILETYPE\" == \"Zip\" ]; then\r\n unzip ${VALIDATED_URL##*\/}\r\nelif [ \"$FILETYPE\" == \"XZ\" ]; then\r\n tar xvf ${VALIDATED_URL##*\/}\r\nelse\r\n echo -e \"unknown filetype. Exiting\"\r\n # exit 2 \r\nfi\r\n\r\nrm ${VALIDATED_URL##*\/}\r\n\r\nchmod +x feather-server", | ||
"container": "ghcr.io\/parkervcp\/installers:debian", | ||
"entrypoint": "bash" | ||
} | ||
}, | ||
"variables": [ | ||
{ | ||
"name": "Generate World", | ||
"description": "Do you want the installer to generate a world for you?", | ||
"env_variable": "GEN_WORLD", | ||
"default_value": "0", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "required|boolean" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: Feather | ||
description: An experimental Minecraft server implementation written in Rust. | ||
readme: true | ||
download: egg-feather.json |
Oops, something went wrong.