Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Adds 45+ extra WorldGuard flags - Folia, Disable Mace & more, Permit entry by XP or PAPI, and more.
4.4.2
New flags
lightning-damage| Lightning strikes appear visually but don't damage players when set to deny in a region. Useful for PvP arenas. (PR #21 by @1wairesd)console-command-repeat| Repeats a console command at a fixed interval (1-60 seconds) while a player stays in the region. Disabled by default — enable viaall-flags-control.console-command-repeat: true. Usage:/rg flag <region> console-command-repeat "20 give %player% diamond 1"
Fixes
disable-completely| Fixed hotbar-swap bypass: a player could sendHELD_ITEM_CHANGEimmediately beforeSTABin the same tick, bypassing the region flag. Packet hooks now intercept the slot switch before NMS applies it — if the target slot holds a blocked item, the switch is cancelled outright. (Issue identified by @1wairesd)console-command-repeat| FixedIllegalStateException: Dispatching command asyncon Folia servers by routing the command dispatch throughrunNextTick. Fixed flag value parsing: the underlying element flag no longer auto-prepends/to entries, so values like6 say hiare stored and parsed correctly.console-command-repeat| Fixed reward farming by adding persistent cooldown tracking. The handler now records the last execution time for each flag entry. When a player exits and re-enters the region, the remaining interval is calculated from the last payout — preventing instant rewards on re-entry. On first entry, the command waits the full interval before any payout.console-command-repeat| Fixed FoliaLib warning about 0-tick delay when the cooldown expired while the player was away. The catch-up command is now dispatched viarunNextTickinstead of passing0Lto the entity timer.
Platforms
Paper
1.21–26.2
Dependencies
Paper
- WorldGuard
- PlaceholderAPI Optional
- ProtocolLib Optional