Skip to content

Commit

Permalink
Merge pull request #7 from Slimi1/main
Browse files Browse the repository at this point in the history
Add minecraft bedrock eggs, minecraft crossplay eggs and proxy eggs.
  • Loading branch information
prplwtf authored Apr 20, 2024
2 parents 5f2a0cb + 003b976 commit 5dbdd0c
Show file tree
Hide file tree
Showing 62 changed files with 1,983 additions and 0 deletions.
16 changes: 16 additions & 0 deletions repository/games/minecraft/bedrock/LiteLoader-bedrock/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# LiteLoader Bedrock Dedicated Server

[LiteLoaderBDS](https://github.com/LiteLDev/LiteLoaderBDS) - Epoch-making & Cross-language Bedrock Dedicated Servers Plugin Loader

[LiteLoaderBDS](https://github.com/LiteLDev/LiteLoaderBDS) is an unofficial plugin loader that provides basic API support for Bedrock Dedicated Server, with a massive API, lots of packed utility interfaces, a rich event system and powerful basic interface support.

### Server Ports

LiteLoader Bedrock Dedicated Server requires a single port (default 19132)

| Port | default |
|---------|----------|
| Game | 19132 |

### Known Issues
General Issues can check here -> [LiteLoaderBDS Issues](https://github.com/LiteLDev/LiteLoaderBDS/issues)
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-05-17T20:11:37+02:00",
"name": "Liteloader Bedrock Dedicated Server",
"author": "[email protected]",
"description": "LiteLoaderBDS - Epoch-making & Cross-language Bedrock Dedicated Servers Plugin Loader\r\n\r\nLiteLoaderBDS is an unofficial plugin loader that provides basic API support for Bedrock Dedicated Server, with a massive API, lots of packed utility interfaces, a rich event system and powerful basic interface support.",
"features": null,
"docker_images": {
"ghcr.io\/parkervcp\/yolks:wine_staging": "ghcr.io\/parkervcp\/yolks:wine_staging"
},
"file_denylist": [],
"startup": ".\/lae-ll-launcher bedrock_server_mod.exe",
"config": {
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"server-name\": \"{{server.build.env.SERVERNAME}}\",\r\n \"gamemode\": \"{{server.build.env.GAMEMODE}}\",\r\n \"difficulty\": \"{{server.build.env.DIFFICULTY}}\",\r\n \"max-players\": \"{{server.build.env.MAXPLAYERS}}\",\r\n \"level-name\": \"{{server.build.env.WORLDNAME}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"IPv4 supported\"\r\n}",
"logs": "{}",
"stop": "stop"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n# Liteloader First-time Install Script\r\n\r\napk update\r\napk add gzip jq curl wine\r\ncd \/mnt\/server\r\n\r\nfor file in *; do\r\n if [ \"$file\" != \"allowlist.json\" ] && [ \"$file\" != \"permissions.json\" ] && [ \"$file\" != \"server.properties\" ] && [ \"$file\" != \"plugins\" ] && [ \"$file\" != \"world\" ]; then\r\n if [ -d \"$file\" ]; then\r\n rm -rf \"$file\" # Remove directories recursively\r\n else\r\n rm \"$file\" # Remove files\r\n fi\r\n fi\r\ndone\r\n\r\n# Download Minecraft BDS\r\nRANDVERSION=$(echo $((1 + $RANDOM % 4000)))\r\n\r\nif [ -z \"${BDS_VERSION}\" ] || [ \"${BDS_VERSION}\" == \"latest\" ]; then\r\n echo -e \"\\n Downloading latest Bedrock server\"\r\n curl -L -A \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/90.0.$RANDVERSION.212 Safari\/537.36\" -H \"Accept-Language: en\" -H \"Accept-Encoding: gzip, deflate\" -o versions.html.gz https:\/\/www.minecraft.net\/en-us\/download\/server\/bedrock\r\n DOWNLOAD_URL=$(zgrep -o 'https:\/\/minecraft.azureedge.net\/bin-win\/[^\"]*' versions.html.gz)\r\nelse \r\n echo -e \"\\n Downloading ${BDS_VERSION} Bedrock server\"\r\n DOWNLOAD_URL=https:\/\/minecraft.azureedge.net\/bin-win\/bedrock-server-$BDS_VERSION.zip\r\nfi\r\n\r\nDOWNLOAD_FILE=$(echo ${DOWNLOAD_URL} | cut -d\"\/\" -f5) # Retrieve archive name\r\n\r\necho -e \"Downloading files from: $DOWNLOAD_URL\"\r\n\r\ncurl -L -A \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/90.0.$RANDVERSION.212 Safari\/537.36\" -H \"Accept-Language: en\" -o $DOWNLOAD_FILE $DOWNLOAD_URL\r\n\r\necho -e \"Unpacking server files\"\r\nunzip -o $DOWNLOAD_FILE\r\n\r\necho -e \"Cleaning up after installing\"\r\nrm $DOWNLOAD_FILE\r\nrm versions.html.gz\r\n\r\n\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/LiteLDev\/LiteLoaderBDS\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/LiteLDev\/LiteLoaderBDS\/releases\")\r\n\r\nif [ -z \"${LL_VERSION}\" ] || [ \"${LL_VERSION}\" == \"latest\" ]; then\r\n echo -e \"\\n Downloading latest LiteLoaderBDS from GitHub\"\r\n DOWNLOAD_GIT_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | head -1)\r\nelse\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${LL_VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n echo -e \"\\n Downloading ${LL_VERSION} LiteLoaderBDS from GitHub\"\r\n DOWNLOAD_GIT_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${LL_VERSION}\" '.[] | select(.tag_name==$LL_VERSION) | .assets[].browser_download_url' | head -1)\r\n else\r\n echo -e \"defaulting to latest release\"\r\n DOWNLOAD_GIT_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | head -1)\r\n fi\r\nfi\r\n\r\ncurl -sSL -o LiteLoader.zip ${DOWNLOAD_GIT_URL}\r\nunzip -o LiteLoader.zip\r\nmv -f LiteLoaderBDS\/* \/mnt\/server\r\nrm LiteLoader.zip\r\ntimeout 30s wine PeEditor.exe\r\nrm -rf '\/root\/.wine' \/mnt\/server\/LiteLoaderBDS\/\r\n\r\n# Downloading Launcher and finishing touches\r\nwget https:\/\/io.ivampiresp.com\/d\/Software\/MCServer\/BDS\/LiteLoader\/lae-ll-launcher\r\nchmod +x lae-ll-launcher\r\necho \"Finished Downloading Liteloader...\"",
"container": "ghcr.io\/parkervcp\/installers:alpine",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Bedrock Dedicated Server Version",
"description": "Insert BDS Version",
"env_variable": "BDS_VERSION",
"default_value": "latest",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Liteloader Version",
"description": "Insert Liteloader Version from Github Releases",
"env_variable": "LL_VERSION",
"default_value": "latest",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Wine",
"description": "",
"env_variable": "WINEDEBUG",
"default_value": "-all",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "Server Name",
"description": "The name for the server",
"env_variable": "SERVERNAME",
"default_value": "Bedrock Dedicated Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Gamemode",
"description": "Allowed values: \"survival\", \"creative\", or \"adventure\"",
"env_variable": "GAMEMODE",
"default_value": "survival",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Difficulty",
"description": "Allowed values: \"peaceful\", \"easy\", \"normal\", or \"hard\"",
"env_variable": "DIFFICULTY",
"default_value": "easy",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Maximum Players",
"description": "Maximum players to join on the server",
"env_variable": "MAXPLAYERS",
"default_value": "10",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer",
"field_type": "text"
},
{
"name": "World Name",
"description": "World\/Level name to use for the server",
"env_variable": "WORLDNAME",
"default_value": "Bedrock level",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
}
]
}
4 changes: 4 additions & 0 deletions repository/games/minecraft/bedrock/LiteLoader-bedrock/egg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: LiteLoaderBDS
description: LiteLoaderBDS is an unofficial plugin loader that provides basic API support for Bedrock Dedicated Server.
readme: true
download: egg-LiteLoader-bedrock.json
6 changes: 6 additions & 0 deletions repository/games/minecraft/bedrock/PowerNukkitX/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# PowerNukkitX

***PowerNukkitX config files: [server.properties](../repository/games/minecraft/bedrock/PowerNukkitX/server.properties), [nukkit.yml](../repository/games/minecraft/bedrock/PowerNukkitX/nukkit.yml) !***

[PowerNukkitX](https://github.com/PowerNukkitX/PowerNukkitX)
PowerNukkitX is a software for minecraft bedrock edition in Java which is a fork of PowerNukkit
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-07-07T02:29:39+02:00",
"name": "PowerNukkitX",
"author": "[email protected]",
"description": "PowerNukkitX support for Pterodactyl",
"features": null,
"docker_images": {
"ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian"
},
"file_denylist": [],
"startup": ".\/pnx start {{AUTOREBOOT}}",
"config": {
"files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"enable-query\": \"true\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \")! For help, type \"\r\n}",
"logs": "{}",
"stop": "stop"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\napt-get update\r\napt-get install -y git curl wget jq file tar unzip zip openssl\r\nmkdir -p \/mnt\/server\/ # Not required. Only here for parkervcp's local test setup\r\ncd \/mnt\/server || exit 1\r\nUPGRADE=\"no\"\r\nif [ -d \".\/java\" ]; then\r\nUPGRADE=\"yes\"\r\nfi\r\nwget https:\/\/github.com\/PowerNukkitX\/PNX-CLI\/releases\/download\/0.1.6\/PNX-CLI-Linux-x86.zip -O pnx.zip\r\nwget https:\/\/raw.githubusercontent.com\/PowerNukkitX\/PowerNukkitX\/master\/src\/main\/resources\/default-nukkit.yml -O nukkit.yml\r\nunzip pnx.zip\r\nrm -fr pnx.zip 2>&1 >\/dev\/null\r\nmv .\/target\/linux-x86\/pnx .\/ 2>&1 >\/dev\/null\r\nrm -fr target 2>&1 >\/dev\/null\r\nrm -fr java 2>&1 >\/dev\/null\r\nchmod +x pnx\r\n.\/pnx jvm install=GraalVM\r\nif [ \"$UPGRADE\" == \"no\" ]; then\r\nif [ \"$VERSION\" == \"latest\" ]; then\r\n.\/pnx server install --latest\r\nelse\r\n.\/pnx server install --dev\r\nfi\r\nelse\r\nrm -fr libs 2>&1 >\/dev\/null\r\nif [ \"$VERSION\" == \"latest\" ]; then\r\n.\/pnx server update --latest\r\nelse\r\n.\/pnx server update --dev\r\nfi\r\nfi\r\nrm -fr tmp-GraalVM.tar.gz 2>&1 >\/dev\/null\r\ncat <<EOF\r\n----------------------------------------\r\n| |\r\n| PowerNukkitX Installation Done |\r\n| |\r\n----------------------------------------\r\nEOF",
"container": "ghcr.io\/parkervcp\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Version to install",
"description": "Choose between latest or dev",
"env_variable": "VERSION",
"default_value": "latest",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "AutoReboot mode",
"description": "to set auto reboot mode please enter -r",
"env_variable": "AUTOREBOOT",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:2",
"field_type": "text"
}
]
}
4 changes: 4 additions & 0 deletions repository/games/minecraft/bedrock/PowerNukkitX/egg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: PowerNukkitX
description: PowerNukkitX is a software for minecraft bedrock edition in Java which is a fork of PowerNukkit
readme: true
download: egg-powernukkitx.json
162 changes: 162 additions & 0 deletions repository/games/minecraft/bedrock/PowerNukkitX/nukkit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# Advanced configuration file for Nukkit
# Some of these settings are safe, others can break your server if modified incorrectly
# New settings/defaults won't appear automatically on this file when upgrading

