A comprehensive Hytale server mod for controlling mob spawning through named zones with customizable boundaries, spawn control modes, and filtering options. Part of the HyperSystems plugin suite.
Version: 1.0.0 Game: Hytale Early Access License: GPLv3
HyperSpawns integrates directly with Hytale's native spawn suppression system to control mob spawning through named zones. Create zones with customizable boundaries (cuboid, sphere, cylinder), set spawn control modes (block, allow, deny, modify, replace), and use advanced filtering by NPC type, light level, Y level, and more.
- Named Spawn Zones - Create and manage named zones with unique identifiers
- Multiple Boundary Types - Support for cuboid, sphere, and cylinder boundaries
- Spawn Control Modes:
BLOCK- Completely block all mob spawning in the zoneALLOW- Only allow mobs matching the filter to spawn (whitelist)DENY- Prevent mobs matching the filter from spawning (blacklist)MODIFY- Adjust spawn rates with a multiplierREPLACE- Replace spawning mobs with a different NPC type
- Advanced Filtering - Filter by NPC groups, roles, light level, Y level, time of day, and moon phase
- Priority System - Overlapping zones resolved by priority
- Efficient Spatial Indexing - O(1) average lookup using chunk-based indexing
- Auto-save - Automatic periodic saving of zone data
- Global Controls - Server-wide spawn rate multiplier and pause functionality
-
Build the plugin:
./gradlew shadowJar
-
Copy the built JAR to your Hytale mods folder:
cp build/libs/HyperSpawns-1.0.0.jar ~/Documents/Hytale/mods/ -
Start your Hytale server
-
Verify installation:
/hyperspawns stats
/hyperspawns pos1 -100 0 -100
/hyperspawns pos2 100 256 100
/hyperspawns zone create spawn_protection cuboid
/hyperspawns zone mode spawn_protection BLOCK
/hyperspawns pos1 0 64 0
/hyperspawns sphere safe_zone 50
Main command: /hyperspawns (aliases: /hspawn, /spawns, /hs)
| Command | Description | Permission |
|---|---|---|
/hyperspawns zone create <name> [type] |
Create a new zone from selection | hyperspawns.zone.create |
/hyperspawns zone delete <name> |
Delete a zone | hyperspawns.zone.delete |
/hyperspawns zone list [page] |
List all zones | hyperspawns.zone.list |
/hyperspawns zone info <name> |
Show detailed zone information | hyperspawns.zone.list |
/hyperspawns zone redefine <name> |
Update zone boundary from selection | hyperspawns.zone.modify |
/hyperspawns zone mode <name> <mode> |
Set zone spawn control mode | hyperspawns.zone.modify |
/hyperspawns zone multiplier <name> <0.0-10.0> |
Set spawn rate multiplier | hyperspawns.zone.modify |
/hyperspawns zone priority <name> <number> |
Set zone priority | hyperspawns.zone.modify |
/hyperspawns zone enable <name> |
Enable a zone | hyperspawns.zone.modify |
/hyperspawns zone disable <name> |
Disable a zone | hyperspawns.zone.modify |
| Command | Description | Permission |
|---|---|---|
/hyperspawns global |
Show global spawn settings | hyperspawns.global |
/hyperspawns global multiplier <0.0-10.0> |
Set global spawn rate multiplier | hyperspawns.global |
/hyperspawns global pause |
Pause all mob spawning server-wide | hyperspawns.global |
/hyperspawns global resume |
Resume mob spawning | hyperspawns.global |
| Command | Description | Permission |
|---|---|---|
/hyperspawns wand |
Get selection wand information | hyperspawns.wand |
/hyperspawns wandmode |
Toggle wand selection mode | hyperspawns.wand |
/hyperspawns pos1 <x> <y> <z> [world] |
Set selection position 1 | hyperspawns.wand |
/hyperspawns pos2 <x> <y> <z> [world] |
Set selection position 2 | hyperspawns.wand |
/hyperspawns sphere <name> <radius> [x y z] |
Create sphere zone directly | hyperspawns.zone.create |
/hyperspawns reload |
Reload configuration and zones | hyperspawns.reload |
/hyperspawns stats |
View spawn zone statistics | hyperspawns.stats |
/hyperspawns debug [on|off] |
Toggle debug mode | hyperspawns.debug |
| Permission | Description | Default |
|---|---|---|
hyperspawns.admin |
Full access (wildcard) | op |
hyperspawns.zone.create |
Create zones | op |
hyperspawns.zone.delete |
Delete zones | op |
hyperspawns.zone.modify |
Modify zone settings | op |
hyperspawns.zone.list |
List zones | op |
hyperspawns.global |
Global spawn controls | op |
hyperspawns.wand |
Use selection wand | op |
hyperspawns.reload |
Reload configuration | op |
hyperspawns.stats |
View spawn statistics | op |
hyperspawns.debug |
Toggle debug mode | op |
hyperspawns.bypass |
Bypass all zone restrictions | op |
Configuration file: mods/com.hyperspawns_HyperSpawns/config.json
{
"debugMode": false,
"autoSaveIntervalMinutes": 5,
"defaultZoneMode": "block",
"bypassPermission": "hyperspawns.bypass",
"wandItemId": "hytale:stick",
"particlesEnabled": true,
"particleViewDistance": 32,
"globalSpawnMultiplier": 1.0,
"globalSpawnPaused": false
}See docs/CONFIGURATION.md for detailed configuration reference.
HyperSpawns integrates directly with Hytale's native spawn suppression system through the ChunkSuppressionIntegrator. When you create a zone with BLOCK or DENY mode:
- Calculates affected chunks - Determines which chunks intersect with the zone boundary
- Creates suppression entries - Adds
ChunkSuppressionEntrycomponents to each affected chunk - Registers suppressed roles - For BLOCK mode, all NPC roles are suppressed; for DENY mode, only filtered roles
- Updates loaded chunks - Queues updates for already-loaded chunks so changes take effect immediately
This approach is highly efficient because spawn checks are handled by Hytale's native spawning system.
| Document | Description |
|---|---|
| Admin Guide | Complete server administrator guide |
| Commands Reference | Detailed command documentation |
| Configuration | All configuration options |
| Troubleshooting | Common issues and solutions |
| Mob Spawning | How Hytale mob spawning works |
| Architecture | Technical documentation for developers |
- Java 21+ (for building)
- Java 25 (for running on Hytale server)
- Gradle 8.12+
- Hytale Server (Early Access)
./gradlew shadowJarThe output JAR will be in build/libs/.
- Discord: https://discord.gg/SNPjyfkYPc
- GitHub Issues: https://github.com/HyperSystemsDev/HyperSpawns/issues
Developed by HyperSystemsDev
Part of the HyperSystems plugin suite:
- HyperPerms - Advanced permissions
- HyperHomes - Home teleportation
- HyperFactions - Faction management
- HyperWarp - Warps, spawns, TPA
HyperSpawns - Control Every Creature