Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
BossDropRewardDelay
Added command "bossdrop_delay" to change the delay in-game | Adds a short delay between boss drops to prevent lagspikes/crashing at large drop counts.
| Date uploaded | 4 years ago |
| Version | 1.1.0 |
| Download link | DestroyedClone-BossDropRewardDelay-1.1.0.zip |
| Downloads | 6750 |
| Dependency string | DestroyedClone-BossDropRewardDelay-1.1.0 |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2103README
Boss Drop Reward Delay
This mod adds a short delay between rewards from the teleporter drops. Since modding can increase the amount of drops to high values (such as 16 playercounts x 4 mountain shrines), the amount of drops that are produced becomes too much for the system to handle, either resulting in a long-lasting lagspike or a crash.
The configuration defaults to 0.3s, but the values can be adjusted by the user.
Console command:
bossdrop_delay {seconds}(Server)- Sets the delay to this amount. Useful for changing it midrun for when a larger item drop rate is safe to use.
- Leave empty to show the current delay amount.

Credits
Moffein - IL code, consultation
Changelog
1.1.0 - Added a command that allows for mid-run adjustment of the delay
Written with StackEdit.
CHANGELOG
1.2.1
- Fixed Aurelionite and other bosses that use boss drop tables from dropping random items instead of their guaranteed items.
1.2.0
- Use RiskOfOptions to expose the mod config
- Added an option to drop batches of items
- Removed command
1.1.0
- Added a command that allows for mid-run adjustment of the delay