Got a question that the wiki doesn't answer? Ask on the forum (preferred), or join us on IRC.

BeastNode

WorldGuard/Regions/Tutorial

From EngineHub.org Wiki
Jump to: navigation, search

Contents

Selecting regions

Regions are selected using WorldEdit. Give the worldedit.selection.* permission to allow users to select areas.

Unfamiliar with WorldEdit?

Selecting cuboids

  1. With the wooden axe, left and right click blocks to set a cuboid's first and second point.
  2. Use //expand 10 15 up to make the area 10 units larger upwards and 15 units larger downwards.
Tip: If you want to make the selection extend between sky and bedrock, use //expand vert.

Selecting polygons

  1. Use //sel poly to switch to the polygon selection mode.
  2. With the wooden pickaxe, left click to start the first point.
  3. Right click to add a point to the polygon.
  4. By default, the minimum Y (vertical distance) is the lowest point's Y, and the maximum Y is the highest point's Y. Use //expand 10 15 up to make the area 10 units larger upwards and 15 units larger downwards.
Tip: If you want to make the selection extend between sky and bedrock, use //expand vert.

Note: As at 2012.05 some of the selection tools in WorldEdit don't seem to be valid for creating regions (eg. sphere) in WorldGuard. Perhaps in a future release?

See also: Check out the help for WorldEdit. WorldEdit has the most powerful area selection and manipulation tools of any plugin or mod in Minecraft so you should become familiar with it!

Defining regions

Use /region define town g:members tetsu aya to create a region named "Town" with owners Tetsu, Aya, and the group "members". The "g:" prefix specifies a group.

Tip: Region names are not case-sensitive.
  • To add members, which have less abilities than owners (depending on how you set up permissions), use /region addmember town bob mary frank
  • To add owners, use /region addowner town bob mary frank
  • To remove members or owners, use /region remowner town bob mary frank or /region remember town bob mary frank. You can remove several owners or members at once.
  • To set priority (explained in the introduction), use /region setpriority town 3
  • To set a region's parent (see the introduction), use /region setparent townplot town ("town" being the parent)
  • Give each group the permission "group.<groupname>" if group-owners and group-members are not working. I.e. The group "citizen" gets the permission group.citizen, and can be added as owner/member of regions as g:citizen.

Adjusting flags

To adjust "state flags", use "allow", "deny" or "none" (to unset). For other flags, it may depend on the type of flag. For example, an integer flag expects a number. To clear a flag, you simply do not specify a value.

Example: Setting a state flag
/region flag townplot pvp deny
Example: Setting a greeting message
/region flag townplot greeting Hello there, welcome!
Example: Clearing a flag
/region flag townplot greeting


Namespaces

Variants
Actions