BentoBoxWorld / Limits

Limits blocks and entities on islands - for BentoBox
Eclipse Public License 2.0
8 stars 17 forks source link

Bentobox limit addon bug #121

Open kFxDaKing opened 3 years ago

kFxDaKing commented 3 years ago

Description

Describe the bug

Not sure whats wrong but it looks like limit addon have problems with JetsMinions plugin.

Here is an error, it causes server crashes and it has heavy tps impact. http://bin.cyborggg.eu/qiquvobawu.md

Environment

Output of /bbox version (Mandatory)
>....=>.... [15:22:08 INFO]: Běžím na Neplatné (YATOPIA) Neplatné.
>.... [15:22:08 INFO]: Verze BentoBox: 1.15.5
>.... [15:22:08 INFO]: Databáze: MARIADB
>.... [15:22:08 INFO]: Načtené herní světy:
>.... [15:22:08 INFO]: oneblock_world (OneBlock): Svět, Nether, End
>.... [15:22:08 INFO]: Načtené doplňky:
>.... [15:22:08 INFO]: AOneBlock 1.4.6 (ENABLED)
>.... [15:22:08 INFO]: Border 2.0.2 (ENABLED)
>.... [15:22:08 INFO]: Level 2.5.1 (ENABLED)
>.... [15:22:08 INFO]: Likes 2.0.0 (ENABLED)
>.... [15:22:08 INFO]: Limits 1.15.0 (ENABLED)
>.... [15:22:08 INFO]: Warps 1.10.2 (ENABLED)

Plugins (Optional)

>....=>.... [15:22:32 INFO]: Plugins (74): AdvancedLottery, AntiAFKPlus, AntiWorldFly, AutoMessage, AutoTool, BentoBox, BlockCommand*, BlockParticles, ChestShop, Citizens, ClearLag, CMI, CMIEInjector*, CMILib, CMIPaperLib, CombatLogX, CommandNPC*, CommandsToDiscord*, CoreProtect, CrazyAuctions, CrazyCrates, CrazyEnchantments, CrazyEnvoy, DeluxeMenus, DeluxeTags*, EasyBackup, EntityDetection, EpicChatPrefix*, EpicSpawners, FastAsyncWorldEdit (WorldEdit), HolographicDisplays, HolographicExtension, HolographicPlaceholders, Images, InventoryRollback, JetsMinions, JetsSellChests, Lib1711*, LiteBans, LuckPerms, MineStore*, Minetrends*, MNRPOneBlock, Multiverse-Core, NametagEdit*, NexEngine, NoJoinMessage, NoPlugins, PlaceholderAPI, Plan, PluginManager*, PlugMan, ProtocolLib, RevoltCrates, SAML, ShopGUIPlus, SkinsRestorer, spark, SuperBoosters, SuperbVote, SuperMobCoins, SuperPouches, TAB, TitleManager, TradeSystem, Vault, ViaBackwards, ViaVersion, VillagerOptimiser, VoidSpawn, VoidWorld*, VoteParty, Votifier, WorldGuard
tastybento commented 3 years ago
  1. A SlayerMinion performs a task that causes a creature to spawn in the world
  2. Bukkit fires the CreatureSpawnEvent event
  3. Limits is listening for it and determines that the creature type spawned is in the list of limited entity types
  4. Limits tries to do a count of entities on the island
  5. Limits asks the world for a list of all the entities in the world
  6. The server takes > 25 seconds to get the number of entities in the world - usually this is immediately available.
  7. The server continues to hang...
  8. After 45 seconds, Paper reports the second delay warning and we see that it is due to an Iron Golem Position: world: 'oneblock_world' at location (-1151.2629859122146, 90.0, 1791.300000011921) doing something.

Hmm, well, this is all server side crashing type problems. There's no reason why this should happen and it obviously doesn't most of the time. Either the server code has a bug in it - try updating your server to the latest version - or maybe there is some kind of incompatibility between JetMinions and Limits.

What was the minion doing? Was it making an iron golem? Do you have a limit on Iron Golems? Try removing the limit and see if it helps.

kFxDaKing commented 3 years ago

Yes im limiting iron_golems.

Players got iron golems spawners and using slayers minions to kill the iron golems.