WorldGuard Events
- Native Minecraft Version:
- 1.15
- Tested Minecraft Versions:
- 1.15
- 1.16
- 1.17
- 1.18
- Source Code:
- https://github.com/Webbeh/WorldGuard-Events
For server admins
This plugin may be required by some other plugins. If so, simply drop the JAR in the plugins folder of your server, reload it, and you're set.
You will need to download the latest versions of WorldEdit and, of course, WorldGuard for this to work. This plugin has been tested with their development version, available on EngineHub.
...Pick one that has a green tick next to it
It doesn't do anything on its own and is useless unless required by another plugin.
This plugin does NOT currently, nor will it ever, support FastAsyncWorldEdit. It may work, it may not. Use at your own expense.
For developers
Events
This plugin provides you with the following events :
All of those are fired upon each player movement into a new set of regions, in that order.
- RegionsChangedEvent
- RegionsEnteredEvent
- RegionsLeftEvent
- RegionEnteredEvent
- RegionLeftEvent
They are all pretty self-explainatory. You can use any event interchangeably : the events returning a single ProtectedRegion are fired at the same time as the events returning a Set of ProtectedRegions (which is useful if you have multiple overlapping/neighbouring regions).
Cancelling any of the events will prevent the movement from happening.
API
On top of events, and since version 1.15.2 of this plugin, we now provide you with a small API to get the most basic informations out of WorldGuard :
All of those use the UUID of the player to fetch information about him from WorldGuard.
- getRegions
- getRegionNames
- isPlayerInRegion
- isPlayerInAnyRegion
- isPlayerInAllRegions
See the Documentation.
If you like this plugin, don't forget to rate it, to help other people discover it !
Please, however, refrain from leaving poor ratings because this plugin "appears dead". If there's no reason to update it, I won't update it. Unless something breaks, there's no need to work on an update...
Also, please use the Github's page to report bugs and ask for features !

WorldGuard Events 1.18.1
Easy way to get per-player region entry/departure events.
Recent Updates
- Bugfix Feb 6, 2022
- Updated to 1.16.4 Dec 18, 2020
- New API methods and efficiency update ! Apr 24, 2020