settings:
# Multi-language setting
# Available: eng, chs, cht, jpn, rus, spa, pol, bra, kor, ukr, deu, ltu, idn, cze, tur, fin, vie, fra
language: eng
# Whether to send all strings translated to server locale or let the device handle them
force-language: false
shutdown-message: "Server closed"
# Allow listing plugins via Query
query-plugins: true
# Show a console message when a plugin uses deprecated API methods
deprecated-verbose: true
# Number of AsyncTask workers
# If set to auto, it'll try to detect the number of cores (and at least 4)
async-workers: auto
safe-spawn: true
waterdogpe: false

network:
maximum-stale-datagrams: 512
# Threshold for batching packets, in bytes. Only these packets will be compressed
# Set to 0 to compress everything, -1 to disable
batch-threshold: 256
# Compression level used of Zlib when sending batched packets. Higher = more CPU, less bandwidth usage
compression-level: 7
# Use AsyncTasks for compression. Adds half/one tick delay, less CPU load on main thread
async-compression: false
# 0:Create a new compressor for each compression request
# 1:All compression requests are done with only one thread and one compressor
# 2:Using the original Nukkit server-side algorithm for high stability, using ThreadLocal to create a compressor for each thread
# 3:Modern hardware acceleration using the PowerNukkitX server, which improves on the original algorithm.
zlib-provider: 2
snappy: false

