Panda View Adjust

Panda View Adjust

Mod

Automatically adjust your server's view/simulation distance based on player count / MSPT. Fabrics own ViewDistanceTweaks.

Server ManagementOptimizationUtility

209 downloads
7 followers
Follow Save

PandaViewAdjust

Description

Fabric server-side mod to automatically adjust view-distance and simulation-distanced based on player count & MSPT Set at what amount of players/MSPT will the simulation/view distance change.

This is useful for keeping server MSPT at a reasonable level, even with a lot of players. It also allows you to have very high view distances when there are very little players on.

Configuring

config/PandaViewConfig.json generated at runtime

{
  "requiredMatches": 6, // Number of consecutive checks (20-tick intervals) that must match a configuration before applying it. Higher values = more stable but slower to respond to changes
  "msptBufferPercentage": 0.15, // Buffer zone as a percentage of maxMSPT. If current MSPT is within (maxMSPT + maxMSPT * buffer), it won't trigger a change. Prevents rapid switching between configs
  "entries": [
    //The best acceptable view & simulation distance can be at the top
    { // 5 or less players, 20 or less MSPT
      "maxPlayerCount": 5, //Max amount of players for this configuration (can be 0 to ignore)
      "maxMSPT": 20,    //Max amount of MSPT for this configuration (can be 0 to ignore)
      "viewDistance": 32, //What to set the view distance to at this configuration
      "simulationDistance": 6 //What to set the simulation distance to at this configuration
    },

    // ... Steps between

    {  //The worst acceptable view & simulation distances can be at the bottom
      "maxPlayerCount": 0, 
      "maxMSPT": 0,
      "viewDistance": 3,
      "simulationDistance": 3
    }
  ]
}

Try it out

hardcoreanarchy.gay (Deathban Anarchy)
sky.hardcoreanarchy.gay (Skyblock Anarchy)

Support

Support discord here!

License

CC0


Project members

TreeOfSelf

Member

Details

Licensed CC0-1.0
Published 6 months ago
Updated 20 days ago