Protect your server! WorldGuard lets you and players guard areas of land against griefers and undesirables as well as tweak and disable various gameplay features of Minecraft.
🛑 Make sure that you are using the Java version of Minecraft.
- Set up a Bukkit server such as Spigot or Paper (Paper is recommended over Spigot).
- Download WorldEdit from the WorldEdit page.
- Download WorldGuard from this page (see the Files tab above for all versions).
- Put the WorldEdit and WorldGuard plugin files into your plugins folder.
Check YouTube for tutorials, or read the official documentation.

Join our Discord server if you need help with installing or using WorldGuard.
Make sure to check the docs first!

- Create zones in your world that only permit mods or certain players from building within
- Set additional game rules on your server (deny wither block damage, falling damage, etc.)
- Set game rules on specific areas (food regen, health regen, disable PvP, TNT, control mob damage) in your world
- Blacklist certain items and blocks so they can't be used
- Dump useful statistics and information about your server (/wg report -p)
- CPU profile your server (/wg profile -p)
- Add useful commands like an immediate "STOP ALL FIRE SPREAD" command.
- Works, more or less, with mods (other Bukkit plugins and FTB mods)
- Protects against many types of grief (fire spread, tree growth, TNT cannons, piston machines, crop trampling, paintings and item frames, etc.), and certain interactions can also be allowed (door open, lever usage, etc.)
- Well documented, and one of the oldest Minecraft projects (older than Bukkit!)
- Open source
- Enable only features you want! Everything is off by default. You can just install WorldGuard and configure it later.