debug:
# If > 1, it will show debug messages in the console
level: 1
# Enables commands: /status /gc
commands: false
ignored-packets:
- LevelChunkPacket

timings:
# Turn off the timing completely, no timing object will be created, which can help improve performance
completely-close: false
# Enable core and plugin timings by default
enabled: false
# Enable monitoring at verbose level, include high-frequency timings
verbose: false
# Interval between history frames in ticks
# Default is 5 minutes (6000 ticks)
history-interval: 6000
# Length of the whole timing history in ticks
# Default is 1 hour (72000 ticks)
# This value is capped at a maximum of history-interval * 12
history-length: 72000
# For special cases of servers with special permission to bypass the max
# This max helps keep data file sizes reasonable for processing on Aikar's Timing parser side
# Setting this will not help you bypass the max unless Aikar has added an exception on the API side
bypass-max: false
# If set to true, name of your server won't be sent
privacy: false
ignore: []

level-settings:
# The default format that levels will use when created
default-format: anvil
# Automatically change levels tick rate to maintain 20 ticks per second
auto-tick-rate: true
auto-tick-rate-limit: 20
# Sets the base tick rate (1 = 20 ticks per second, 2 = 10 ticks per second, etc.)
base-tick-rate: 1
# Tick all players each tick even when other settings disallow this
always-tick-players: false
tick-redstone: true

