-
-
Notifications
You must be signed in to change notification settings - Fork 3
Region
A Region is an area that has its own flags and its own properties. Is can also be "owned" by specific players, who will have full access to the Region functionality (such as placing or breaking blocks), while other players that don't "own" the Region will not (so for example they can't break or place anything inside the Region area).
HOW TO CREATE A REGION
Get the Region selector if you don't have it already using /rg. This will give you the Region selector. You will now have to choose to points to set the corners of the Region. Left click with the Region selector will set the first point, right click will set the second. Once you set the points you can save the Region using /rg save or you can edit first before saving. Notice that if you edit the region first you'll have to do /rg save when you're done, otherwise the region will not be saved! Each Region is saved into a Json file, stored in config/universeguard/regions/<region_name>.json so it can be edited outside of the game if needed. Let's see now all the informations that are part of a Region.
pos1: The first corner of the Region (setted with the Region selector left click).
pos2: The second corner of the Region (setted with the Region selector right click).
dimension: The dimension the Region is in
world: The world name the Region is in
name: The name of the Region. If not specified during the creation, an automatic generated name will be given to it
priority: The priority of this region in case another region overlaps it. The settings of the region with the highest priority will be applied in that case.
owners: The list of players that have full access to the Region. All players (except for who have specific permissions) that are not in this list will have restricted access to the region (depending on the region settings itself)
gamemode: The gamemode that all the players entering the region will be. If not set nothing will happen to the actual gamemode of a player entering the region
teleport: The location a player will be teleported when using the /rg teleport command
spawn: The location a player will spawn when using the /rg spawn command
commands: The list of commands that cannot be done while inside the region
flags: Flags are used to specify the Region properties. There are different types of flags and you can see the full list of them and their meant in the Flags page.
If you want more details about the region commands and their use you can check the Commands page