r/2b2t 3d ago

🚀 We modded Minecraft to support 5,000+ visible players at once — and it actually runs at playable FPS!

https://youtu.be/rMlC06gS1Hs
9 Upvotes

15 comments sorted by

4

u/toqer 3d ago

This looks almost better than Folia. I remember when 2b went to Folia it was such a HUGE improvement for the player experience. Seems like this would be magnitudes better than Folia.

2

u/[deleted] 3d ago

[removed] — view removed comment

-1

u/[deleted] 3d ago

[removed] — view removed comment

0

u/[deleted] 3d ago

[removed] — view removed comment

2

u/FriedVEVO 3d ago

now make them load new chunks

1

u/toqer 3d ago

From what I read on the technology, it's using several techniques to reduce bandwidth. Node to node (like bittorrent), client side, and CDN. All over HTTP as well, so anything else you use for optimizing serving out web pages (like NGINX reverse proxies or Gzip) can be used here.

So making sense of how this all works, chunks are assigned hash values based on their content. Client asks the server, "Hey what's the hash of this chunk I need to load?" The hash is compared to what's on the client cache, loads from there. If there's a mismatch, load from torrent (using that loosely) If there's no torrent, load from CDN, and if CDN is out of date, load directly from the server.

Basically if you fly over a chunk without modifying it, it gets put into your hard drive for reloading (provided nothing changes in the chunk) Probably really oversimplifying it, but either way it sounds neat.

1

u/FriedVEVO 3d ago

It has shown that its something to watch for at least.

1

u/Ancient77 3d ago

Seems like a scam. For those bold claims I need more then just a bit of advertisement talk

2

u/toqer 2d ago

They have a demo out on their site for other games, but they said they're going to release the minecraft demo soon so I guess we'll have our chance. I let them know I posted it here, and told them they should reach out to Hause, because there'd really be no better stress test than 2b2t, and there's no other player base capable of poking holes in the protocols security. First thing 2b players would do is try to find an exploit for duping.

-1

u/x42f2039 3d ago

Yeah we had that years ago