WorldGuard/Regions/Tutorial

From SK's Wiki
Jump to: navigation, search

Contents

[edit] Selecting regions

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

Unfamiliar with WorldEdit?

[edit] 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.

[edit] Selecting polygons

  1. Use //sell 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!

[edit] 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.

[edit] 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 build allow
Example: Setting a greeting message
/region flag townplot greeting Hello there, welcome!
Example: Clearing a flag
/region flag townplot greeting
Personal tools
Namespaces
Variants
Actions
Sections
Navigation
Toolbox