[REQ] Dynamically resize draw distance as player count increases/decreases

Discussion in 'Bukkit Discussion' started by Zalastri, Jun 10, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Zalastri

    It'd be nice if we adjust this formula slightly to fit our bandwidth situation as well.
     
  2. Offline

    Rikaelus

    An interesting proposal I can agree with. This level of flexibility would be nice to offer server admins.

    A side note, however... I found what might be a bug with the view-distance setting being responsible for low mob respawn rates and possibly other problems. Something to consider if you're setting it manually to be less than 10.

    More information can be found here.
     
  3. Is anybody working on this?
    Maybe a hint:
    Code:
    public class PlayerManager
    {
    
        public PlayerManager(MinecraftServer minecraftserver, int i, int j)
        {
            a = new ArrayList();
            b = new PlayerList();
            c = new ArrayList();
            if(j > 15)
                throw new IllegalArgumentException("Too big view radius!");
            if(j < 3)
            {
                throw new IllegalArgumentException("Too small view radius!");
            } else
            {
                f = j;
                server = minecraftserver;
                e = i;
                return;
            }
        }
    (from net.minecraft.server.PlayerManager)
     
  4. Offline

    Cogito

Thread Status:
Not open for further replies.

Share This Page