mod-changeablespawnrates

This WoW-Azerothcore-Mod allows ac-server-administrators to change spawntimes based on a user-defined or dynamically calculated playerbased factor

Installation

  1. Navigate to the server modules-directory
  2. Open up git-bash there
  3. Execute the command git clone https://github.com/justin-kaufmann/mod-changeablespawnrates.git
  4. Open up cmake and generate the project
  5. Rebuild the project via Visual Studio
  6. Execute the sql-files in modules data directory
  7. Configure the module
  8. Done!

How does this mod work?

Fixed spawnfactor:

e.g.: the factor is set to 0.5, then all spawntimes (except instance/raid-mobs) will be halfed

Dynamic spawnfactor:

The dynamic spawn rate calculation follows these rules:

This spawn rate calculation mechanism ensures that the spawn rate is dynamically adjusted based on the number of active players in the game, with a gradual decrease in the rate as more players join. Once the rate reaches a minimum threshold, further adjustments are made in smaller increments, both when players log in and log out, to maintain a balanced gameplay experience. Additionally, the system enforces a configurable minimum spawn time to prevent instant respawning of creatures (default 5 secs).