From 76e2345cc6d94c80553f322da5070aef9981cd7f Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Wed, 2 Oct 2019 20:24:41 -0400 Subject: [PATCH 1/5] add feather toml config base file --- minecraft_java/feather/feather.toml | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 minecraft_java/feather/feather.toml diff --git a/minecraft_java/feather/feather.toml b/minecraft_java/feather/feather.toml new file mode 100644 index 00000000..ee4ebe9d --- /dev/null +++ b/minecraft_java/feather/feather.toml @@ -0,0 +1,47 @@ +# Configuration for the Feather server. + +# Most of the options here are unimplented and have no effect. +# Those that are unimplemted have been labeled so. + +[io] +# Packets with a size more than or equal to this value will be sent compressed. +# Compressing packets reduces bandwidth usage but increases CPU activity. +compression_threshold = 256 +# The number of worker threads used for asynchronous IO. +# Set to the number of cores on your CPU for optimal performance. +io_worker_threads = 8 + +[proxy] +# IP forwarding using either "bungee" (BungeeCord/Waterfall/Travertine) or "velocity" (Velocity) +proxy_mode = "none" # Unimplemented + +[server] +online_mode = true +motd = "A Feather server" +max_players = 16 +default_gamemode = "survival" +difficulty = "none" # Unimplemented +view_distance = 6 +address = "127.0.0.1" +port = 25565 + +[gameplay] +monster_spawning = true # Unimplemented +animal_spawning = true # Unimplemented +pvp = true # Unimplemented +nerf_spawner_mobs = false # Unimplemented +# Either "classic" for 1.8 PvP or "new" for 1.9 +pvp_style = "classic" # Unimplemented + +[log] +# If you prefer less verbose logs, switch this to "info." +# If you want to hurt your eyes while looking at the +# server console, set it to "trace." +level = "debug" + +[resource_pack] +# Server resource pack which is sent to players +# upon joining. Set this to an empty string to disable. +url = "" +# Optional SHA1 hash of the resource pack file. +hash = "" \ No newline at end of file From f3b112e31721add96593589d5f9998d6b43ba0e7 Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Fri, 4 Oct 2019 11:53:43 -0400 Subject: [PATCH 2/5] add feather json file --- minecraft_java/feather/egg-feather.json | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 minecraft_java/feather/egg-feather.json diff --git a/minecraft_java/feather/egg-feather.json b/minecraft_java/feather/egg-feather.json new file mode 100644 index 00000000..5fc29887 --- /dev/null +++ b/minecraft_java/feather/egg-feather.json @@ -0,0 +1,36 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2019-10-04T11:53:24-04:00", + "name": "Feather", + "author": "parker@parkervcp.com", + "description": "An experimental Minecraft server implementation written in Rust.", + "image": "quay.io\/parkervcp\/pterodactyl-images:base_debian", + "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": "#!\/usr\/bin\/env bash\r\napt update\r\napt install -y curl\r\n\r\nget_latest_release() {\r\n curl --silent \"https:\/\/api.github.com\/repos\/$1\/releases\/latest\" |\r\n grep '\"tag_name\":' |\r\n sed -E 's\/.*\"([^\"]+)\".*\/\\1\/'\r\n}\r\n\r\nPACKAGE=\"caelunshun\/feather\"\r\nVERSION=`get_latest_release \"${PACKAGE}\"`\r\necho \"Latest version=${VERSION}\"\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -SLo feather.tar.gz https:\/\/github.com\/caelunshun\/feather\/releases\/download\/${VERSION}\/feather-${VERSION}-linux.tar.gz\r\n\r\ntar --strip-components=1 -xzvf feather.tar.gz\r\n\r\nrm feather.tar.gz", + "container": "debian:stable-slim", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Generate World", + "description": "Do you want the installer to generate a world you you?", + "env_variable": "GEN_WORLD", + "default_value": "0", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|boolean" + } + ] +} \ No newline at end of file From 9815bcf1827b8f2a4c7760e691be25f71e275192 Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Sun, 8 Mar 2020 20:23:18 -0400 Subject: [PATCH 3/5] fix feather version curl This fixes the curl for getting versions. There was a change to the location. --- minecraft_java/feather/egg-feather.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft_java/feather/egg-feather.json b/minecraft_java/feather/egg-feather.json index 5fc29887..955ef46f 100644 --- a/minecraft_java/feather/egg-feather.json +++ b/minecraft_java/feather/egg-feather.json @@ -3,7 +3,7 @@ "meta": { "version": "PTDL_v1" }, - "exported_at": "2019-10-04T11:53:24-04:00", + "exported_at": "2020-03-08T20:22:10-04:00", "name": "Feather", "author": "parker@parkervcp.com", "description": "An experimental Minecraft server implementation written in Rust.", @@ -17,7 +17,7 @@ }, "scripts": { "installation": { - "script": "#!\/usr\/bin\/env bash\r\napt update\r\napt install -y curl\r\n\r\nget_latest_release() {\r\n curl --silent \"https:\/\/api.github.com\/repos\/$1\/releases\/latest\" |\r\n grep '\"tag_name\":' |\r\n sed -E 's\/.*\"([^\"]+)\".*\/\\1\/'\r\n}\r\n\r\nPACKAGE=\"caelunshun\/feather\"\r\nVERSION=`get_latest_release \"${PACKAGE}\"`\r\necho \"Latest version=${VERSION}\"\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -SLo feather.tar.gz https:\/\/github.com\/caelunshun\/feather\/releases\/download\/${VERSION}\/feather-${VERSION}-linux.tar.gz\r\n\r\ntar --strip-components=1 -xzvf feather.tar.gz\r\n\r\nrm feather.tar.gz", + "script": "#!\/usr\/bin\/env bash\r\napt update\r\napt install -y curl\r\n\r\nget_latest_release() {\r\n curl -sSL \"https:\/\/api.github.com\/repos\/$1\/releases\/latest\" |\r\n grep '\"tag_name\":' |\r\n sed -E 's\/.*\"([^\"]+)\".*\/\\1\/'\r\n}\r\n\r\nPACKAGE=\"caelunshun\/feather\"\r\nVERSION=`get_latest_release \"${PACKAGE}\"`\r\necho \"Latest version=${VERSION}\"\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -sSLo feather.tar.gz https:\/\/github.com\/caelunshun\/feather\/releases\/download\/${VERSION}\/feather-${VERSION}-linux.tar.gz\r\n\r\ntar --strip-components=1 -xzvf feather.tar.gz\r\n\r\nrm feather.tar.gz", "container": "debian:stable-slim", "entrypoint": "bash" } From 582f96fcc1cd80075f391e17c55bd5efd4eb2d24 Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Sun, 8 Mar 2020 20:36:11 -0400 Subject: [PATCH 4/5] update feather repo in install script --- minecraft_java/feather/egg-feather.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft_java/feather/egg-feather.json b/minecraft_java/feather/egg-feather.json index 955ef46f..63672323 100644 --- a/minecraft_java/feather/egg-feather.json +++ b/minecraft_java/feather/egg-feather.json @@ -3,7 +3,7 @@ "meta": { "version": "PTDL_v1" }, - "exported_at": "2020-03-08T20:22:10-04:00", + "exported_at": "2020-03-08T20:35:40-04:00", "name": "Feather", "author": "parker@parkervcp.com", "description": "An experimental Minecraft server implementation written in Rust.", @@ -17,7 +17,7 @@ }, "scripts": { "installation": { - "script": "#!\/usr\/bin\/env bash\r\napt update\r\napt install -y curl\r\n\r\nget_latest_release() {\r\n curl -sSL \"https:\/\/api.github.com\/repos\/$1\/releases\/latest\" |\r\n grep '\"tag_name\":' |\r\n sed -E 's\/.*\"([^\"]+)\".*\/\\1\/'\r\n}\r\n\r\nPACKAGE=\"caelunshun\/feather\"\r\nVERSION=`get_latest_release \"${PACKAGE}\"`\r\necho \"Latest version=${VERSION}\"\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -sSLo feather.tar.gz https:\/\/github.com\/caelunshun\/feather\/releases\/download\/${VERSION}\/feather-${VERSION}-linux.tar.gz\r\n\r\ntar --strip-components=1 -xzvf feather.tar.gz\r\n\r\nrm feather.tar.gz", + "script": "#!\/usr\/bin\/env bash\r\napt update\r\napt install -y curl\r\n\r\nget_latest_release() {\r\n curl -sSL \"https:\/\/api.github.com\/repos\/$1\/releases\/latest\" |\r\n grep '\"tag_name\":' |\r\n sed -E 's\/.*\"([^\"]+)\".*\/\\1\/'\r\n}\r\n\r\nPACKAGE=\"feather-rs\/feather\"\r\nVERSION=`get_latest_release \"${PACKAGE}\"`\r\necho \"Latest version=${VERSION}\"\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -sSLo feather.tar.gz https:\/\/github.com\/caelunshun\/feather\/releases\/download\/${VERSION}\/feather-${VERSION}-linux.tar.gz\r\n\r\ntar --strip-components=1 -xzvf feather.tar.gz\r\n\r\nrm feather.tar.gz", "container": "debian:stable-slim", "entrypoint": "bash" } From c54226ff978ce08b71d08cfc983d998ed779bc0f Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Sun, 8 Mar 2020 20:36:43 -0400 Subject: [PATCH 5/5] update README files --- README.md | 5 +++-- minecraft_java/README.md | 4 ++++ minecraft_java/feather/README.md | 11 +++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 minecraft_java/feather/README.md diff --git a/README.md b/README.md index 4a66f8e1..bd65a6ae 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,9 @@ If you are reading this it looks like you are looking to add an egg to your serv [Minecraft Java](/minecraft_java/) Servers for Java Minecraft * [Cuberite](/minecraft_java/cuberite/) -* [Forge](/minecraft_java/forge/) -* [Feed The Beast](/minecraft_java/ftb/) +* [feather](/minecraft/feather/) +* [Feed The Beast](/minecraft_java/ftb/) +* [Forge](/minecraft_java/forge/) * [Paper](/minecraft_java/paper) * [Spigot](/minecraft_java/spigot/) * [spongeforge](/minecraft_java/spongeforge/) diff --git a/minecraft_java/README.md b/minecraft_java/README.md index 59968490..32b45dc0 100644 --- a/minecraft_java/README.md +++ b/minecraft_java/README.md @@ -11,6 +11,10 @@ The minecraft server requires a single port for access (default 25565) but plugi A lightweight, fast and extensible game server for Minecraft [Cuberite](https://cuberite.org/) +## Feather +[Feather](https://github.com/feather-rs/feather) +An experimental Minecraft server implementation in Rust + ## Forge [Forge MC](https://files.minecraftforge.net/) This is a direct fork of the default forge service diff --git a/minecraft_java/feather/README.md b/minecraft_java/feather/README.md new file mode 100644 index 00000000..927f8d84 --- /dev/null +++ b/minecraft_java/feather/README.md @@ -0,0 +1,11 @@ +# Feather + +An experimental Minecraft server implementation written in Rust. + +## 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 | \ No newline at end of file