← Back to context

Comment by WhereIsTheTruth

20 hours ago

Downvoter, go check this: https://wiki.vg/Protocol, let me know if that's a good way to sync a lot of fast moving entities across a TCP network

This is why people struggle with their servers, not because the game was written in java

Curious what protocol you would use, or how you would do it differently? Are there small enhancements to the existing protocol you would do? Genuine open question for the sake of learning.

  • I would prefer the UDP Protocol over TCP like in Bedrock edition. Im pretty sure many PVP players would love this. Here is much non sense in the Minecraft protocol and things made to work not to be optimized (deadlines). At our discord we even already have a sticker :mojang_nonsense: which will be used quiet often. I also don't understand Mojang's tactic with packet changes, It sometimes looks like they care about Packets not being broken and being backwards compatible but them sometimes they change the whole Networking system (1.20)

Huh, if this exists and there’s already so many servers, maybe I should build a client instead.

Basically any significant Java software uses disproportionate amounts of RAM. My server can easily run a web server, database server, ftp server, memory cache, etc., times a few copies because various containers have their own web server or whatnot, all at the same time. But a single copy of Minecraft is too much, even when everything else is shut down.

That's why I struggle with the server: it's written in Java. Other game servers don't seem to have this problem. If the network protocol were all, that'd be great

(I didn't downvote any of your posts in case you now wonder if that was me)