EntityCleaner



EntityCleaner is an Add-on to AdminCmd. It provides the admin with the possibilty to remove entites every xx minutes to save memory! AdminCmd is NEEDED for this Add-on to work correctly.

It inherits any immunity level from AdminCmd!


Features:

  • Worlds to be taken care of can be specified in the Config
  • Each class of entites can be turned off/on(not removed/removed)
  • Items can be specified which should be removed
  • Carts and Boats can be protected if they are on rails/in water

Commands:

All parameter in itallic are optional. For the name of the task you have to insert in taskName see list after the permission node.

CommandFlagsParamDescriptionAlias
/purge-s,-r,-c,taskNameFlag -s: Starts or Stops a Task.
Flag -r: Restarts a task.
Flag -c: Prints available information about the task values
/purge-p,-otaskName false|trueFlag -o: En-/Disables the task in the config. If the task already runs you'llhave to stop it
Flag -p: Sets protected to ture/false. Defines if carts/boats should be deleted if they are on rails/in water.
/purge-t,-itaskName timeSets the two times.
Flag -i: The time before the task is started for the first time after server start(initTime).
Flag -t:Time between each clearing of entites.
/purge-ataskName initTime time true|falseSets all the parameters except -p ones. Order is important and can't be changed!

IMPORTANT: You have to write the exact taskName provided in the list below, the input is CASE-Insensitive.


Permissions:

CommandPermission Node
/purgeentitycleaner.purge

TaskNames:

taskNameWhat the Task does
cartRemoves Minecarts
boatRemoves Boats
vehicleRemoves both carts and boats
monsterRemoves monsters
animalRemoves Animals
villagerRemoves Villagers
arrowRemoves Arrows
orbRemoves ExperienceOrbs
itemRemoves items specifie in the config
allRemoves all the above entities

Download & Source:

Download 1.2 (BUILD 07.08.2013 @ 17:02:08) NEEDS AdminCmd 7.4.0-SNAPSHOT (BUILD 07.08.2013 @ 02:07:57)

Source

DEV-SNAPSHOTS:

DEV Changelog:


Changelog:

  • Version 1.2:
    • [UPDATE] Updated plugin to MC 1.6.2 and AdminCmd 7.4.0-SNAPSHOT
    • [BUGFIX] Fixed an NPE in the Scheduler task
  • Version 1.1:
    • [MAJOR CHANGE] Updated Config Layout, now world specific settings are possible, please remove the old config file!
    • [BUG FIX] Fixed some things in the purge command
    • [NEW FEATURE] Added passenger protection for Cart,Boat and Vehicle task
    • [CHANGE] Removed protection from all task as it is meant to really remove all entities
    • [NEW FEATURE] New flag -e to set the passenger check to on/of (true/false)
    • [CHANGE] Purge command now has a new layout in usage:
      /purge <flag> <world> <taskName> <value>
      If a player executes a command the <world> can be omitted, if it is issued from console it is NEEDED!
    • [MAJOR CHANGE]Changed permissions: just remove the admincmd. in front of each permission
  • Version 1.0:
    • Initial Release
addon/entitycleaner.txt · Last modified: 2013/08/07 18:12 by lathanael
Back to top
CC Attribution-Noncommercial-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0