chunk-saving:
maximum-size-per-chunk: 1048576

chunk-sending:
# Amount of chunks sent to players per tick
per-tick: 8
# Amount of chunks sent around each player
max-chunks: 192
# Amount of chunks that need to be sent before spawning the player
spawn-threshold: 56
# Save a serialized copy of the chunk in memory for faster sending
# Useful in mostly-static worlds where lots of players join at the same time
cache-chunks: false

chunk-ticking:
# Max amount of chunks processed each tick
per-tick: 40
# Radius of chunks around a player to tick
tick-radius: 3
light-updates: false
clear-tick-list: false

chunk-generation:
# Max. amount of chunks in the waiting queue to be generated
queue-size: 8
# Max. amount of chunks in the waiting queue to be populated
population-queue-size: 8

# Max tick rate for these entities
ticks-per:
animal-spawns: 400
monster-spawns: 1
autosave: 6000
cache-cleanup: 900

memory-compression:
enable: true
slots: 32
default-temperature: 32
threshold:
freezing-point: 0
boiling-point: 1024
absolute-zero: -256
heat:
melting: 16
single-operation: 1
batch-operation: 32


# Max amount of these entities
spawn-limits:
monsters: 70
animals: 15
water-animals: 5
ambient: 15

player:
# If true, player data will be saved as players/playername.dat
# If false, nukkit won't save player data as "dat" files, in order that plugins can do something on it.
save-player-data: true
# The time between skin change action in seconds, set to 0 if you dont want the cooldown
skin-change-cooldown: 30
force-skin-trusted: false
check-movement: true

aliases:
# Aliases for commands
# Examples:
# showtheversion: version
# savestop: [save-all, stop]

worlds:
# These settings will override the generator set in server.properties and allows loading multiple levels
# Examples:
#world:
# seed: 404
# generator: FLAT:2;7,59x1,3x3,2;1;decoration(treecount=80 grasscount=45)

anti-xray:
#world:
# enabled: true
# level: low
# pre-deobfuscate: true
Loading

0 comments on commit 5dbdd0c

Please sign in to comment.