https://github.com/kyagara/bardiel
Minecraft server Layer 7 proxy.
https://github.com/kyagara/bardiel
Last synced: 11 months ago
JSON representation
Minecraft server Layer 7 proxy.
- Host: GitHub
- URL: https://github.com/kyagara/bardiel
- Owner: Kyagara
- License: apache-2.0
- Created: 2023-05-22T22:08:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T17:01:29.000Z (about 3 years ago)
- Last Synced: 2025-03-02T01:28:35.738Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bardiel
> **Warning**
> WIP!
This project is an opportunity for me to learn [tokio](https://github.com/tokio-rs/tokio) and how proxies work by making one.
Followed what other projects like [Velocity](https://github.com/PaperMC/Velocity) and [Infrared](https://github.com/haveachin/infrared) do and the [wiki.vg](https://wiki.vg/Protocol) fantastic documentation on the Minecraft protocol.
Since this is mostly a fun project for me, I cannot stress enough that this is **not** a replacement for anything.
## Todo:
- Handle more packets from the login flow
## Tested on:
- Fabric server 1.19.2/4, offline mode, network-compression-threshold -1
## Current state:
Using very scientific methods of testing, which translates to just using [mc-bots](https://github.com/crpmax/mc-bots) to create 500 fake players (not using the -x or -m flags), the proxy hovers around 8% cpu usage on a Ryzen 7 2700 and around 10mb of memory.
Is this good? No idea, even if it is, this proxy currently doesn't have anywhere near the amount of features present in other proxies as it just forwards packets, any comparison and benchmarks are pointless.
## Should I use-
Use [Velocity](https://github.com/PaperMC/Velocity).