By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Easily protect specific areas
version 0.1
Approved
Direct Download How to install?
746 Downloads / 746 Total
2 Reviews
Plugin Description §

Commands

- /rg pos Set the zone. Click on the first point and block on the second point

- When you have finished setting the position, please enter /rg define [zone name]

- /rg flag [zone name] [flag] allow/deny,none Please enter double

- The /rg list brings out possible flags.

allow = allow
deny = Disallow - the player will be unable to interact with the type or the zone.
none = none

/rg list | View the list of zones you created.

/rg addmembers [zonename] [player] | Add members for the area.

/rg removemembers [zonename] [player] | Remove members in the area.

/rg remove [zonename] | Remove the area.

/rg info [zonename] | View information for the area.

Recommended for use

It acts like a local protection.

Flag List:

build: The player will decide to install/destroy the block according to allow/deny/none.

pvp: a battle between players

tnt: TNT Explosion

invincible: Do not suffer all damage

lava-flow: lava flow

chat: player chat

use: All touches

water-flow: water flow < It will be replaced by water-flow in the next update.

tnt-damage: tnt damage

mob-damage: layer damage to entity

mob-pvp: Damage to entities

fire: Turned off when the player lights up and enters an unallowed zone

mob-spawn: Whether mobs are summoned to disallowed zones (except item entities from next update)

next update(Inaccurate)

fire-spread: the spread of fire

API

use gamegam\WorldGuardPlugin\WorldData;
use gamegam\WorldGuardPlugin\WorldGuard;

get the name of the world guard I am now

$guard = WorldData::getInstance();
$name = $guard->getName(Position);

Make sure I'm currently in World Guard or not

if($guard->getBlockJoin(position)){

example: $player->sendMessage($name."is Join");


vencej
using v0.1
05 Nov 24
great plugin! but please add a feature that inside a protective region there will be a blocks that is allowed for players to break like for example : diamon_ore in the list of config.yaml.
KaitoZerjoYT
using v0.1
17 Aug 24
Is it a solid idea that you have implemented this, is there also an API like in the orignal Java plugin? Events like: RegionEnterEvent
gamegam
18 Aug 24
No

Reply to review by :

/ 5
Supported API versions
5.0.0
->
5.16.0
Producers §
  • Collaborators:
    • @gamegam
License §
Categories:
General
Admin Tools
Informational
Chat-Related
Teleportation
World Editing and Management
World Generators
Developer Tools
Permissions
Manage worlds
Manage permissions
Manage blocks/items
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...