StrawIODOCS
English
Panel ↗Discord ↗

MobSpawns v1.0.1

Configuration

Buy on BuiltByBit ↗

All files are in plugins/StrawMobSpawns/. Pick a file to see its default content. Edit the file on your server, then run /strawmobspawns reload or restart.

This plugin has 4 files.

plugins/StrawMobSpawns/config.yml

yaml
# Mob spawning is enabled for players until they use /mobtoggle.
language: en
debug: false

# Distance around a player whose Mob Spawns setting is OFF (1-64 chunks).
radius-chunks: 4

# Remove affected mobs already inside loaded chunks when switching OFF.
remove-existing-on-disable: true

# Maximum loaded chunks checked per tick across all players (1-64).
cleanup-chunks-per-tick: 32

# Only these mobs are blocked and removed while Mob Spawns is OFF.
# WARDEN_ANGRY is a WARDEN state and is treated as WARDEN.
# Names unavailable on an older server version simply have no matching mob.
disabled-mobs:
- ZOMBIE
- SKELETON
- SPIDER
- CREEPER
- ENDERMAN
- WITCH
- SLIME
- MAGMA_CUBE
- GUARDIAN
- SHULKER
- PHANTOM
- DROWNED
- HUSK
- STRAY
- VINDICATOR
- EVOKER
- VEX
- PILLAGER
- RAVAGER
- HOGLIN
- ZOMBIFIED_PIGLIN
- BLAZE
- GHAST
- SILVERFISH
- ENDERMITE
- CAVE_SPIDER
- GIANT
- ZOMBIE_VILLAGER
- ZOMBIE_HORSE
- SKELETON_HORSE
- WARDEN
- WARDEN_ANGRY
- ENDER_DRAGON
- WITHER
- WITHER_SKELETON
- PIGLIN
- PIGLIN_BRUTE
- ZOGLIN
- STRIDER
- PARCHED

# These server-generated spawn reasons are controlled.
spawn-reasons:
- NATURAL
- CHUNK_GEN
- JOCKEY
- PATROL
- RAID
- REINFORCEMENTS

# Important entities that should never be removed or blocked.
excluded-entity-types:
- VILLAGER
- WANDERING_TRADER

protect-named-mobs: true
protect-tamed-mobs: true

# Where short toggle notifications appear.
# Send only the current online player count to the license panel.
metrics:
  enabled: true

notifications:
  chat: true
  actionbar: true
  sound: true

updates:
  check-enabled: true
  console-notify: true
  admin-notify: true
  auto-download: false

# Quick reference.
# /mobtoggle: Toggle nearby mob spawning.
# /strawmobspawns help|reload: Help or safely reload the plugin.
# strawio.mobspawns.use [true]: Use /mobtoggle.
# strawio.mobspawns.reload [op]: Reload the plugin.
# Placeholder: %strawmobspawns_enabled%
# Documentation: https://docs.strawio.net
# License Panel: https://panel.strawio.net
# Support: https://discord.gg/strawio
StrawIO Docs · MobSpawns

Search documentation

Search across plugins and common guides.