EntityCleanup
Entity Cleanup
Remove them annoying entities!
About
Entity cleanup is a tool which automatically removes any entities that you add to the list inside the configuration, this includes things such as item drops, XP orbs, minecarts and mobs.
It is fully configurable and can be toggled on and off within game, as well as reloaded. It also has permissions support
Configuration
#The time between runs in ticks (Minimum 20, make sure you leave the L on the end. 20 ticks = 1 second) #Do not set too high, or it could cause a server lag while the script has to cycle through all the entities and #Remove them Interval: 40L #The amount of time the cleanup will run for. WARNING: DO NOT SET HIGHER THAN THE INTERVAL. Reccomended amount is half of the interval or less RunTime: 10L #The entity ID's to remove, http://www.minecraftwiki.net/wiki/Data_values#Entity_IDs Entities: - 1 - 2 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 19 - 20 - 21 - 41 - 42 - 43 - 44 - 45 - 46 - 47 #The names of the world to run on Worlds: - world #The prefix for the command return messages CommandPrefix: EC #The color for the prefix CommandPrefixColor: b #Enable logging EnableLog: true
Commands
/EC Toggle
Toggles the cleaner on and off. Permission: entitycleanup.use
/EC Reload
Reloads the configuration *Note* This will not change the rate at which the cleaner operates, a restart must happen for that to be changed *Note* Permission: entitycleanup.use
To Do List
- Suggest some things
Source
The source is available on github Source
@Lukeer31
What amount of interval you recommend me?
@Bouger
I recommend in your case you try increasing the interval too a little higher so it runs less often, as you are only removing one type of entity
@Lukeer31
Interval: 80L RunTime: 10L Entities: - 43 - 44 - 46 Worlds: - world_nether - world CommandPrefix: EC CommandPrefixColor: b EnableLog: false
I put this configuration because with the minecarts you can duplicated items on the server, so I use this plugin, so each time you put a minecart, it will be removed immediately.
@Bouger
Hi There,
From the timings the plugin is using 1.4% of your tickloop, which is about the same as PreciousStones.
What does your configuration look like?
I have this plugin to block the entities of the minecart, but in my timings of spigot, he says that EntityCleanup causes lag. http://aikar.co/timings.php?url=6653986