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 :
- RegionsChangedEvent
- RegionsEnteredEvent
- RegionsLeftEvent
- RegionEnteredEvent
- RegionLeftEvent
All of those are fired upon each player movement into a new set of regions, in that order.
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 :
- getRegions
- getRegionNames
- isPlayerInRegion
- isPlayerInAnyRegion
- isPlayerInAllRegions
All of those use the UUID of the player to fetch information about him from WorldGuard.
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 !
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
15.6MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta