Skip to content

Commit

Permalink
Merge pull request #5 from Slimi1/main
Browse files Browse the repository at this point in the history
  • Loading branch information
prplwtf authored Apr 20, 2024
2 parents 7af1212 + b5c7bf3 commit caa1388
Show file tree
Hide file tree
Showing 91 changed files with 2,807 additions and 0 deletions.
100 changes: 100 additions & 0 deletions repository/games/minecraft/java/category.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- name: Technic
description: Technic Eggs
id: technic
type: category

- name: Fabric
description: Fabric is a lightweight, experimental modding toolchain for Minecraft.
id: fabric
Expand All @@ -11,4 +16,99 @@
- name: Spigot
description: A high performance Minecraft server implementation
id: spigot
type: egg

- name: NanoLimbo
description: A lightweight minecraft limbo server.
id: nanolimbo
type: egg

- name: NeoForge
description: NeoForge is a fork of Minecraft Forge for versions 1.20.1 or newer.
id: neoforge
type: egg

- name: Purpur
description: Purpur is a drop-in replacement for Paper servers designed for configurability, and new fun and exciting gameplay features.
id: purpur
type: egg

- name: Quilt
description: The Quilt project is an open-source, community-driven modding toolchain designed primarily for Minecraft.
id: quilt
type: egg

- name: SpongeForge
description: SpongeForge is the implementation of the Sponge API on the Minecraft Forge platform.
id: spongeforge
type: egg

- name: SpongeVanilla
description: A community-driven open source Minecraft Java Edition modding platform.
id: spongevanilla
type: egg

- name: VanillaCord
description: A patch for vanilla servers to work with BungeeCord's ip_forward setting.
id: vanillacord
type: egg

- name: Cuberite
description: A lightweight, fast and extensible game server for Minecraft
id: cuberite
type: egg

- name: CurseForge
description: This is a generic egg for CurseForge modpacks
id: curseforge
type: egg

- name: Feather
description: An experimental Minecraft server implementation written in Rust.
id: feather
type: egg

- name: Folia
description: Fork of Paper which adds regionised multithreading to the dedicated server.
id: folia
type: egg

- name: Forge Generic
description: This is a generic egg for the forge standalone server
id: forge
type: egg

- name: FTB Modpacks
description: A generic service to pull FTB modpacks from api.modpacks.ch.
id: ftb
type: egg

- name: Glowstone
description: Glowstone is an open-source replacement for CraftBukkit, Spigot, and Paper.
id: glowstone
type: egg

- name: Krypton
description: A fast, lightweight Minecraft server written in Kotlin
id: krypton
type: egg

- name: Limbo
description: Standalone server program Limbo.
id: limbo
type: egg

- name: Magma
description: Magma is most powerful Forge server providing you with Forge mods and Bukkit Plugins using Spigot and Paper for Performance Optimization and Stability.
id: magma
type: egg

- name: Modrinth Generic
description: This is a generic egg for Modrinth modpacks
id: modrinth
type: egg

- name: Mohist
description: Mohist is a minecraft forge server software that implements the Paper/Spigot/Bukkit API.
id: mohist
type: egg
17 changes: 17 additions & 0 deletions repository/games/minecraft/java/cuberite/README.md
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 repository/games/minecraft/java/cuberite/egg-cuberite.json
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"
}
]
}
4 changes: 4 additions & 0 deletions repository/games/minecraft/java/cuberite/egg.yml
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
52 changes: 52 additions & 0 deletions repository/games/minecraft/java/cuberite/settings.ini
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
14 changes: 14 additions & 0 deletions repository/games/minecraft/java/cuberite/webadmin.ini
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=
23 changes: 23 additions & 0 deletions repository/games/minecraft/java/curseforge/README.md
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 |

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions repository/games/minecraft/java/curseforge/egg.yml
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
15 changes: 15 additions & 0 deletions repository/games/minecraft/java/feather/README.md
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 |
41 changes: 41 additions & 0 deletions repository/games/minecraft/java/feather/egg-feather.json
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"
}
]
}
4 changes: 4 additions & 0 deletions repository/games/minecraft/java/feather/egg.yml
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
Loading

0 comments on commit caa1388

Please sign in to comment.