This is a discussion topic for the Ore project, ClearMob. View the full project on Ore for downloads and more information.
MC Version 1.10.2/1.12
Sponge API 5.0.0/6.0.0/7.0.0
Able to automatically or manually clear all entities on the list in config.
Has a passive mode that runs the clear in intervals (Asynchronously), which can be disabled or set to different intervals. Also has a customizable warning message that can be enabled to run a minute before passive mode clears entities.
Examples for new General List
entity-w-mob | Marks all Mobs for Removal
entity-w-boss | Marks all Bosses for Removal
entity-w-animal | Marks all Animals for Removal
entity-w-minecraft:zombie | Marks Zombies for Removal
entity-w-* | Marks all Mobs and Animals for removal (Does not include bosses or items)
item-w-* | Marks all Items for removal
item-b-minecraft:golden_shovel | Prevents Golden shovel from being removed by Clearmob
tileentity-w-minecraft:mob_spawner | Marks Mob spawners for removal
Added Generalization function for lists.
Now supports the following as clearing options:
Holy cow how did I miss this plugin. I’ve been looking for something like this for ages. I will test tomorrow, but is it possible to only stack mobs of similar types that come out of a spawner? For instance, I want zombies to act normally when they spawn naturally, but when they spawn from a spawner it would be nice if they stacked. Is something like this possible?
Its configured to stack regardless of spawn conditions… this is more so coming from my past experience as Server Administration where players would build outrageous spawners which would back log hundreds of mobs.
I am open to alterations, but I first want to see how this feature actually works in the community.
Yea there is a problem with that, but wouldn’t that still happen? Couldn’t someone just idle by a spawner since they stack everywhere? That could be fixed by adding a limit to how many mobs would be stacked (I’m not sure how hard of a task this would be). But I would be someone who would be interested in that sort of feature. (Stack size limit and option to only stack spawner mobs) Thanks for the reply!
Even if a player were to idle by a spawner, it wouldn’t cause a huge issue with this method. If it were a single type spawner, the Entities would stack for a very long time (Cap at 2,147,483,647) but the server would still only register it as 1 Entity, not hundreds of thousands.
I’m sort of confused by the last messages. I just want to make sure I’m understanding it and that I’m not reading it wrong.
In your first message you said that people would build outrageous spawners that would just back log hundreds of mobs. Was that the reason for not making an option for spawner only? Or was it something else?
Then in your last message you say that even if they idle at a spawner, it wont cause issues with this method. By method do you mean the way your plugin stacks mobs? But in the current build of the plugin, won’t they still be able to idle the spawners and have a back log of mobs. Since the plugin will just continue to stack them (until the cap you said).
So in the current build of the plugin, couldn’t someone just idle a spawner for hours and stack hundreds of mobs either way?