Skip to main content

WorldGuard Flags

Listed here are the WorldGuard flags EliteMobs has and their function.


elitemobs-events (allow/deny)

Sets whether Elite Mobs Events can trigger in the region. The default behavior is that Elite Mobs Events are allowed to trigger everywhere, and therefore the primary use of this flag is to disable them for a specific region. If you want to disable Elite Mob Events for an entire world, I recommend editing the ValidWorlds.yml file instead.


elitemob-spawning (allow/deny)

Sets whether Elite Mobs can spawn in the region. The default behavior is that Elite Mobs are allowed to spawn everywhere, and therefore the primary use of this flag is to disable them for a specific region. If you want to disable Elite Mob spawning for an entire world, I recommend editing the ValidWorlds.yml file instead.


elitemob-only-spawning (allow/deny)

Sets whether only Elite Mobs can spawn in a region. This does not increase the amount of Elite Mobs that spawn in an area, it only prevents non-elite mob entities from spawning in that area. This is for users who wish to have entire areas where only Elite Mobs can spawn, such as arenas or higher difficulty zones.

Note: Armor stands and villagers spawned with custom spawn reasons (such as NPCs) are exempt from this restriction and will spawn normally.


elitemobs-antiexploit (allow/deny)

Sets whether the antiexploit can trigger in a region. Allow will let the Antiexploit run, deny will prevent it from running. Deny is recommended for premade arenas and dungeons where you've already tested the terrain for exploits.


elitemobs-explosion-regen (allow/deny)

Sets whether blocks destroyed by Elite Mob explosions will regenerate over time. When set to allow (default), blocks blown up by elites will gradually restore themselves. Setting this to deny will make explosion damage permanent in the region. This flag works in conjunction with the global doExplosionRegen config setting - the flag provides region-specific control while the config sets the server-wide default behavior.


elitemobs-explosion-block-damage (allow/deny)

Sets whether Elite Mob explosions can damage and destroy blocks in a region. When set to allow (default), Elite Mob explosions will break blocks as normal. Setting this to deny will prevent Elite Mob explosions from destroying any blocks in the region, though other explosion effects (like knockback and damage to entities) will still occur. This is useful for protecting build areas or arenas where you want explosive combat without terrain damage.


Also please note: NPCs override the mob-spawning deny flag as a form of third party compatibility with WorldGuard. If you do not wish to have NPCs in an area, I recommend removing them manually.


elitemobs-maximum-level

Sets the maximum level of elite mobs that can spawn in a region. Only affects naturally spawned elites (Custom Bosses ignore this). The level must be an integer value (no values like 1.5, you have to use whole numbers like 1 or 2).


elitemobs-minimum-level

Sets the minimum level of elite mobs that can spawn in a region. Only affects naturally spawned elites (Custom Bosses ignore this). The level must be an integer value (no values like 1.5, you have to use whole numbers like 1 or 2).


elitemobs-dungeon

Sets the area to only allow normal mobs spawned with the CUSTOM spawn reason, as well as Regional Bosses and Custom Bosses. This is for use in minidungeons.

This flag blocks all natural mob spawning in the region. Only mobs spawned via the CUSTOM spawn reason (typically from plugins or dungeon systems), Regional Bosses, and Custom Bosses can spawn. Armor stands are also exempt from this restriction. This creates a controlled environment suitable for instanced dungeons and minidungeons where mob spawning is carefully managed.