What's New in Version 2.2.0
Dungeon Spawn/Despawn Hooks
Added new hooks to the plugin’s lifecycle. These events will now trigger OnDungeonSpawn and OnDungeonDespawn when a dungeon is created or removed, allowing other plugins and server owners to track the dungeon lifecycle more easily.
void OnDungeonSpawn(ulong OwnerID, Vector3 Position, string Grid, string TierName)
{
PrintWarning($"Dungeon spawned at {Position} by {OwnerID} Grid: {Grid}, Tier: {TierName}");
}
void OnDungeonDespawn(ulong OwnerID, Vector3 Position, string Grid, string TierName)
{
PrintWarning($"Dungeon despawned at {Position} by {OwnerID} Grid: {Grid}, Tier: {TierName}");
}
Console Commands for Admins/Event Manager
Introduced new admin‐only console commands for forcing dungeon spawns, removing all active dungeons, and performing cleanup tasks without needing chat commands.
"
spawnrandomdungeon"
Forces a random dungeon to spawn immediately.
"
spawnfixeddungeon <tierName>"
Spawns a specific tier of dungeon (for example, "
spawnfixeddungeon hard").
Configurable Random Spawn Announcement
Implemented a configuration toggle to enable or disable the public broadcast message when a dungeon randomly spawns.
"Show Dungeon Spawn Announcement": true
Prevent Dropping the Active Item
Players can no longer drop their currently equipped item while inside a dungeon, helping to avoid unwanted drops during dungeon runs.
Spawn Near Purchaser
When a player buys or creates a dungeon, it will now generate in the closest open area near the player’s position, instead of a purely random spot on the map.
Configurable Command Blocking
Introduced new configuration options to block commands while players are inside a dungeon.
"Block all commands when inside a dungeon": true,
Faster Dungeon Marker Updates
The in‐game map marker for a purchased dungeon now updates more quickly to show the buyer’s name, ensuring players can tell who owns the dungeon at a glance.
Tier‐Based Economics/ServerRewards
Reward players with Economics currency or ServerRewards points when they kill NPCs, destroy turrets, or break boxes inside a dungeon. Each tier can have its own reward values, so you can balance payouts for Easy, Normal, Hard, and higher difficulties.
Version 2.2.1 :
Fixed a bug that reset translations to default when restarting the plugin.