WorldGuard Region Events (Updated) icon

WorldGuard Region Events (Updated) -----

WorldGuard Region Events Updated API



Just a simple update for the spigot api version 1.13-1.18

Original Plugin: https://www.spigotmc.org/resources/worldguard-region-events.28358/

Code (Text):
@EventHandler
    public void onRegionEnter(RegionEnterEvent e) {
        e.getPlayer().sendMessage("You are entering "+e.getRegion().getId());
 
    }
 
    @EventHandler
    public void onRegionEntered(RegionEnteredEvent e) {
        e.getPlayer().sendMessage("You entered "+e.getRegion().getId());
 
    }
 
    @EventHandler
    public void onRegionLeave(RegionLeaveEvent e) {
        e.getPlayer().sendMessage("You are leaving "+e.getRegion().getId());
 
    }
 
    @EventHandler
    public void onRegionLeft(RegionLeftEvent e) {
        e.getPlayer().sendMessage("You left "+e.getRegion().getId());
 
    }
There is a more detailed project on GitHub if you need more details: https://github.com/NetzkroneHD/WGRegionExample


If you want to add the API as a maven/gradle... dependency, please use https://jitpack.io/#NetzkroneHD/WGRegionEvents. It is very important to install the plugin on the server and to change the scope in the dependency to provided, otherwise it will not work.
Code (Text):
    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>com.github.NetzkroneHD</groupId>
            <artifactId>WGRegionEvents</artifactId>
            <version>v1.7.3</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>


If you need any help just add me as a friend on Discord.
My Discord-Tag: NetzkroneHD
Old Discord-Tag: NetzkroneHD#6420
Resource Information
Author:
----------
Total Downloads: 5,060
First Release: Oct 10, 2018
Last Update: Nov 30, 2023
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings