This commit is contained in:
timvisee 2021-11-15 20:36:15 +01:00
parent de516cf62c
commit aca09dff7b
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
4 changed files with 11 additions and 6 deletions

4
Cargo.lock generated
View File

@ -685,7 +685,7 @@ checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
[[package]]
name = "minecraft-protocol"
version = "0.1.0"
source = "git+https://github.com/timvisee/rust-minecraft-protocol?branch=lazymc-v1_17_1#d26a525c7b29b61d2db64805181fb5471ea4317a"
source = "git+https://github.com/timvisee/rust-minecraft-protocol?rev=d26a525#d26a525c7b29b61d2db64805181fb5471ea4317a"
dependencies = [
"byteorder",
"minecraft-protocol-derive",
@ -698,7 +698,7 @@ dependencies = [
[[package]]
name = "minecraft-protocol-derive"
version = "0.0.0"
source = "git+https://github.com/timvisee/rust-minecraft-protocol?branch=lazymc-v1_17_1#d26a525c7b29b61d2db64805181fb5471ea4317a"
source = "git+https://github.com/timvisee/rust-minecraft-protocol?rev=d26a525#d26a525c7b29b61d2db64805181fb5471ea4317a"
dependencies = [
"proc-macro2",
"quote",

View File

@ -40,7 +40,7 @@ dotenv = "0.15"
flate2 = { version = "1.0", default-features = false, features = ["default"] }
futures = { version = "0.3", default-features = false }
log = "0.4"
minecraft-protocol = { git = "https://github.com/timvisee/rust-minecraft-protocol", branch = "lazymc-v1_17_1" }
minecraft-protocol = { git = "https://github.com/timvisee/rust-minecraft-protocol", rev = "d26a525" }
pretty_env_logger = "0.4"
rand = "0.8"
serde = "1.0"

10
TODO.md
View File

@ -17,6 +17,12 @@
## Experiment
- Lobby method: let players connect with an emulated empty server (like 2b2t's
queue), redirect them when the server started.
- `io_uring` on Linux for efficient proxying (see `tokio-uring`)
## Lobby join method
- add support for more Minecraft versions (with changed protocols)
- support online mode (encryption)
- hold back packets (whitelist), forward to server at connect before joining
- add support for forge (emulate mod list communication)
- on login plugin request during login state, respond with empty payload, not supported

View File

@ -111,7 +111,6 @@ command = "java -Xmx1G -Xms1G -jar server.jar --nogui"
# Don't enable this unless you know what you're doing.
#
# - Only works with offline mode
# - Only works with server packet compression disabled
# - Only works with vanilla Minecraft clients, does not work with modded
# - Only tested with Minecraft 1.17.1