Spawners Overview
Spawners allow you to automatically spawn mobs at specific locations or randomly around players.
Static Spawners
Place spawners at fixed coordinates that spawn mobs when players are nearby.
Configuration
Spawner files are located in plugins/btcMobs/Spawners/.
MySpawner:
mob: ForestGuardian
world: world
location:
x: 100
y: 64
z: 200
interval: 30
warmup: 5
amount: 1-2
max-active: 5
radius: 32
Options
| Option | Type | Description |
|---|---|---|
mob | string | Mob type to spawn |
world | string | World name |
location | object | Spawn coordinates (x, y, z, yaw, pitch) |
interval | number | Seconds between spawns |
warmup | number | Initial delay before first spawn |
amount | number/range | Mobs per spawn (e.g., 1-3) |
max-active | number | Maximum alive mobs from this spawner |
radius | number | Activation range |
Random Spawners
Spawn mobs randomly around players based on conditions.
Configuration
Random spawn files are in plugins/btcMobs/RandomSpawns/.
RandomZombie:
mob: CustomZombie
chance: 0.1
interval: 60
amount: 1-3
spawn-radius: 32
min-distance: 10
max-nearby: 5
worlds:
- world
- world_nether
biomes:
- forest
- plains
Options
| Option | Type | Description |
|---|---|---|
mob | string | Mob type to spawn |
chance | float | Spawn probability (0.0-1.0) |
interval | number | Check interval in seconds |
amount | number/range | Mobs per spawn |
spawn-radius | number | Max distance from player |
min-distance | number | Min distance from player |
max-nearby | number | Max of this type nearby |
worlds | list | Allowed worlds |
biomes | list | Allowed biomes |
regions | list | WorldGuard regions (optional) |
Conditions
Control when spawning occurs:
ConditionalSpawner:
mob: NightCreature
conditions:
- time{time=night}
- weather{weather=clear}
- moon{phase=full}
Commands
| Command | Description |
|---|---|
/btcmobs spawner create <name> <mob> | Create a spawner |
/btcmobs spawner remove <name> | Remove a spawner |
/btcmobs spawner list | List all spawners |