promotional bannermobile promotional banner

InvasionX

InvasionX is a dynamic event mod for Hytale that introduces a procedural siege system.

File Details

InvasionX-0.0.4.jar

  • R
  • Jan 19, 2026
  • 73.56 KB
  • 423
  • Early Access

File Name

InvasionX-0.0.4.jar

Supported Versions

  • Early Access

Changelog - Blood Moon Event Implementation

🆕 New Features

Blood Moon Event

  • Event Logic: Implemented a new "Blood Moon" event that is mutually exclusive with standard invasions.
  • Night-Only Trigger: The event naturally triggers only between game hours 19:00 and 05:00.
  • Weather Change: Instantly changes the world weather to "Blood_Moon" (configurable) upon starting and restores the previous weather when it ends.
  • Custom Spawns: Spawns a dedicated list of monsters specifically for this event.

Commands

  • Manual Control:
    • /invasion start_bloodmoon: Manually forces the Blood Moon event to start (requires admin).
    • /invasion stop_bloodmoon: Manually stops the active Blood Moon event and restores weather (requires admin).
  • Configuration:
    • /invasion config set bloodmoonchance <value>: Set the probability of the event (default 0.05).
    • /invasion config set bloodmoonweather <value>: Set the weather ID to use (default "Blood_Moon").
    • /invasion config add_blood_monster <name> <chance>: Add a monster to the Blood Moon spawn pool.
    • /invasion config remove_blood_monster <name>: Remove a monster from the Blood Moon spawn pool.
    • /invasion config list_blood_monsters: List all active Blood Moon monsters.

Hot-Reloading

  • Scheduler Reload: Changing CheckIntervalSeconds or Enabled via the config command now automatically restarts the internal scheduler, applying changes immediately without a server restart.

Resources (JSON)

  • Created specific "Invasion" variants for Spirit monsters to ensure proper stats and behavior during the bloodmoon event:
    • Spirit_Ember_Invasion.json
    • Spirit_Root_Invasion.json
    • Spirit_Thunder_Invasion.json
    • Spirit_Frost_Invasion.json

🐛 Bug Fixes

  • Fixed an issue where the scheduler did not update when configuration values were changed at runtime.
  • Fixed an issue where the wrong monsters (default invasion ones) spawned during a Blood Moon.
  • Fixed a logic inversion in checkForInvasion that prevented automatic events from triggering.