Commands
Commands
The main command is /selfservice
.
The main command's aliases are: /regionss
, /ss
, /plot
Command | Aliases | Description |
---|---|---|
/ss reload | Reload the config.yml file and all the world-config.yml files | |
/ss ? /ss <command> ? | /ss help /ss <command> help | Get command help |
/ss define <region> [priority] | /ss create /ss set | Create a region from your current selection. The top-y and bottom-y will automatically be set to default values |
/ss define-exact <region> [top-y] [bottom-y] | /ss create-exact /ss set-exact | Create a region from your exact current selection. You can optionally define a top-y and bottom-y. |
/ss redefine <region> | /ss resize /ss reset | Redefine a region using your current selection. The top-y and bottom-y will automatically be set to default values |
/ss redefine-exact <region> [top-y] [bottom-y] | /ss resize-exact /ss reset-exact | Redefine a region using your exact current selection. You can optionally define a top-y and bottom-y |
/ss delete <region> | /ss remove | Delete a region. All For-Sale and For-Rent signs will break |
/ss rent | Rent a region for the amount that is written on the sign. Or extend the time if possible. | |
/ss count [player] [world] | Find out how many regions you, or another player owns in a world | |
/ss worth <region> | Find out how much a region is worth (estimate pricing only, not for worthy override) | |
/ss worth <width> <length> | Find out how much some region size is worth (estimate pricing only, not for worthy override) | |
/ss worth <money> | Find out how big of a region you can get, for a certain amount of money (estimate pricing only, not for worthy override) |
Creating a region
Selecting a region
- Use WorldEdit's command
.//wand
(You need permissionworldedit.wand
) - Select a region
(You could use permissionworldedit.selection.*
)
Read more about WorldEdit's permissions.
Read more about selecting regions using WorldEdit.
Using the define
commands
First, select a region as described above.
Create a protected region:
/ss define <id>
/ss define-exact <id> [top-y] [bottom-y]
The first command will only use the selection's horizontal coördinates.
The top y-coördinate and bottom y-coördinate will automatically be set to the values in the world-config.yml
file.
/ss define myregion
The second command can be more exact. You can specify the top y-coordinate and bottom-y coordinate yourself, in the command.
/ss define-exact myregion 256 16
Or you can leave those parameters out, and the region will be your exact selection. Like WorldGuard's /region define
command.
/ss define-exact myregion
Payment is only enabled when enable_create_cost
is set to true
in the world-config.yml
file.
Owners
New regions can have default owners, as defined in the world-config.yml
file at region_defaults.owners
.
Except for when enable_create_cost
is set to true
. In that case, the creator will be owner.
Overlapping regions
You can configure whether new regions are allowed to overlap existing regions of other players at allow_overlap_unowned_regions
.
Automatic parenting
You can configure whether new regions will automatically try to find a parent region.
Here's how the parent region is searched and chosen:
- It will check if the new region is completely inside a bigger region.
- When there are multiple regions like that, the highest priority region will become the parent.
- If priorities are equal, the smallest region will be chosen as parent.
Payment
If you want players to pay for creating/resizing a region. You must enable it in the world-config.yml
file, at enable_create_cost
.
If that configuration is set to true
, the player will be asked to accept the payment of a certain amount of money.
How much money depends on the region's width and length (not the height). You can configure how much a protected block is worth, in the world-config.yml
file at block_worth
. A region's worth equals width * length * block_worth
.
When a player creates a region, and needs to pay, he/she will be asked to type
YES
or NO
Redefining a region
Pretty much the same as creating a region.
There's a normal redefine
command, and an redefine-exact
command.
/ss redefine <id>
/ss redefine-exact <id> [top-y] [bottom-y]
Players will pay the difference when a region gets bigger. Players will get a refund when a region gets smaller.
Payment/refund is only enabled when enable_create_cost
is set to true
in the world-config.yml
file.
Removing a region
Remove a region:
- Use command
/ss delete <id>
This command is recommended over WorldGuard's delete
command. Because this command will also break all For-Sale and For-Rent signs.
The owner of the region will get a percentage of the region's worth back.
How much percent can be configured in the world-config.yml
file at percent_delete_refund
.
Refund is only enabled when enable_create_cost
is set to true
in the world-config.yml
file.