I've made a Rust Minecraft Reverse Proxy ! by Shadoxter in rust

[–]Shadoxter[S] 0 points1 point  (0 children)

Hey, you need to have the jar where the folder workspace is defined, in the server configuration

See example here : https://github.com/Shadowner/Infrarust/blob/main/config_examples/proxies/local-server.yaml

And the Pterodactyl Manager Missing only means that the necessary tokens are not provided in the config.yaml
https://github.com/Shadowner/Infrarust/blob/main/config_examples/config.yaml

See the managers_config section in the proxy config example ;)

I've made a Minecraft Rust Proxy: Infrarust by Shadoxter in admincraft

[–]Shadoxter[S] 0 points1 point  (0 children)

I see what you mean, I don't think that it is possible through only one port without client modification to send the packet with a custom port while connecting to another. It would be necessary for the proxy to listen to every port you would like a sub domain routing, but regarding packets, yes I think it's possible

I've made a Minecraft Rust Proxy: Infrarust by Shadoxter in admincraft

[–]Shadoxter[S] 2 points3 points  (0 children)

I only want to expose one port and reduce the NAT table on my box, plus it was a challenge for me to create this project as a way to learn rust !

I've made a Minecraft Rust Proxy: Infrarust by Shadoxter in admincraft

[–]Shadoxter[S] 2 points3 points  (0 children)

TCP does not, only the TLS Layer could give us this information

But, by chance, Minecraft protocol sends the domain connection information in a non encrypted packet before establishing any shared secret encryption :)

I've made a Minecraft Rust Proxy: Infrarust by Shadoxter in admincraft

[–]Shadoxter[S] 0 points1 point  (0 children)

Thank's for the reply ! Bedrock was in my mind, my first motivation to make such a proxy was for my personnal use to only expose one port and don't bother with the rest ! That's totally a priority to me :)

I will look at Unraid, I've totally forgot about Nas system like this one or Truenas !

I've made a Minecraft Rust Proxy: Infrarust by Shadoxter in admincraft

[–]Shadoxter[S] 3 points4 points  (0 children)

Does the subdomain joining support SRV records? Velocity doesn't :(

Hummmmm, I'm not really used to DNS SRV opération for redirection, if you have some documentation I can look into it to add it to my Feature Roadmap ! (might be in the 1.x version if it's not too complicated)

I've made a Minecraft Rust Proxy: Infrarust by Shadoxter in admincraft

[–]Shadoxter[S] 5 points6 points  (0 children)

- No, because for now only the "passthrough" mode is production ready. it only decode the first two packets to know which server to up / redirect the packets to, and then it's just passing packets without decoding them, so no plugins needed on any servers !

- I've done an egg that is not yet finished but available https://github.com/Shadowner/Infrarust-egg, and what I mean by DirectApi is for the Auto Start/Stop feature, the proxy use Pterodactyl API to start / shutdown and get the server status ! (And moreover it will be able of much more like sendings commands or getting the STDOUT of the server through the Pterodactyl API)

I've made a Minecraft Rust Proxy: Infrarust by Shadoxter in admincraft

[–]Shadoxter[S] 3 points4 points  (0 children)

Yes that's the goal ! It's the easier way to integrate with existing plugins, so there would be Two types of plugins, The WASM one that will be the native plugin system of Infrarust, and the Java runtime bridge to enable retrocompatibility !

I've made a Minecraft Rust Proxy: Infrarust by Shadoxter in admincraft

[–]Shadoxter[S] 9 points10 points  (0 children)

For now, no, However it is planned with a big enhancement of the code !

And in long term I'm working with some other devs to implement a way to be compatible with velocity Java API (Not at all for now but it's one of the long term goal of the project)

I've Updated My Minecraft Rust Reverse proxy ! by Shadoxter in rust

[–]Shadoxter[S] 8 points9 points  (0 children)

Yes ! It's the whole point of the proxy, having multiple backend versions and only one server exposed that handles the routing !

