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 lineshologram.lines with %type%, %count% and %owner% placeholders
  • Togglestacking.show-hologram turns 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 triggersnotify.on-place, notify.on-break and notify.on-stack
  • Per-player toggle/spawners notif turns a staff member's own alerts on or off (requires xspawners.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 syncUPDATE / DELETE messages 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-interval minutes (default 5)

Web Dashboard

XSpawners registers a module with XCore's web panel exposing JSON endpoints for remote monitoring.

EndpointReturns
GET /api/xspawners/listFull list of managed spawners (owner, type, count, location)
GET /api/xspawners/statsTotal count, stack count and a per-type breakdown

Both endpoints use the same Bearer token as XCore's web panel.