-
Notifications
You must be signed in to change notification settings - Fork 11
Commands Dim
The commands to manage the dimensional regions can be used either by players which have the required OP level or have an entry in the configuration or by their owners. Adding a player or a team as the Dimensional Region owner allows full control over managing the region.
Without permission or being an owner, players are only allowed to use /wp dim <dim> info|list
to show Dimensional Region info's.
-
/wp dim <dim>
- Shows the interactive info about the Dimensional Region for dimension . -
/wp dim <dim> info
- Same as the/wp dim <dim>
command. -
/wp dim <dim> list local|flag|owner|player [<page>]
- List regions, flags, owners and members defined in the region.page
indicates the page for the pagination, this is optional and will default to 0 for the first page. The pagination is not displayed, if only one page exists. -
/wp dim <dim> add|remove flag <flag>
- Manage flags of the Dimensional Region -
/wp dim <dim> add|remove player <group> <player>
- Manage Players of the Dimensional Region -
/wp dim <dim> add|remove team <group> <team>
- Manage teams of the Dimensional Region -
/wp dim <dim> enable <true|false>
- Enables/disables the Dimensional Region -
/wp dim <dim> create local <regionname> <areaType> ... [<parent>]
- Creates a new Local Region in dimension with specified area type and selected area with an optional parent region - see Creating a region with the CLI -
/wp dim <dim> delete <regionname> [-y]
will attempt to delete a region. Use -y to confirm the deletion of a region. Regions with children cannot be deleted at this point.
Every <player>
argument works with the usual entity target selectors like @s
, @a
, etc. The arguments require an already defined vanilla minecraft team.
The command /wp dim <dim> create local <regionname> <area-type> <Pos1> <Pos2> [<parent>]
allows you to create a region
using purely the command line. This command can be executed by either a player in game or from the server console.
- Cuboid:
/wp dim <dim> create local <regionname> Cuboid <pos1> <pos2> [<parent>]
- Sphere:
/wp dim <dim> create local <regionname> Sphere <center-pos> <radius-pos> [<parent>]
- Sphere:
/wp dim <dim> create local <regionname> Sphere <center-pos> <radius> [<parent>]
The arguments are explained as follows:
-
<dim>
: is the dimension in which you want to create a new region (e.g.'minecraft:overworld'
) -
<regionname>
: the name of the region you want to create. Duplicate region names in the same dimensions are not allowed. -
<area-type>
: the type of the area you want to create. Currently, only Cuboid and Sphere are supported. -
<Pos1>
,<Pos2>, <center-pos> and <radius-pos>
: are BlockPositions (X,Y,Z). They can be auto-filled with tab when you are looking at a block in game. -
<radius>
: is the radius of the sphere. This needs to be a non-negative integer ( 0, 1, 2, 3, ...). -
[<parent>]
: the parent argument is optional. It can be used to define set the parent region directly on creating a new region. Leaving parent empty will result in the Dimensional Region being used as parent region.
🏠 | Getting started 🏃 | FAQ ❓ | Commands 💻 | Interactive CLI 👇 | Flags 🏳️🌈 | ➡️ Discord