Features
- Detects player-built structures (2D or 3D)
- Supports rotation, mirroring, and block tolerance
- Activation by right-click or block placement
- Works with vanilla and MythicMobs
- Triggers commands, particles, and sounds
- Includes /build for testing and /debug for development
Compatibility
- Minecraft: 1.20 → 1.21.1
- Java: 17+ (21 for Paper 1.21+)
- Server: Spigot / Paper
Commands
/structurespawn help - Show available commands
/structurespawn reload - Reload configuration
/structurespawn build <id> - Build a structure from config
/structurespawn debug on/off - Toggle debug messages
Permissions
structurespawn.admin - Access to all commands
structurespawn.reload - Reload configuration
structurespawn.build - Build test structures
structurespawn.debug - Toggle debug mode
Example config
structures:
- id: altar_test
centerMustBe: ENCHANTING_TABLE
pattern:
- "1,0,0:OBSIDIAN"
- "-1,0,0:OBSIDIAN"
- "0,0,1:OBSIDIAN"
- "0,0,-1:OBSIDIAN"
- "1,1,0:CANDLE"
- "-1,1,0:CANDLE"
activation:
type: right_click
actions:
vanilla: { type: ZOMBIE, amount: 1 }
commands:
- "title @a title {\"text\":\"The ritual begins...\",\"color\":\"red\"}"
Usage
- Build your structure in the world.
- Add its layout in config.yml.
- Run /structurespawn reload.
- Test it with /structurespawn build altar_test.
- Right-click the center block to trigger the event.