Skip to content

Minecraft 1.9 కోసం WorldGuard Region Events ప్లగిన్

WorldGuard ప్రాంతాలలోకి ప్రవేశించడం మరియు నిష్క్రమించడం కోసం Bukkitకు ఈవెంట్లను జోడిస్తుంది

నుండి _ForgeUser9768154 · CurseForge
వ్యూలు
4 వ్యూలు
అప్‌డేట్ చేయబడింది
అప్‌డేట్ చేయబడింది 18.10.2026
  • 1.9

Description

WorldGuard Region Events allows modders to trigger function if a player enters or leaves a region. It adds four events that you can use to trigger your functions: RegionEnterEvent, RegionEnteredEvent, RegionLeaveEvent and RegionLeftEvent. They can be used just as any other Bukkit event (for more information look here .)

The RegionEnteredEvent and RegionLeftEvent are triggered a short time after a player entered/left a region so you cannot cancel them, but use the to check the flags of the regions the player is in.

The JavaDoc of WGRegionEvents can be found here.

Example

If you don't want to create a plugin ignore this

To send a player a text whenever he enters a region:

import com.mewin.WGRegionEvents.events.RegionEnterEvent; ... @EventHandler public void onRegionEnter(RegionEnterEvent e) { e.getPlayer().sendMessage("You just entered " + e.getRegion().getId()); }

Or to quit players from escaping from jail:

import com.mewin.WGRegionEvents.events.RegionLeaveEvent ... @EventHandler public void onRegionLeave(RegionLeaveEvent e) { if (e.getRegion().getId().equals("jail") && e.isCancellable()) // you cannot cancel the event if the player left the region because he died { e.setCancelled(true); e.getPlayer().sendMessage("You cannot leave the jail!"); } }

WorldGuard Region Events ఎలా ఇన్‌స్టాల్ చేయాలి

  1. A server on Paper or Spigot

    The plugin runs on the server core for Minecraft 1.9; players do not need to install anything.

  2. File goes into the plugins folder

    Download the file WGRegionEvents-1.2.1.jar (13 KB) and put it into the server’s plugins folder.

  3. Restart the server

    On startup the plugin creates its own settings folder in plugins.

  4. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Minecraft 1.9 runs on Java 8: with a different Java version the game may close right after launch.

వెర్షన్లు

డిపెండెన్సీలతో

Minecraftలోడర్ఫైల్తేదీచర్యలు
1.9—WorldGuard Region Events 1.2.113 KB
——WorldGuard Region Events 1.014.6 KB

FAQ

Which Minecraft versions does WorldGuard Region Events work on?

Only Minecraft 1.9: there are no files for other versions.

Do players need to install WorldGuard Region Events?

No, the plugin goes only on the server, into the plugins folder: players do not need to download anything.

Which Java does WorldGuard Region Events need?

Minecraft 1.9 runs on Java 8. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.

Where can I download WorldGuard Region Events safely?

On this page: the file WGRegionEvents-1.2.1.jar (13 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 94460cc672b3a8d2b811e3ba6df10f87252b0558.

సమీక్షలు

WorldGuard Region Eventsకు మొదటి రేటింగ్ ఇవ్వండి

కామెంట్‌లు 0

వ్యాఖ్య చేయడానికి సైన్ ఇన్ చేయండిసైన్ ఇన్

సమానమైన ప్లగిన్‌లు

అన్ని ప్లగిన్‌లు

దీనిపై మరింత