**How do you use WorldGuard?** To learn how to use WorldGuard, read the docs. Check YouTube for tutorials too!
**I need help!!** You may visit our documentation or Discord Guild.
**I have some feature requests...** Visit our issue tracker. However, if you just have a question, please try one of the methods above.
**Can I edit the source code?** Visit our GitHub repository. WorldGuard is licensed under LGPLv3 and you can compile it with Gradle.
Need a host? We recommend Apex Hosting
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 | ||||
| 19h ago | 1 |
- Require 26.2+.
- Improved handling for TNT inside of sulfur cubes.
- Improve performance of mob spawn prevention on Paper servers in some situations.
- Improved handling of certain flags when
/wg flushstatesis run, or in certain login situations.
- Add lava-harden flag for cobblestone/stone/obsidian/basalt forming.
- Replace PigZapEvent on Paper to avoid startup warnings.
- Avoid unnecessary NPC checks to improve performance in some situations.
- Filtered "multiple regions" messages in commands to only show regions that the player has permission to use the command on.
- Fixed potential corruption that can occur in extreme region / slow hardware setups where it hasn't finished saving by the next save attempt.
- Fix cocoa not being treated as a crop in relevant flags
- Fix overlapping game mode flags sometimes not storing the expected previous game mode
- Replace PaperLib functionality that doesn't behave as expected on MC 26.1+
- Update to 1.21.11.
- Added experimental Folia support.
- Workaround an issue where some item/block names aren't adequately translated by the client.
- Workaround a duplication bug in Paper.
- Update to 1.21.11
- Update a few missed material definitions from the beta
## 7.0.15 Beta 1
- Update to 1.21.10
- Improve region file loading compatibility with NIO Java APIs
- Update to 1.21.10
- Improve region file loading compatibility with NIO Java APIs
- Update to 1.21.5
- Fix hopper minecarts not being able to take items from containers in protected regions.
- Fix hopper minecarts not being able to take items from other hopper minecarts in protected regions.
- Fix non-members being able to leash boats in protected regions.
- Use new knockback event on Paper servers to better handle mace knockback in pvp and some other knockback situations.
- Update to 1.21.4
- Remove max-stack-size bypass in stack command
- Fix a falling block metadata leak. (May still be problematic on Spigot, use Paper.)
- Fix flame enchant being blocked as entity damage on the arrow itself.
- More Paper-specific performance enhancements for hoppers.
- Fix block-windcharge-explosions config option not doing anything.
- Improvements to fishing rod protection.
- More aggressive vehicle protection (vehicle-destroy now needs to be allowed for various non-destructive damage).
- Move decorated pot usage from interact to chest-access.
- Add support for 1.21.4.
- Fix block-windcharge-explosions config option.
- Add support for MC 1.21.3.
- Remove max-stack-size bypass in stack command
- Fix a falling block metadata leak. (May still be problematic on Spigot, use Paper.)
- Fix flame enchant being blocked as entity damage on the arrow itself.
- More Paper-specific performance enhancements for hoppers.
- Fix a change in the default behavior of explosion flag handling.
- Add support for MC 1.21.
- Add wind-charge-burst flag which is checked along with
use(for the interaction) orpvp(for the knockback). - Add breeze-charge-explosion flag for breeze charges (i.e. from the mob, not player wind charges).
- Add moisture-change flag and config options.
- Fix an error if a player logged in to an unloaded world.
- Fix chest boat usage always being counted as ride.
- Consider potions thrown by mobs as mob-damage.
- Workaround spigot no longer sending block change events when a book is placed on a lectern.
- Improve accuracy of target blocks in blacklist/build-perms events.
- Known Issues**: Spigot still doesn't throw events in all cases for knockback from both wind charges and maces ("smash attacks"). These are small edge cases but should work immediately in WorldGuard if Spigot does start throwing events for those cases.
- This version is compatible with:**
- Bukkit implementations for 1.20.6 only ([Paper ](https://papermc.io/)recommended, 1.20.5 probably works but was only out for 3 days so who cares)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.20.5
- Like Minecraft 1.20.6, this requires Java 21 or higher. Java 17 will no longer work.
- Add support for MC 1.20.6.
- Add some Paper-exclusive optimizations.
- This version is compatible with:**
- Bukkit implementations for 1.20(.1, .2, .4) ([Paper ](https://papermc.io/)recommended)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.20
- Add support for MC 1.20
- Made entities spawned via the
/summoncommand get treated as plugin-spawned entities - Add sniffer egg trample protection options
- Fixed an event change that spigot made that broke the copper-fade flag.
- Bumped API version to prevent running on 1.19.
- This version is compatible with:**
- Bukkit implementations for 1.19-1.19.4 ([Paper ](https://papermc.io/)recommended)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.19
- Add support for MC 1.19
- Add skulk-growth flag and config option
- Add copper-fade flag
- Add data packs to report output
- Add protection for allay inventory slot
- Categorize allay item pickups under item-pickup flag
- Categorize dragon egg interaction (teleporting) as building
- Ignore most NPC-based actions for Player events
- Optimize handling of tamed animals where the owner was offline (Paper only)
- Optimize additional InventoryHolder accesses (Paper only)
- Fix an exception that occurred when plugins created portals with non-player entities
- Fix possible error when using Paper's entity origin API
- Update bstats and squirrelid libs
- This version is compatible with:**
- Bukkit implementations for 1.17.1 - 1.18.2 ([Paper ](https://papermc.io/)recommended)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.17
- Add rock-growth flag for budding amethyst and pointed dripstone.
- Add /rg migrateheights command. See [https://worldguard.enginehub.org/en/latest/regions/commands/#migrate-region-heights](https://worldguard.enginehub.org/en/latest/regions/commands/#migrate-region-heights)
- Add regions.set-parent-on-claim config (set to a region id for /rg claim to automatically assign the parent region).
- Add
-i searchand-sflags to /rg list, -c to /rg teleport. - Fix an error in blacklist logging caused by non-player actions (eg on-dispense)
- Treat unknown causes as known if using paper-entity-origin config option.
- Improve lightning strike handling from channeling tridents (Paper only).
- Ignore an error caused by lingering player references of offline players.
- Add red sand to no-physics-sand.
- Fix potion splash events being cancelled if no entities were affected.
- This version is compatible with:**
- Bukkit implementations for 1.17.1+ ([Paper ](https://papermc.io/)recommended)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.17
- This version is also compatible with 1.18.
- Add support for 1.17 blocks/items, drop support for 1.16.
- Add use-dripleaf flag for "toggling" big dripleaf blocks.
- Fix support for fully negative-height regions.
- Fix crop-growth config option.
- Be more rigorous with protecting blocks against dispenser behaviors.
- Fix handling of lingering splash potion effects.
- Handle other-explosion flag consistently for block-like entities (armor frames etc.)
- Allow inheriting values for all flags (previously wasn't used for things like teleport.)
- Region commands that defaulted to the region the player was standing in no longer check parents.
- Fix child regions being unlinked when redefining a parent region.
- This version is compatible with:**
- CraftBukkit/Spigot for 1.16.5 ([Paper ](https://papermc.io/)recommended)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.16
- Add a use-anvil flag and exclude it from the use flag (since they can break on use.)
- Expand crop-related options (crop-growth, etc) to sweet berry bushes, nether wart, and bamboo.
- Add a config option ('mobs.block-vehicle-entry') to prevent non-players from entering vehicles.
- Add a UUID flag (for developers/API usage).
- Add map query methods with fallback flag (for developers/API usage).
- Add 'on' and 'off' optional arguments for
/rg toggle-bypasscommand. - Add additional timings info for session handlers.
- Fix sponge-simulation clearing NBT from blocks. Note that if you are using sponge simulation you should switch to something like CraftBook as the feature will be removed from WorldGuard in a future (major) version.
- Fix the '/region' command showing up as unknown client-side to players without bypass perms.
- Fix error propagation from third-party flag loading causing WG to error.
- Fix a (harmless) exception that occurred when swapping armor slots to the offhand slot.
- Fix empty lines being sent on enderpearl/chorus-fruit teleport if the deny messages were empty.
- Fix an issue with falling blocks when using max-priority-association.
- Fix performance issues with third-party plugins querying protection for offline players.
- Fix dispensing shulkers over region boundaries.
- Fix iron door interaction being denied as if it were a regular door.
- Fix being able to enter/exit regions with the flag denied by using entity mounting functions in other plugins.
- Add support for MC 1.16. Dropped support for previous versions.
- Add respawn-anchors flag mirroring the sleep flag (e.g. to prevent using respawn anchors to cause explosions in the overworld)
- Add nether vines to vine-growth flag.
- Add config option to disable the bypass permission cache.
- Fix water-flow flags not checking waterlogged blocks.
- Add config option to consider non-player causes (e.g. pistons, flowing water) to only be members of the highest priority region. This should be enabled for plots-within-city-like setups to prevent things in plots from modifying the city.
- Fix items dropping from falling blocks that were suppressed by other plugins.
- Add config option to block turtle egg trampling.
- Fix ride flag being checked on striders that didn't have saddles.
- Add config option to have /rg bypass toggled off on login.
- Developer changes: Methods taking names in Domains are now explicitly deprecated (was previously just a javadoc comment.); These will eventually be removed: there is no reason to use names over UUIDs. Offline players and NPCs alike have stable UUIDs.
- Also for developers; The new com.sk89q.worldguard.protection.util.WorldEditRegionConverter class has some useful static methods to convert to and from WorldEdit's Region and WorldGuard's ProtectedRegion classes.
- See the [7.0.3 changelog](https://modrinth.com/project/DKY9btbd) for more details, as many changes have happened since 7.0.2.
- This version is compatible with:**
- CraftBukkit/Spigot for 1.14.4 or 1.15.2 ([Paper ](https://papermc.io/)recommended)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.14
- This is the last release supporting MC 1.14 and 1.15.
- Decouple chest-access flag from interact flag. IMPORTANT: If you relied on allowing players to access chests via setting
affect any setups where users were *not* supposed to be able to access chests and other inventories.
- Add natural-health-regen and natural-hunger-drain flags. Unlike the heal/feed flags, these can not restore or deplete health/hunger.
- Fix the interact flag allowing breaking of turtle eggs (now tied directly to block-trampling flag).
- Fix a memory leak that could occur with many many explosives.
- Add regions.titles-always-use-default-times config option. Set this to true if you use greeting/farewell titles and another plugin
- Add protection for cauldrons water level changing.
- Improve diagnostic hints and information, such as spawn protection warnings, flag colors in region info, etc.
- Fix waterlogged blocks bypassing water-flow flag.
- Workaround for a CraftBukkit change that made no-physics-sand/gravel non-functional.
- Workaround for CraftBukkit throttling move events.
- Track projectiles shot by dispensers.
- Allowed setting passthrough allow on global to unprotect it if members/owners are added.
- Add support for newer forge clients (FML2) in host keys.
- Allow using WorldEdit's
//world <worldname>command to select a world for region commands. This removes the need to
-w <worldname> in every command when running commands from console.- Add a teleport-message flag, shown when using
/rg tp. - Add coral-fade flag, which prevents corals from drying when out of water.
- Fix spammy deny-message when walking over redstone ore with certain flag setups.
- Improve handling of interacting with various tools in hand that didn't modify blocks. (eg opening a chest with an axe in hand)
- Fix allow-all-interact option not being read from per-world configs.
- Fix misattribution of pets (eg wolves) in PvP.
- Improve performance of hopper checks when on recent builds of Paper.
- Add event-handling.break-hoppers-on-denied-move config option to prevent hoppers from being broken (but items still won't be moved).
- Note to developers using the WorldGuard API: If you specifically relied on flags such as greeting/farewell, deny-message, etc being
- This version is compatible with:**
- CraftBukkit/Spigot for 1.14.4 or 1.15.2 ([Paper ](https://papermc.io/)recommended)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.14
- Changes**
- Update to MC 1.15. Still compatible with 1.14, and incompatible with 1.13, as before.
- Add an informational message when defining a region that overlaps vanilla spawn protection.
- Protect against pushing a piston with another piston on a region border.
- Protect against buckets in dispensers on region borders.
- This version is compatible with:**
- CraftBukkit/Spigot for 1.14.4 ([Paper ](https://papermc.io/)recommended)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.14
- Changes**
- If you want to allow players to see lectern books, but not take them, set the interact flag to allow, and the chest-access flag to deny. (or chest-access -g nonmembers deny, to allow members to take books still)**
- Add
/rg toggle-bypasscommand which temporarily turns off region bypassing until used again. - More improvements to
/rg flagand/rg flagscommands. - Fix some checks for adding owners to unclaimed regions.
- Fix an issue with time-/weather-lock flags when logging in to a region with the flag set.
- Fix cause tracking in vehicles (incl. breaking lilypads in a boat)
- Use async teleports on Paper.
- Include hopper minecarts in the ignore hoppers config setting.
- Add sugar cane and cacti to the crop-growth flag. Bamboo is also included pending Spigot throwing an event for it.
- Specifically track when players ignite creepers with flint and steel.
- Fix fuzziness when using bonemeal near a protected region.
- Fix color codes not applying in greeting, etc flags when placed after a newline (\n).
- Add applicable region information to
/wg report. - Fix pistons flag not applying to sticky pistons pulling blocks.
- Add some custom metrics for bStats.
- Everything in the RC/beta changelog below.
7.0.1 release candidate/beta changes
- Add ravager-grief flag.
- Fix overprotection of unsaddled pigs with the ride flag.
- Fix lava fire defaulting to off (won't change existing configs).
- Fix damaged/chipped anvils not respecting use flag like regular anvils.
- Add on-equip blacklist event. Note that it is overprotective due to deficiencies in Bukkit API.
- Update WorldEdit CUI when using /rg select.
- Add config option to disable villagers getting zapped into witches. ("weather.disable-villager-witchification")
- Add entity support to interact-whitelist config option (use the Material of the corresponding item).
- Fix vehicle-place protecting the rails at the very top of region boundaries incorrectly.
- Fix for emptying buckets on waterloggable blocks.
- Whitelist all player -> player interactions (previously was spammy in pvp).
- Fix sleep flag not protecting against explosions in nether/end.
- Add config for the teleport-on-void to reset fall distance.
- Fix config options taking material lists requiring "minecraft:" namespace.
- Fix disallowed-lightning-blocks situationally not working.
- Fix errors that occurred when plugins used falling block entities with non-item materials.
- Add special support for Paper servers (papermc.io): Paper's API allows us to track who launched fireworks.
- Fireworks are now protected by default. On Paper servers, members can use them by default (to deal damage),
- Misc performance enhancements for Paper servers.
- Add 'regions.use-paper-entity-origin' as an experimental setting (default off) for Paper servers. Enabling it will make non-player entities be treated as members of the place they spawned, instead of their current location when flags are checked.
- This version is compatible with:**
- CraftBukkit/Spigot for 1.13.2 / 1.14.2 (Paper recommended)
- THIS VERSION IS NOT COMPATIBLE WITH VERSIONS PRIOR TO 1.13
- Changes**
- Added support for MC 1.13, dropped support for previous versions.
- Added lots of interactive text in e.g. /rg info command.
- Added /rg flags command which allows viewing and interactively setting all flags on a region.
- Large behind-the-scenes changes to WorldGuard's API (developers, see [https://worldguard.enginehub.org/en/latest/developer/](https://worldguard.enginehub.org/en/latest/developer/))
- Places that used numeric block ids (e.g. blacklist) should now use Minecraft's new string IDs.
- Fix various interactions with NPCs and region protection.
- Sponge-simulation now destroys kelp and seagrass, and de-waterlogs blocks.
- Added an option to block conduit effects.
- Fix using newlines in string flags such as greeting and farewell.
- Add item-frame-rotation flag.
- Ender chests no longer require chest-access (since they don't have inventories).
- Add kelp to vine-growth flag/config.
- Add block-trampling flag (for turtle eggs and farmland).
- Add snowman-trails flag.
- Track potion area-of-effect cloud causes for pvp etc. protection.
- Add confirmation to /stoplag command.
- Forcefully eject players from vehicles trying to force their way into entry deny regions (and out of exit deny).
- Fix removing child regions when removing a region with children.
- Fix some over-protectiveness of pistons.
- Chat and command flags (send-/receive- and allowed-/blocked-) now respect deny-message flag.
- Misc fixes.
This is the last release before MC 1.13 versions.
If you are upgrading from a version earlier than 1.11 (1.10 or below), please read the following:
- Due to changes in Spigot libraries, if you used the LWC plugin, you will likely get an "UnsatisfiedLinkException" error when starting your server. This will prevent WorldGuard from working properly. It is highly recommended you update to the unofficial LWC build and remove your LWC "lib" folder. If you get anything error related to "org.sqlite.core.NativeDB", try: making /tmp/ executable, switching to oraclejdk, and/or running with "-Dsqlite.purejava=true". These are not WorldGuard issues and we cannot fix them for you.
- If you used a third-party plugin that added custom flags to WorldGuard, it may stop working with 6.2. It is highly recommended you backup your region files. Although WorldGuard will attempt to preserve the flags, they will likely be non-functional. Now that WorldGuard natively supports a custom flags API, third-party plugins will have to update to the new API before they work again.
- This version supports only Minecraft 1.12.** It may partially function as far back as 1.8, but it is recommended to use version 6.2 for Minecraft versions 1.11.2 and below as you will encounter errors when running commands.
- NEW DOCUMENTATION:** There is [new documentation](http://docs.enginehub.org/manual/worldguard/latest/).
## Changes in 6.2.1
- Flower pots are more strictly protected (via build, not just interact).
- Added a config options (mobs.block-armor-stand-destroy) that does exactly what it says.
- Added a firework-damage flag that does exactly what it says.
- Add a wither-damage flag (protects from the explosion of the wither itself, not the skull projectiles)
- Fix errors spamming console if invalid chest (3 or more connected chests) were connected to a hopper.
- Improved readability of flag list when invalid flag is entered.
## Changes in 6.2
- Added 1.11 blocks.
- Add config option to prevent teleport and spawn flags from being set outside of their region.
- Added custom flags API.
- Added custom session handler API.
- Add transient property to regions for API.
- Changed potion-splash flag to include throwing lingering potions.
- Removed the construct flag. It has been deprecated for a very long time.
- Fixed ender crystal protection.
- Fixed some backwards compatibility issues.
- Fixed mobs not igniting in regions due to Spigot changes.
## Changes in 6.1.2
- Added support for new blocks in 1.8, 1.9, and 1.10.
- Added protection from nether portals being created in protected region (enable via config
nether-portal-protection). - Added protection from slime block piston contraptions pushing into or pulling from regions.
- Added
chorus-fruit-teleportflag, works similar toenderpearlto prevent teleportation. - Added protection from pulling armor stands, items, and entities from protected regions.
- Changed order of greeting and farewell flags on adjacent regions. When leaving a region with a farewell flag and entering one with a greeting flag, the farewell message will be shown first now.
- Changed /heal command to also fill food/saturation meters.
- Changed fall damage prevention to also prevent flying into walls with elytra being fatal.
- Fixed fire-spread flag only preventing destruction, now prevents spreading too as per its name.
- Fixed creepers targeting players being able to blow things up in certain cases.
- Fixed armor stands being removed by /stoplag.
- Fixed some issues with fireballs being able to explode when ghast-fireball was set to deny.
- Fixed a lot of other minor issues.
## Changes in 6.1
- Added
exit-via-teleportflag (default allow) to control exiting an exit=deny region via teleportation. - Added a
fall-damageflag to control player damage caused by falling. - Added a
time-lockflag to lock players' time of day. Valid values are from 0 to 24000 for absolute time, or +- any number for relative time. - Added a
weather-lockflag to lock players' weather. Valid values are "clear" or "downfall". Unset to restore to normal world weather. - Added
-sto the event debugging commands to show a stack trace rather than attempt to detect the causing plugin. - Added support for using the
-eargument (sets an empty value for the flag) in the flag set command when the type of flag is of the 'set' type. - Added NPCs from the Citizens plugin to a whitelist so they are not protected.
- Added support for Spigot's BlockExplodeEvent.
- Changed tripwire to fall under the
useflag. - Changed enderchests to fall under the
useflag. - Changed vehicles and animals so they are not included in the
interactflag. - Changed the display of custom blacklist messages to no longer include a period at the end.
- Changed protection logic to consider connected chests.
- Changed the heal and feed flags to increase values for players who are invincible (or in creative mode) but not decrease them.
- Changed PvP protection to consider both attacker and defender locations.
- Fixed missing protection data for some 1.8-added blocks.
- Fixed compatibility issues with MC 1.7.
- Fixed inverted daylight detectors not being protected.
- Fixed spawn eggs not being included in protection.
- Fixed piston blocking not working due to a bug in Spigot.
- Fixed the blocking of certain invalid entity damage events.
- Fixed creeper explosions not being blocked in certain situations with explosion related flags set.
- Fixed "stickiness" with some position-related flags, sometimes resulting in rubber banding in the exit flags.
- Fixed armor stands so that they are treated more like item frames than mobs.
- Fixed blocks (e.g. sugar canes) adjacent to physics blocks (e.g. sand) not updating.
- Fixed a NullPointerException that occurred sometimes when generating the scheduler section of the report function (
/wg report). - Fixed the "no XP drops" configuration not functioning following a previous release.
- Fixed changes to region ownership sometimes not triggering a region database save.
- Fixed bucket protection displaying the "deny effect" even if bucket use was not prevented.
- Fixed CommandFilter matching emoticons and other unwanted characters.
- Fixed an exception occurring sometimes during game mode changes.
- Fixed primed TNT being checked twice for TNT flags.
- [WorldEdit](https://modrinth.com/project/1u6JkXh5) should be updated to version 6.1.7 or newer.
## Due to changes in Spigot libraries, if you used the LWC plugin, you will likely get an "UnsatisfiedLinkException" error when starting your server. This will prevent WorldGuard from working properly. It is highly recommended you update to the unofficial LWC build and remove your LWC "lib" folder.
# CUSTOM FLAGS USERS:
## If you used a third-party plugin that added custom flags to WorldGuard, it may stop working with 6.2. It is highly recommended you backup your region files. Although WorldGuard will attempt to preserve the flags, they will likely be non-functional. Now that WorldGuard natively supports a custom flags API, third-party plugins will have to update to the new API before they work again.
This version supports Minecraft 1.9 through 1.11, and will mostly function as far back as 1.7.
- NEW DOCUMENTATION:** There is [new documentation](http://docs.enginehub.org/manual/worldguard/latest/).
## Changes in 6.2
- Added 1.11 blocks.
- Add config option to prevent teleport and spawn flags from being set outside of their region.
- Added custom flags API.
- Added custom session handler API.
- Add transient property to regions for API.
- Changed potion-splash flag to include throwing lingering potions.
- Removed the construct flag. It has been deprecated for a very long time.
- Fixed ender crystal protection.
- Fixed some backwards compatibility issues.
- Fixed mobs not igniting in regions due to Spigot changes.
## Changes in 6.1.2
- Added support for new blocks in 1.8, 1.9, and 1.10.
- Added protection from nether portals being created in protected region (enable via config
nether-portal-protection). - Added protection from slime block piston contraptions pushing into or pulling from regions.
- Added
chorus-fruit-teleportflag, works similar toenderpearlto prevent teleportation. - Added protection from pulling armor stands, items, and entities from protected regions.
- Changed order of greeting and farewell flags on adjacent regions. When leaving a region with a farewell flag and entering one with a greeting flag, the farewell message will be shown first now.
- Changed /heal command to also fill food/saturation meters.
- Changed fall damage prevention to also prevent flying into walls with elytra being fatal.
- Fixed fire-spread flag only preventing destruction, now prevents spreading too as per its name.
- Fixed creepers targeting players being able to blow things up in certain cases.
- Fixed armor stands being removed by /stoplag.
- Fixed some issues with fireballs being able to explode when ghast-fireball was set to deny.
- Fixed a lot of other minor issues.
## Changes in 6.1
- Added
exit-via-teleportflag (default allow) to control exiting an exit=deny region via teleportation. - Added a
fall-damageflag to control player damage caused by falling. - Added a
time-lockflag to lock players' time of day. Valid values are from 0 to 24000 for absolute time, or +- any number for relative time. - Added a
weather-lockflag to lock players' weather. Valid values are "clear" or "downfall". Unset to restore to normal world weather. - Added
-sto the event debugging commands to show a stack trace rather than attempt to detect the causing plugin. - Added support for using the
-eargument (sets an empty value for the flag) in the flag set command when the type of flag is of the 'set' type. - Added NPCs from the Citizens plugin to a whitelist so they are not protected.
- Added support for Spigot's BlockExplodeEvent.
- Changed tripwire to fall under the
useflag. - Changed enderchests to fall under the
useflag. - Changed vehicles and animals so they are not included in the
interactflag. - Changed the display of custom blacklist messages to no longer include a period at the end.
- Changed protection logic to consider connected chests.
- Changed the heal and feed flags to increase values for players who are invincible (or in creative mode) but not decrease them.
- Changed PvP protection to consider both attacker and defender locations.
- Fixed missing protection data for some 1.8-added blocks.
- Fixed compatibility issues with MC 1.7.
- Fixed inverted daylight detectors not being protected.
- Fixed spawn eggs not being included in protection.
- Fixed piston blocking not working due to a bug in Spigot.
- Fixed the blocking of certain invalid entity damage events.
- Fixed creeper explosions not being blocked in certain situations with explosion related flags set.
- Fixed "stickiness" with some position-related flags, sometimes resulting in rubber banding in the exit flags.
- Fixed armor stands so that they are treated more like item frames than mobs.
- Fixed blocks (e.g. sugar canes) adjacent to physics blocks (e.g. sand) not updating.
- Fixed a NullPointerException that occurred sometimes when generating the scheduler section of the report function (
/wg report). - Fixed the "no XP drops" configuration not functioning following a previous release.
- Fixed changes to region ownership sometimes not triggering a region database save.
- Fixed bucket protection displaying the "deny effect" even if bucket use was not prevented.
- Fixed CommandFilter matching emoticons and other unwanted characters.
- Fixed an exception occurring sometimes during game mode changes.
- Fixed primed TNT being checked twice for TNT flags.
- [WorldEdit](https://modrinth.com/project/1u6JkXh5) should be updated to version 6.1 or newer.
This version supports Minecraft 1.9 through 1.10, and should be backwards compatible with 1.8 and 1.7.
- NEW DOCUMENTATION:** There is [new documentation](http://docs.enginehub.org/manual/worldguard/latest/).
## Changes in 6.1.2
- Added support for new blocks in 1.8, 1.9, and 1.10.
- Added protection from nether portals being created in protected region (enable via config
nether-portal-protection). - Added protection from slime block piston contraptions pushing into or pulling from regions.
- Added
chorus-fruit-teleportflag, works similar toenderpearlto prevent teleportation. - Added protection from pulling armor stands, items, and entities from protected regions.
- Changed order of greeting and farewell flags on adjacent regions. When leaving a region with a farewell flag and entering one with a greeting flag, the farewell message will be shown first now.
- Changed /heal command to also fill food/saturation meters.
- Changed fall damage prevention to also prevent flying into walls with elytra being fatal.
- Fixed fire-spread flag only preventing destruction, now prevents spreading too as per its name.
- Fixed creepers targeting players being able to blow things up in certain cases.
- Fixed armor stands being removed by /stoplag.
- Fixed some issues with fireballs being able to explode when ghast-fireball was set to deny.
- Fixed a lot of other minor issues.
## Changes in 6.1
- Added
exit-via-teleportflag (default allow) to control exiting an exit=deny region via teleportation. - Added a
fall-damageflag to control player damage caused by falling. - Added a
time-lockflag to lock players' time of day. Valid values are from 0 to 24000 for absolute time, or +- any number for relative time. - Added a
weather-lockflag to lock players' weather. Valid values are "clear" or "downfall". Unset to restore to normal world weather. - Added
-sto the event debugging commands to show a stack trace rather than attempt to detect the causing plugin. - Added support for using the
-eargument (sets an empty value for the flag) in the flag set command when the type of flag is of the 'set' type. - Added NPCs from the Citizens plugin to a whitelist so they are not protected.
- Added support for Spigot's BlockExplodeEvent.
- Changed tripwire to fall under the
useflag. - Changed enderchests to fall under the
useflag. - Changed vehicles and animals so they are not included in the
interactflag. - Changed the display of custom blacklist messages to no longer include a period at the end.
- Changed protection logic to consider connected chests.
- Changed the heal and feed flags to increase values for players who are invincible (or in creative mode) but not decrease them.
- Changed PvP protection to consider both attacker and defender locations.
- Fixed missing protection data for some 1.8-added blocks.
- Fixed compatibility issues with MC 1.7.
- Fixed inverted daylight detectors not being protected.
- Fixed spawn eggs not being included in protection.
- Fixed piston blocking not working due to a bug in Spigot.
- Fixed the blocking of certain invalid entity damage events.
- Fixed creeper explosions not being blocked in certain situations with explosion related flags set.
- Fixed "stickiness" with some position-related flags, sometimes resulting in rubber banding in the exit flags.
- Fixed armor stands so that they are treated more like item frames than mobs.
- Fixed blocks (e.g. sugar canes) adjacent to physics blocks (e.g. sand) not updating.
- Fixed a NullPointerException that occurred sometimes when generating the scheduler section of the report function (
/wg report). - Fixed the "no XP drops" configuration not functioning following a previous release.
- Fixed changes to region ownership sometimes not triggering a region database save.
- Fixed bucket protection displaying the "deny effect" even if bucket use was not prevented.
- Fixed CommandFilter matching emoticons and other unwanted characters.
- Fixed an exception occurring sometimes during game mode changes.
- Fixed primed TNT being checked twice for TNT flags.
- [WorldEdit](https://modrinth.com/project/1u6JkXh5) should be updated to version 6.1 or newer.
This version supports Minecraft 1.7.9, 1.7.10 and 1.8.
- NEW DOCUMENTATION:** There is [new documentation](http://docs.enginehub.org/manual/worldguard/latest/).
## Changes in 6.1
- Added
exit-via-teleportflag (default allow) to control exiting an exit=deny region via teleportation. - Added a
fall-damageflag to control player damage caused by falling. - Added a
time-lockflag to lock players' time of day. Valid values are from 0 to 24000 for absolute time, or +- any number for relative time. - Added a
weather-lockflag to lock players' weather. Valid values are "clear" or "downfall". Unset to restore to normal world weather. - Added
-sto the event debugging commands to show a stack trace rather than attempt to detect the causing plugin. - Added support for using the
-eargument (sets an empty value for the flag) in the flag set command when the type of flag is of the 'set' type. - Added NPCs from the Citizens plugin to a whitelist so they are not protected.
- Added support for Spigot's BlockExplodeEvent.
- Changed tripwire to fall under the
useflag. - Changed enderchests to fall under the
useflag. - Changed vehicles and animals so they are not included in the
interactflag. - Changed the display of custom blacklist messages to no longer include a period at the end.
- Changed protection logic to consider connected chests.
- Changed the heal and feed flags to increase values for players who are invincible (or in creative mode) but not decrease them.
- Changed PvP protection to consider both attacker and defender locations.
- Fixed missing protection data for some 1.8-added blocks.
- Fixed compatibility issues with MC 1.7.
- Fixed inverted daylight detectors not being protected.
- Fixed spawn eggs not being included in protection.
- Fixed piston blocking not working due to a bug in Spigot.
- Fixed the blocking of certain invalid entity damage events.
- Fixed creeper explosions not being blocked in certain situations with explosion related flags set.
- Fixed "stickiness" with some position-related flags, sometimes resulting in rubber banding in the exit flags.
- Fixed armor stands so that they are treated more like item frames than mobs.
- Fixed blocks (e.g. sugar canes) adjacent to physics blocks (e.g. sand) not updating.
- Fixed a NullPointerException that occurred sometimes when generating the scheduler section of the report function (
/wg report). - Fixed the "no XP drops" configuration not functioning following a previous release.
- Fixed changes to region ownership sometimes not triggering a region database save.
- Fixed bucket protection displaying the "deny effect" even if bucket use was not prevented.
- Fixed CommandFilter matching emoticons and other unwanted characters.
- Fixed an exception occurring sometimes during game mode changes.
- Fixed primed TNT being checked twice for TNT flags.
- [WorldEdit](https://modrinth.com/project/1u6JkXh5) should be updated to version 5.6 or newer.
- Changes in v5.9:**
- Added a config option to allow explosion flags to only prevent block damage
- Added allow-tamed-spawns setting, on by default. This will stop WorldGuard
- Added config option and flag to prevent soil from drying naturally.
- Added formatting codes, &k/l/m/n/o and &x (reset).
- Added snow-fall-blocks option to config to restrict snow fall to certain blocks
- Allow players to add newlines (\n) via command, not just manually in yml.
- Allow the console to load/save all region managers with one command.
- Changed entity report format slightly.
- Check bypass perms for item-drop flag.
- Check for entities and projectiles removing items from frames too.
- Fix being able to use bonemeal to turn tall grass into double plants.
- Fix number of arguments for migratedb command.
- Fixed addowner/addmember commands adding command artifacts. Specifically,
- Fixed milking cows in protected areas due to changes in Bukkit.
- Fixed ProtectedCuboidRegion::getPoints() returning points in wrong order.
- Fixed snowman trails being treated as snow fall.
- Make /rg list default to own regions if the player doesn't have permission otherwise.
- Protected items in item frames in protected regions.
- Resolved an issue where explosions of type OTHER_EXPLOSION were ignoring the world
- Send item-use blacklist event when right-clicking entities.
- Transformed the BlockFadeEvent handler into a switch.
- [WorldEdit](https://modrinth.com/project/1u6JkXh5) should be updated to version 5.6 or newer.