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
Commands
These are the region commands.
/region, but you can also use /rg as a shortcut.Contents |
Commands
Redefine
-
/region redefine <id> -
/region update <id> -
/region move <id>
This command allows you to change the area for a defined protected region. The area of the region will be taken as your current WorldEdit region selection. You cannot limit, with permissions, the new land area size.
Claim
-
/region claim <id> [<owner1> [<owner2> [<owners...>]]]
This command is similar to "define" except that it also does extra checks:
- If enabled in the configuration, the player must not have more regions than the maximum region limit.
- The new region cannot replace an existing region of the same name unless the player also owns that.
- The new region may not overlap with another region that the player must own.
- If enabled in the configuration, the region must overlap an existing region that the player owns.
- If enabled in the configuration, the volume of the region must not exceeded the maximum region limit specified.
Information
-
/region info [-s] [<world>] [<id>]
Lists information for a given region. The information shown is:
- Shape
- Priority
- Flag values
- Parent
- Owners
- Members
- Bounding box
Empty fields will be left out.
The -s flag makes this command select the region in addition to showing information on it. This requires select permissions as usual.
If you don't specify an id, the highest-priority region at your current location will be used.
/region info townplot/region info world_nether forbiddenlandsSelect
-
/region select [<id>]
This command selects the region.
If you don't specify an id, the highest-priority region at your current location will be used.
/region select townplotList
-
/region list [<page> [<world>]]
Displays the list of regions. A page number can be provided to scroll through the list, and a world can also be specified to list the regions of a world.
/region list/region list 3 world_netherAlternatively the list of regions can be filtered by user by using the prefix . to specify the .<user> as the first argument . Regions the user is an owner of are listed first, prefixed with a (+) symbol. The permission worldguard.region.list.own can be set to allow users to only list their own regions using .me or ..
/region list .Tetsu/region list .meThe index shown here can be used in most region commands (exceptions: claim, remove, redefine) in place of a region id. Simply write #<index>.
/region teleport #5Set flag
-
/region flag <id> <flag> [-g <groupname>] [-w <worldname>] [<value>]
Sets a flag for a region. If a value is not given, then the flag is cleared to its default unset set. See the flag list to see which flags you can set. It is important you understand how region priorities and parent-child relationships work out, so be sure to read the regions introduction.
/region flag townplot pvp deny/region flag townplot pvp -w duduworld deny/region flag townplot greeting Welcome to the town plot, %name%!/region flag townplot farewellSet priority
-
/region setpriority <id> -w <worldname> <priority> -
/region priority <id> -w <worldname> <priority> -
/region pri <id> -w <worldname> <priority>
Sets the priority of a region. The priority is a numeric integer that can be negative as well as positive. For information on how priorities work out, see the regions introduction.
Set parent
-
/region setparent <child> <parent> -
/region parent <child> <parent> -
/region par <child> <parent>
Sets the parent of a region. You must specify the name of an existing region. For information on how parents and children work out, see the regions introduction.
Remove
-
/region remove <id> -w <worldname> -
/region rem <id> -w <worldname> -
/region delete <id> -w <worldname> -
/region del <id> -w <worldname>
Removes a region.
Teleport
-
/region teleport [-s] <id> -
/region tp [-s] <id>
Teleports to the point specified by the region's teleport flag.
If you specify the -s flag, you will be teleported to the spawn point instead.
Permissions
Please see the permissions page.