Dummy NPC Plugin
Introduction
The
Dummy NPC Plugin allows players to create their own "dummies" in the game.
Dummies automatically attack mobs within
2 blocks in front of them.
Players can
install weapons onto their dummies by right-clicking the dummy while holding a weapon.
To ensure dummies remain active, the plugin keeps the chunk where the dummy is located
always loaded.
When the plugin is disabled or uninstalled, all dummies are automatically removed.
⚡ Features
- ✅ Players can create custom-named dummies
- ✅ Dummies automatically attack mobs within 2 blocks in front
- ✅ Right-click with a weapon to equip the dummy
- ✅ Keeps the dummy’s chunk always loaded
- ✅ Configurable max number of dummies per player
- ✅ Configurable forced chunk-loading radius
- ✅ All dummies are cleared on plugin disable/uninstall
Commands
- /spawndummy <name> <interval>
Spawn a dummy in front of the player with a custom name and attack interval.
- /removedummy <name>
Remove one of the player’s dummies.
- /mydummies
List all dummies created by the player.
⚙ Configuration (dummy/config.yml)
# Maximum number of dummies each player can own
max_dummies: 5
# Forced chunk-loading radius (in chunks, circular area)
radius: 5
Notes
- Dummies are not persistent; they will be removed when the plugin is disabled/uninstalled
- Large chunk-loading radius may increase server load — adjust carefully
- Each player is limited by the max_dummies value in the config