Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Local Region

JimiIT92 edited this page Jun 17, 2018 · 7 revisions

A Local Region is Region bounded between two points. Is essentially a rectangle with its own flags and its own properties. Since is limited it has some unique properties that are described below.

POINTS

A Local Region has 2 points that defines its bounds. These points can be set using the Region Selector while creating the Region or using the /rg expand command if they are already set.

PRIORITY

A Local Region can have a priority in order to determine wich Region has to handle events if 2 or more Regions overlaps. The region priority can be set using the /rg priority command.

TELEPORT LOCATION

A Local Region can have a Teleport Location, so when players use the /rg tp command they will be teleported at this location. You can disable players from teleporting to the Teleport Location of the Region setting the cantp flag to false.

SPAWN LOCATION

A Local Region can have a Spawn Location, so when players use the /rg spawn command they will be teleported at this location. You can disable players from teleporting to the Spawn Location of the Region setting the canspawn flag to false.

MEMBERS

A Local Region can be held by some players, meaning that they will have all permissions inside that Region. This is useful if you want to make private Regions. You can add a member to a Region using the /rg add command or remove it using the /rg remove command.

GREETING MESSAGE

A message that is displayed to a player when he enter the Region. The region greeting message can be set using the /rg greeting command.

FAREWELL MESSAGE

A message that is displayed to a player when he leaves the Region. The region farewell message can be set using the /rg farewell command.

EFFECTS

THIS FIELD IS ONLY AVAILABLE IN 1.12.2 VERSION!

The list of potion effects the Region will apply to each player inside it. A Region effect can be added using the /rg effectadd command.

VALUE

THIS FIELD IS ONLY AVAILABLE IN 1.12.2 VERSION!

Represents the ItemStack used to buy this Region

SOLD

THIS FIELD IS ONLY AVAILABLE IN 1.12.2 VERSION!

Sets if the Region has been sold

HOW TO CREATE A LOCAL REGION

If you want to create a Local Region than you must follow these steps:

  • Get the Region Selector, if you don't have it yet, by using the /rg command
  • With the Region Selector in you hand use the Left mouse click to select the first point and the Right mouse click to select the second point. You can select the same point twice if you want to. Also, you can expand the selection by using the [/rg expand](https://github.com/JimiIT92/UniverseGuard2/wiki/rg-expand) command.
  • Optionally you can set the Region properties using different commands or set the Region Flags using the [/rg flag](https://github.com/JimiIT92/UniverseGuard2/wiki/rg-flag) command
  • When you are done, you must type the /rg save command to save your Region
Clone this wiki locally