Need help? Ask on the forum, ask a fellow user or developer (join us on IRC), or contact sk89q.
Contribute to the wiki, edit this page! Register an account, or login with Facebook first.
HEY! Do you integrate (or want to) a plugin into yours? Do you help work on WE/WG/etc.? Please subscribe to our mailing list!
WorldGuard
Regions
Tutorial
Contents |
Selecting regions
Regions are selected using WorldEdit. Give the worldedit.selection.* permission to allow users to select areas.
Unfamiliar with WorldEdit?
Selecting cuboids
- With the wooden axe, left and right click blocks to set a cuboid's first and second point.
- Use
//expand 10 15 upto make the area 10 units larger upwards and 15 units larger downwards.
//expand vert.Selecting polygons
- Use
//sel polyto switch to the polygon selection mode. - With the wooden pickaxe, left click to start the first point.
- Right click to add a point to the polygon.
- 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 upto make the area 10 units larger upwards and 15 units larger downwards.
//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.
- 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 frankor/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.
/region flag townplot build allow/region flag townplot greeting Hello there, welcome!/region flag townplot greeting