-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extreme server lag (TPS lag) can be caused due to extremely high entity counts into the thousands. Usually this isn’t a problem as the spawning methods within Bukkit check the amount of mobs already within the world. Mob spawners currently bypass this (with some exceptions) which effectively means under mob spawner conditions spawners will never stop spawning mobs. On RetroMC, this has caused large amounts of lag with people AFKing at mob grinders for prolonged periods causing thousands of mobs to be in a single area drastically impacting TPS. This commit adds a feature to Poseidon which will check 8 chunks surrounding the mob spawner to ensure that the mob cap is under a predefined limit (default 150) of that entity time.
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters