mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-22 20:42:54 +08:00
Merge branch 'master' into update/egg_docs
This commit is contained in:
commit
f6f60c0ad8
@ -95,7 +95,8 @@ If you are reading this it looks like you are looking to add an egg to your serv
|
||||
|
||||
* [Java](/minecraft/java) Servers for Java Minecraft
|
||||
* [Cuberite](/minecraft/java/cuberite)
|
||||
* [feather](/minecraft/java/feather)
|
||||
* [Fabric](/minecraft/java/fabric)
|
||||
* [Feather](/minecraft/java/feather)
|
||||
* [Feed The Beast](/minecraft/java/ftb)
|
||||
* [Forge](/minecraft/java/forge)
|
||||
* [Magma](/minecraft/java/magma)
|
||||
|
11
minecraft/java/fabric/README.MD
Normal file
11
minecraft/java/fabric/README.MD
Normal file
@ -0,0 +1,11 @@
|
||||
# Fabric
|
||||
|
||||
Fabric is a lightweight, experimental modding toolchain for Minecraft.
|
||||
|
||||
## Server Ports
|
||||
The fabric server requires a single port for access (default 25565) but plugins may require extra ports to enabled for the server.
|
||||
|
||||
|
||||
| Port | default |
|
||||
|-------|---------|
|
||||
| Game | 25565 |
|
47
minecraft/java/fabric/egg-fabric.json
Normal file
47
minecraft/java/fabric/egg-fabric.json
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v1"
|
||||
},
|
||||
"exported_at": "2020-11-10T04:10:30-05:00",
|
||||
"name": "Fabric",
|
||||
"author": "accounts@bofanodes.io",
|
||||
"description": "Fabric is a modular modding toolchain targeting Minecraft 1.14 and above, including snapshots.",
|
||||
"features": [
|
||||
"eula"
|
||||
],
|
||||
"image": "quay.io\/pterodactyl\/core:java",
|
||||
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}",
|
||||
"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 }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \")! For help, type \",\r\n \"userInteraction\": [\r\n \"Go to eula.txt for more info.\"\r\n ]\r\n}",
|
||||
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
|
||||
"stop": "stop"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\n# Fabric MC Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl jq unzip dos2unix wget\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\nif [ -z \"$FABRIC_VERSION\" ] || [ \"$FABRIC_VERSION\" == \"latest\" ]; then\r\nFABRIC_VERSION=$(curl https:\/\/maven.fabricmc.net\/net\/fabricmc\/fabric-installer\/ | grep -Po '(?<=href=\")[^\"]*' | sort -h | tail -1 | sed 's,\/,,g')\r\nwget https:\/\/maven.fabricmc.net\/net\/fabricmc\/fabric-installer\/$FABRIC_VERSION\/fabric-installer-$FABRIC_VERSION.jar\r\nelse\r\nwget https:\/\/maven.fabricmc.net\/net\/fabricmc\/fabric-installer\/$FABRIC_VERSION\/fabric-installer-$FABRIC_VERSION.jar\r\nfi\r\njava -jar fabric-installer-$FABRIC_VERSION.jar server -downloadMinecraft\r\necho -e \"Install Complete\"", "container": "openjdk:8-jdk-slim",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Server Jar File",
|
||||
"description": "The name of the server jarfile to run the server with.",
|
||||
"env_variable": "SERVER_JARFILE",
|
||||
"default_value": "fabric-server-launch.jar",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/"
|
||||
},
|
||||
{
|
||||
"name": "Fabric Version",
|
||||
"description": "The version of Fabric to install.",
|
||||
"env_variable": "FABRIC_VERSION",
|
||||
"default_value": "0.6.1.51",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|between:3,15"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user