Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I have a working MC server and multiple users who log on, however due to poor connection/excessive ping play can become unbearable

Does anyone know of a definitive or close approximation to the bandwidth required per player connected in a minecraft server?

Any information or links regarding this topic would be helpful :) thanks.

Edit

As has been mentioned, the amount will vary greatly.

Using the specific case of:

  • 64 mobs hostile+passive
  • 144 loaded chunks
  • 4 players (not moving)

would someone with sufficient knowledge be able to break down net usage of this use case? e.g. usage per mob / usage per chunk...

and/or provide a total average usage of the above case

Please know that estimations WILL DO (per player)

share|improve this question
2  
depends on various things, if there are a lot of enemies then each enemy will have to transmit its location to each player in range, if a player is exploring then he will load new chunks constantly –  ratchet freak Aug 27 '13 at 12:01
    
It totally depends on how many changes are occurring in loaded chunks near a given player that need to be transmitted to their client every frame. If there are lots of mobs, lots of redstone, lots of changing liquid flows, lots of explosions, lots of mod-added machinery, lots of... You see the trouble? There are too many variables to give a practical answer. Your best answer would be to answer this for your own case by actually looking at your network traffic up and down with different numbers of players under different conditions. –  SevenSidedDie Aug 27 '13 at 22:23

1 Answer 1

up vote 5 down vote accepted

If the chunks are not being updated, the players are still and the mobs are also still, it is only 1 byte per tick. So, 20 bytes/s.

If all the players are moving and so are the mobs, it is 42 bytes per tick per mob. So: 68 mobs * 42 bytes per tick * 20 ticks per second = 57.1kb/s.

Add in chunk updates: 68 mobs * 42 bytes per tick + 2 chunks per tick * 18 bytes + size of compressed chunk (16 kb for just 1 block 64x16x16) *20 ticks per second = 642.856 kb/s.

This is still very low usage because redstone would cause extra chunk updates as lava and water would. As well, only 64 mobs is quite few. Mainly, it is chunk updates that cause the problem. If the average player is exploring for new terrain, you can expect 10 or maybe 15 chunks to be updating at a time so then it becomes (using 15 as our number), 4.802 mb/s. It is all explained here: www.wiki.vg/Protocol

share|improve this answer
1  
Please properly capitalize your bytes and bits! –  Richard J. Ross III Aug 28 '13 at 2:48
    
excellent answer :D thanks! –  DCA- Aug 28 '13 at 7:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.