PerfectSpawner

Configurable mob spawner blocks with custom cage models, holograms, stacking, time-based rules and a full admin UI. Place, configure, and manage spawners with live diagnostics.

Version2.0.3
PlatformHytale Server Plugin
HytaleUpdate 5 (Pre-Release 5)
Java21
DependenciesNone

Buy on BuiltByBit

Installation

  1. Download PerfectSpawner-2.0.3.jar
  2. Place it in your server's UserData/Mods/ folder
  3. If upgrading from v2.0.0, delete the old jar so you don't have two versions side by side
  4. Start the server
  5. Give yourself a spawner via the in-game UI (/spawner menu) or with the existing item give workflow
  6. If you were running v2.0.0, run /spawner sweep once in each affected world to clear leftover hologram entities

Spawner Types

166 spawner types covering nearly every vanilla Hytale entity, organized by faction:

Each spawner has its own configurable loot multiplier on top of the entity's vanilla drops.

Admin UI

Open with /spawner menu. The UI provides:

Configuration

Per-spawner-type settings (spawner_types.json)

SettingDescriptionDefault
entitiesList of entity ids with weightssingle entry per type
spawnDelaySecondsSeconds between spawn cycles30
spawnRadiusHow far from the spawner mobs spawn5 blocks
spawnCountMobs per spawn cycle2
maxEntitiesMax alive mobs from this spawner256
timeRestrictionalways / day / nightalways
dropMultiplierMultiplier applied to vanilla drops1.0

Global plugin settings (config.json)

SettingDescriptionDefault
hologramsEnabledSpawn hologram entities above each spawnertrue
stackingEnabledAllow stacking spawners of the same typetrue
dropOnBreakEnabledDrop the spawner item when brokentrue
maxStackSizeMax number of stacked spawners on one block5
activationRadiusPlayer must be within N blocks for mobs to spawn (-1 = always active)32
requirePlayerNearbyIf false, spawners ignore the proximity check entirely (skyblock mode)true
hologramSyncIntervalSecHow often the hologram sync runs (seconds, minimum 10)60
langPlugin language (EN, FR, ES, DE, IT)EN

Holograms

Each spawner displays a Nameplate hologram above it showing the mob name, stack count and spawn stats. Text auto-updates after stacking or language changes.

Stacking

Place a second spawner of the same type on top of an existing one to stack it. Each stack level multiplies spawnCount and maxEntities. Hologram reflects the current stack size.

Skyblock Mode

By default, spawners only tick when a player is within activationRadius. This works for a regular open world, but on a Skyblock-style server with players on distant islands you typically want spawners to keep ticking regardless.

Set the following in config.json:

"requirePlayerNearby": false

With this off, the proximity check is skipped entirely. Mobs spawn even when no player is in the world. Combine with a sensible maxEntities per spawner to keep the entity count bounded.

Commands

CommandDescription
/spawner menuOpen the admin spawner management UI
/spawner listList all placed spawners
/spawner removeRemove a spawner
/spawner reloadReload config.json and refresh holograms
/spawner setlang [code]Change language (EN, FR, ES, DE, IT)
/spawner debugLive diagnostic snapshot (see Diagnostics)
/spawner sweepDelete orphan Nameplate entities near tracked spawners in the current world
/spawner helpShow all available subcommands

All admin commands require the perfectspawner.admin permission.

Diagnostics

v2.0.3 adds live diagnostics so server owners can verify the hologram subsystem is healthy without guesswork.

/spawner debug

Prints a snapshot to chat and console:

A healthy server reports tracked == registered and 0 orphans.

/spawner sweep

Scans the current world for the orphan entities reported by /spawner debug and deletes them. Use this once after upgrading from v2.0.0 to clear leftovers, or any time the debug output reports orphans.

Background log

Every 60 seconds the scheduler writes a one-liner to the console:

[PerfectSpawner][1min] spawners=N tracked=N spawned=N(+delta) removed=N(+delta) syncs=N

If the plugin detects a suspicious pattern (spawn growth without matching tracked count), the line is appended with <-- POSSIBLE LEAK so admins notice without manually checking.

Performance

FAQ

Mobs aren't spawning

Make sure you're within the activation range (default 32 blocks), or set requirePlayerNearby to false. Check /spawner debug for live state.

I see floating text stacking above my spawner

You are running an older version where holograms leaked. Upgrade to v2.0.3 and run /spawner sweep in the affected world to clean up.

Spawners in my Skyblock instance don't work

Two things to check. First, set requirePlayerNearby to false if players are far from their islands. Second, make sure you are on v2.0.3 or newer - earlier versions had a cross-world EntityStore bug that broke spawners in any world that wasn't the first one loaded.

Can I create custom mob types?

PerfectSpawner works with all 166 vanilla Hytale entities out of the box. Custom mob support depends on your other mods. If a mod registers its NPC role correctly, you can edit spawner_types.json by hand to point a spawner at the new entity id.

Can a single spawner produce multiple entity types?

Yes. In the type editor, add multiple entries to the entities list, each with its own weight. The plugin picks one at random on every spawn cycle, weighted by your values.