Mineuniverse
Log in Register
Plugins

TheCleaner

An entity and memory cleanup utility plugin for Bukkit
by _ForgeUser7440491
Download Claim this project
11,319 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools World Editing and Management

TheCleaner is a simple clean up utility (ala '/stoplag' from WorldGuard) which safely cleans up the world's dangling entities. It ignores players, their pets, and paintings, and will not clean any vehicle that is currently in use by a player.

Information

  1. Github
  2. Jenkins 2.1. Use of the plugin builds from Jenkins is unofficial, unsupported and unapproved by BukkitDev Staff!

Commands

/cleanup

  • As a player, this command will clean the entities in your current world. It ignores paintings, other players, and player pets by default.
  • As the console, this command will clean the entities in all worlds (using the same criteria).

/sysstat

  • Display memory usage information and server tick rate
  • With --verbose, also displays environment java version and server operating system

Flags

  • Entity Flags
  • * --monster - This flag causes the command to only clear out monsters. /clean --monster
  • * --animal - This flag causes the command to only clear out animals. /clean --animal
  • * --watermob - This flag causes the command to only clear out water mobs. /clean --watermob
  • * --vehicle - This flag will cause the command to only clear out vehicle entities. Cannot be used with --painting. /clean --vehicle
  • * --painting - This flag will cause the command to only clear out paintings. Cannot be used with --vehicle. /clean --painting
  • * --golem - This flag will cause the command to clear out player created golems, in addition to all the regular entities. /clean --golem
  • * --pet - This flag will cause the command to clear out pets, in addition to all the regular entities. /clean --pet
  • * --villager - Specifying this flag will cause villagers to be removed. By default they are untouched. /clean --villager
  • Informational flags
  • * --info - Displays entity information about the given worlds, your current world, or all worlds (from console or with --all). /clean --info
  • * --verbose - Displays more complete information during a clean.
  • * --broadcast - Sends notices to all online players that the entities are being cleaned.
  • * --radius=[num] - Sets a radius around a player, outside of which entities will not be cleaned.
  • --force - Causes all entities (excluding players and paintings) to be removed forcefully from the server. Can also include a flag. Without additional flags, Includes pets and vehicles (even if they're in use), but not paintings. /clean --force
  • world name - Can be used to specify a specific world for cleanup. /clean world_nether

Flag Usage

Flags can be combined in any number of ways to create dynamic cleanup switches. If you want to clear out the server's animals because breeding got out of control, just do /clean --animal --all. To generate a detailed report of which entities were cleaned and how many, you can use --report.

Flags are explicit. If you don't set one in the command, that type of entity will NOT be cleaned.

Startup

Specifying the config option startup.clean and startup.flags allows TheCleaner to clear out entities when the world finishes loading, which could help for cases where you've blown up a lot of TNT and can't get back onto your server. --info, --all, and --verbose do not do anything in this case.

Example commands

/clean --all --monster
/clean --watermob world
/clean --force --verbose --broadcast
/clean --broadcast --vehicle
/sysstat

Permissions

  • thecleaner.monster
  • thecleaner.animal
  • thecleaner.watermob
  • thecleaner.vehicle
  • thecleaner.painting
  • thecleaner.pet
  • thecleaner.golem
  • thecleaner.villager
  • thecleaner.force
  • thecleaner.info
  • thecleaner.all
  • thecleaner.verbose
  • thecleaner.broadcast
  • thecleaner.world.[world name]
  • thecleaner.* - Includes all above permissions
1.10 b99
MC CB 1.5.1-R0.1
Release 2013-02-24 Get
1.5 b35
MC CB 1.2.5-R4.0
Release 2012-06-29 Get
1.5 b30
MC CB 1.2.5-R4.0
Release 2012-06-15 Get
1.4 b26
MC CB 1.2.5-R3.0, CB 1.2.5-R2.0, CB 1.2.5-R1.0
Release 2012-06-04 Get
1.3 b6
MC CB 1.2.5-R3.0, CB 1.2.5-R2.0, CB 1.2.5-R1.0
Release 2012-05-27 Get
1.3 b3
MC CB 1.2.4-R1.0, CB 1.2.5-R2.0, CB 1.2.5-R1.0
Release 2012-05-24 Get
Tekkit/1.3 b1
MC CB 1.1-R3, CB 1.1-R2, CB 1.1-R4
Release 2012-05-24 Get
1.3 b2
MC CB 1.2.4-R1.0, CB 1.2.5-R2.0, CB 1.2.5-R1.0
Release 2012-05-23 Get
1.2 b1
MC CB 1.2.4-R1.0, CB 1.2.5-R1.0
Release 2012-05-09 Get
1.1-b8
MC CB 1.2.5-R1.2, CB 1.2.4-R1.0, CB 1.2.5-R1.0
Release 2012-04-29 Get
1.0 b6
MC CB 1.1-R4, CB 1.2.4-R1.0, CB 1.2.5-R1.0
Release 2012-04-28 Get
1.0 b4
MC CB 1.2.4-R1.0
Release 2012-04-14 Get

More from _ForgeUser7440491

RankSuite
6,110
TeleportSuite
54,455
kTriggers
5,408
Privileges
25,263
ChatSuite
23,130
JobSuite
12,406

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945