Sueta

Culligula

1.2.3

Culls entities on a regular basis

·Plugin

Culligula 1.2.3

Overview:

Culligula allows periodic culling of entities in order to eliminate congestion of entities.
This plugin does NOT allow you to control the frequency of entities; how many entities are spawned in any given world or area, but rather just whether they should be removed after some period of time that you can specify.

Benefits:

  • Removes entities that may have accumulated around AFK players

Features:

  • Set the number of ticks between cullings
  • Set the age requirement in ticks for culled entities
  • Culling of entities beyond a radius of a player
  • Allow/prevent culling of entities that are targeting a player
  • Allow/prevent culling of entities that are named or tamed
  • Specify any Spawn Reasons to exclude form the culling such as spawned from a Spawner, Cured, Breeding, etc.
  • Specify what mobs may be culled
  • Specify in what worlds the plugin culls

Configuration:
The config.yml file allows to configure the settings for the plugin features.

Spoiler
#
# Culligula
#
# Cleans up mobs on a server
#
debug: false

# time between culls (0 = disabled, 1200 = 1 minute)
ticks: 1200

# cull on chunk load
chunk-load: true

# cull over this age (ticks lived, 3600 = 3 minutes)
age: 3600

# chance of entity removal
chance: 100

# cull outside this range of a player (24-128)
range: 48

# allow cull if targeting or following a player
targeting: false

# allow cull if mob is named (has custom name)
named: false

# allow cull tame mobs (is tamed)
tamed: false

# don't allow cull for these spawn reasons
reasons:
   - BREEDING
   - BUILD_IRONGOLEM
   - BUILD_SNOWMAN
   - BUILD_WITHER
  #   - CHUNK_GEN
   - CURED
  #   - CUSTOM
  #   - DEFAULT
  #   - DISPENSE_EGG
  #   - DROWNED
  #   - EGG
   - ENDER_PEARL
  #   - INFECTION
  #   - JOCKEY
  #   - LIGHTNING
  #   - MOUNT
  #   - NATURAL
  #   - NETHER_PORTAL
  #   - OCELOT_BABY
  #   - REINFORCEMENTS
   - SHEARED
   - SHOULDER_ENTITY
  #   - SILVERFISH_BLOCK
  #   - SLIME_SPLIT
   - SPAWNER
   - SPAWNER_EGG
   - TRAP
   - VILLAGE_DEFENSE
   - VILLAGE_INVASION

# allow cull if mob on this list
mobs:
  - BAT
#  - BEE
#  - BLAZE
#  - CAT
  - CAVE_SPIDER
#  - CHICKEN
#  - COD
#  - COW
  - CREEPER
#  - DOLPHIN
#  - DONKEY
  - DROWNED
#  - ELDER_GUARDIAN
#  - ENDER_DRAGON
  - ENDERMAN
#  - ENDERMITE
#  - EVOKER
#  - FOX
#  - GHAST
#  - GIANT
#  - GUARDIAN
#  - HORSE
  - HUSK
#  - ILLUSIONER
#  - IRON_GOLEM
#  - LLAMA
  - MAGMA_CUBE
#  - MULE
#  - MUSHROOM_COW
#  - OCELOT
#  - PANDA
#  - PARROT
#  - PHANTOM
#  - PIG
  - PIG_ZOMBIE
#  - PILLAGER
#  - POLAR_BEAR
#  - PUFFER_FISH
#  - RABBIT
#  - RAVAGER
#  - SALMON
#  - SHEEP
#  - SHULKER
#  - SILVERFISH
  - SKELETON
#  - SKELETON_HORSE
#  - SLIME
#  - SNOWMAN
  - SPIDER
#  - SQUID
  - STRAY
#  - TRADER_LLAMA
#  - TROPICAL_FISH
#  - TURTLE
#  - VEX
#  - VILLAGER
#  - VINDICATOR
#  - WANDERING_TRADER
  - WITCH
#  - WITHER
  - WITHER_SKELETON
#  - WOLF
  - ZOMBIE
#  - ZOMBIE_HORSE
#  - ZOMBIE_VILLAGER

worlds:
  - world
  - world_nether
  - world_the_end

silent: true

# these can also be empty strings
messages:
  pre: 'Culling entities:'
  post: 'Removed %count% entities'
  entity: '%type% at %world%:%locX%,%locY%,%locZ%'


Commands:

/culligula reload - reloads the configuration

Permissions:

culligula.admin - enables using the reload command

Terms of Service:
The plugin is provided AS-IS.

Disclaimer:
This plugin currently supports versions 1.13+. Features may break if used with other versions of Minecraft than intended.


It takes a lot of tasty coffee to keep cranking out quality code.
Please donate if you like my plugins...

Similar projects

Plugin →