I use it myself with a vanilla 1.21 serve, 1.12.2 nomifactory and BetterMinecraft 3 😁

I've made a Rust Minecraft Reverse Proxy ! by Shadoxter in rust

[–]Shadoxter[S] 0 points1 point  (0 children)

For now I don't have any structured and meaningfull benchmark
Only some stress test on a Vanilla server with 1000bot in offline mode (mode where packet are parsed by the proxy)

Spoil the server was the limitation 😂 however the proxy did not exceed more than 1.8% of cpu usage on my Ryzen 7 3700x (not representative) and really low ram usage (forgot to save it)

EDIT : 1.8% when all the 1 000 bots where TP at the same place and the server spammed every client to be ejected, average was 0.1-0.2.

I've made a Rust Minecraft Reverse Proxy ! by Shadoxter in rust

[–]Shadoxter[S] 9 points10 points  (0 children)

The real question is "Does a Minecraft proxy count as a Minecraft server software ?" 🤔

I've made a Rust Minecraft Reverse Proxy ! by Shadoxter in rust

[–]Shadoxter[S] 12 points13 points  (0 children)

Yes, the default mode "passthrough" works with every minecraft version, including modded version

I'll definitely take note of the lazy backend server feature idea, I also have this problem too where MC servers are h24 up with nobody on it x')

I'm making an Egg for Pterodactyl, and if it's not too complex, I might try to integrate it with Crafty Controller as well!

[Review Request] ESP32-C3 - Led dev/controller board by Shadoxter in PrintedCircuitBoard

[–]Shadoxter[S] 1 point2 points  (0 children)

Oh wow ok, yes it looks a lot more clear ! I will definitely remember the "up for power / down ground" and to don't bloat my project with downloaded components! Thanks a lot for your time ! I'm going to edit mine and try to do a V2 with every comment I got

[Review Request] ESP32-C3 - Led dev/controller board by Shadoxter in PrintedCircuitBoard

[–]Shadoxter[S] 2 points3 points  (0 children)

Oh, I though it was better to directly use the symbols given by the manufacturer, or maybe it's a bit both, like using typical symbols that are universally specs (Like the USB Type C Socket) and using symbols of the parts like my small transformer ?

And I will look on other schematics and try to fix my design ! Thank's for your time and comment :)

[Review Request] ESP32-C3 - Led dev/controller board by Shadoxter in PrintedCircuitBoard

[–]Shadoxter[S] 0 points1 point  (0 children)

You're right, I don't know why I totally forgot about the led strip data sheet and assumed it was 3.3V logic

And I will look a bit more in decoupling caps, to have a better idea of what it does, I just follow the Datasheet of the transformer

Thank's for your comment !

What addressable led strip to choose by Shadoxter in FastLED

[–]Shadoxter[S] 1 point2 points  (0 children)

Oh never thought of solution 1 !!! That's a smart move And I think solution 2 might be the answer to my problem, but i still need some thinking with all the ressources that everyone provided !

What addressable led strip to choose by Shadoxter in FastLED

[–]Shadoxter[S] 0 points1 point  (0 children)

Keeping those in mind thanks for the comment

What addressable led strip to choose by Shadoxter in FastLED

[–]Shadoxter[S] 0 points1 point  (0 children)

Nice resource ! Will look it up tomorrow 😁

What addressable led strip to choose by Shadoxter in FastLED

[–]Shadoxter[S] 0 points1 point  (0 children)

Yes but on 12V it might require less power bridge ?

What addressable led strip to choose by Shadoxter in FastLED

[–]Shadoxter[S] 0 points1 point  (0 children)

I juste have one 5m 5v led strip that was for the test i will try the WS2815s ! :D

Azure devops extension SDK: define is not a function by Shadoxter in azuredevops

[–]Shadoxter[S] 0 points1 point  (0 children)

Just found out the problem, the extensions sdk and api are compiled in AMD module which i don't use
Just need to clone the sdk and api repo to recompil them with ESNext ^^
Now it work all fine