Integrations & Sync
Holograms (FancyHolograms)
When FancyHolograms is installed, XSpawners renders a live hologram above each managed spawner showing its type, stack count and owner. The hook is reflection-based — if FancyHolograms is missing, holograms silently no-op and the rest of the addon keeps working.
- Configurable lines —
hologram.lineswith%type%,%count%and%owner%placeholders - Toggle —
stacking.show-hologramturns the hologram on or off
WorldGuard Integration
XSpawners registers a custom region flag xspawners-allow (default ALLOW). Set it to DENY on a region to block managed-spawner placement there.
The integration is optional and fails open — if WorldGuard isn't installed, the check is skipped and placement is allowed.
Alerts
XSpawners can broadcast a message when a managed spawner is placed or broken, sent to staff holding the xspawners.alerts permission.
- Configurable triggers —
notify.on-place,notify.on-breakandnotify.on-stack - Per-player toggle —
/spawners notifturns a staff member's own alerts on or off (requiresxspawners.notif)
Persistence & Cross-Server Sync
Managed spawners live in XCore's shared xspawners database table, so multiple servers sharing the database see the same data.
- Cross-server sync —
UPDATE/DELETEmessages broadcast on XCore's sync channel keep every server's cache current - Auto-save — the in-memory state is flushed to the database every
auto-save-intervalminutes (default5)
Web Dashboard
XSpawners registers a module with XCore's web panel exposing JSON endpoints for remote monitoring.
| Endpoint | Returns |
|---|---|
GET /api/xspawners/list | Full list of managed spawners (owner, type, count, location) |
GET /api/xspawners/stats | Total count, stack count and a per-type breakdown |
Both endpoints use the same Bearer token as XCore's web panel.