Sueta

ClearEntities

1.1

Clear all unwanted entities in style. Now with multi-line messages and PlaceholderAPI support.

·Plugin


Clear all unwanted entities in style. Now with multi-line messages and PlaceholderAPI support.

Features:

  • Timed warnings
  • Entity whitelist
  • Customizable clear and warn messages

Planned:

  • World whitelist
  • Disable messages

Commands:

  • /clearentities clear - Clears entities
  • /clearentities reload - Reloads the configuration file

Permissions:

  • clearentities.admin - Allows for the usage of /clearentities

Placeholder:

  • %clearentities_timeleft% - displays the time in seconds left until the next clear

Configuration:

config.yml
# Add your wanted entitytypes that should not be removed by the plugin
# A list of EntityTypes can be found here https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
whitelist:
  - "ITEM_FRAME"
  - "ARMOR_STAND"
  - "VILLAGER"
  - "MINECART"

# Enter time in seconds between each automated clear
time: 300

warntimes:
  - 60
  - 30
  - 5

messages:
  warn:
    - ""
    - "%center%&e&l*** ALL &f&l&nENTITIES&e&l WILL BE CLEARED IN &f&l%time% &e&lSECONDS. ***"
    - "%center%&7&o((Excluding frames, villagers, stands, & minecarts))"
    - ""
  clear:
    - ""
    - "%center%&e&l*** &f&l&n%entities%&e&l ENTITIES WERE REMOVED. ***"
    - ""

Similar projects

Plugin →