config.yml

Main Settings

These are the global plugin settings.

enabled: true
debug-messages: false
metrics: true
Setting
Description

enabled

Enables or disables the entire plugin.

debug-messages

Enables verbose debug output in the console. Only enable when troubleshooting.

metrics

Enables bStats metrics collection.


Event Monitoring

Configure which events the plugin listens to and how chunk inspections work.

events:
  spawn:
    creature: true
    vehicle: true
    entity: true
  inspections:
    enabled: true
    frequency: 60

Spawn Event Watching

Setting
Description

events.spawn.creature

Listen to CreatureSpawnEvent.

events.spawn.vehicle

Listen to VehicleCreateEvent.

events.spawn.entity

Listen to EntitySpawnEvent. Catches entities not handled by creature spawn.

Chunk Inspections

Setting
Description

events.inspections.enabled

Periodically re-check loaded chunks.

events.inspections.frequency

How often (in seconds) chunks are rechecked.


Entity Management

Entity Groups

You can define your own entity groups.

circle-info

Use entities from https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.htmlarrow-up-right

You can also use the in-game command /cslsearch to view available entity types.

Example:

You may freely add or remove entity types depending on your server version.


Entity Limits

Define maximum entities per chunk per group.

If a group is not defined in entity-groups, it will fall under OTHER.


Preservation Settings

Setting
Description

named-entities

Prioritizes unnamed entities for removal before named ones.

raid-entities

Prevents pillagers involved in raids from being removed.


Removal Modes

Available modes:

Mode
Description

enforce

Cleans existing violations and prevents new ones.

enforce-kill

Same as enforce, but kills entities instead of removing them.

prevent

Only prevents new violations.

remove

Instantly removes excess entities.

kill

Kills excess entities (drops + effects).

Armor Stand Options

Setting
Description

drop

Drop items from armor stands when killed.

log-warnings

Enable or disable armor stand tick warnings.

Kill Players

If enabled, players exceeding chunk limits may be killed when using kill-based modes.


Ignored Entities

Entities with matching metadata or NBT tags will be ignored.

circle-exclamation

Spawn Reasons

Define which spawn reasons should be processed.

To disable a reason, simply remove it from the list.

Example: If you want iron golems built by players to be checked, ensure:

is present in the list.


Block Restrictions

Block Groups

Block names must match Bukkit Material names.


Block Limits

This example limits spawners to 10 per chunk.


World Configuration

Control which worlds the plugin applies to.

Mode
Description

excluded

Plugin runs in all worlds except those listed.

included

Plugin runs only in listed worlds.

Example (only run in world):


Notifications

Configure player notifications when entities or blocks are blocked or removed.

Setting
Description

enabled

Enable player notifications.

cooldown-seconds

Cooldown between notifications per player.

method.title

Send as title/subtitle.

method.message

Send as chat message.


Custom Messages

You may use color codes with &.

Available placeholders:

  • {count} โ€” Number of entities affected

  • {type} โ€” Entity or block type

  • {material} โ€” Block material

  • {amount} โ€” Maximum allowed amount

Example:

You may remove placeholders if not needed.

Last updated