WorldGuard Events 1.18.1

Easy way to get per-player region entry/departure events.

  1. Weby
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.15
    • 1.16
    • 1.17
    • 1.18
    Source Code:
    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
    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.

    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 !

Recent Updates

  1. Bugfix
  2. Updated to 1.16.4
  3. New API methods and efficiency update !

Recent Reviews

  1. AutoKill
    Version: 1.18.1
    Really good, idk why world guard doesn't implement this. Recommend using it. Thank you!
  2. strich3
    Version: 1.18.1
    you are an God! Thanks for bringing the API back! Thanks for this, it is very good!
  3. Donkoas501
    Version: 1.16.4
    This is such helpful plugin and it works fine in the 1.17.1
    Biigggg thank youuuuu :D
  4. Artex
    Version: 1.16.4
    API has shuted down... Otherwise it was looking great if it have benn up and runing at this date.
    1. Weby
      Author's Response
      The plugin hasn't changed and is still working to this day.
  5. Black1200
    Version: 1.16.4
    The API is working perfectly and can be implemented easily, the event functions are also great, took me 10 minutes to solve my problem with it. I definitely recommend using it!
  6. Dead_Light
    Version: 1.15.2
    Thanks for this great API, really helped me out. Just hope you keep it up for the latest versions.
    1. Weby
      Author's Response
      Don't hesitate to send a private message if I fail to see the plugin not working on a new version.
  7. zVortexGG
    Version: 1.15.2
    Add 1.8.9 world guard support please
    ' ' ' ' '
    1. Weby
      Author's Response
  8. Q21R
    Version: 1.15.2
    The API is good, except that it isn't maintaned anymore. If the developer now could like update & maintain the api it would've been a 5/5 for me.
    1. Weby
      Author's Response
      Why update something that just works ? The Spigot API didn't change much (for what this plugin is using at least) from 1.16.4 to 1.16.5, and WorldGuard API didn't change version at all since last compilation. The plugin works well and doesn't need recompilation and useless updates. Saying it's not maintained is just plain wrong.
  9. ethwal22
    Version: 1.15.2
    Amazing API. Recommend for all plugin devs! Was struggling for so long with other APIs
  10. eliasboy0202
    Version: 1.15.2
    Best api so far, talked to WorldGuard itself and aparently they don't want to add them.
    Amazing job !