-
Notifications
You must be signed in to change notification settings - Fork 22
Commands
- Town creation and claiming
- Town managing
- Plot creation
- Plot managing
- Admin commands
Each /town
can be substituted with /t
or /mytown
Each /townadmin
can be substituted with /ta
or /mytownadmin
Each parameter in a command that is surrounded by <>
is necessary.
Each parameter in a command that is surrounded by []
is optional.
Each parameter in a command that contains a |
in between 2 text strings means it can have one of the 2 values.
Syntax errors such as the number not being a positive integer are not included.
/town new <name>
with perm mytown.cmd.outsider.new
Creates a new town with the name
given.
It will give an error if:
- Name is already in use.
- Player has reached the maximum amount of towns it can be a resident of.
- Chunk is already claimed by another town.
- There is a town in a radius (Default: 5 chunks) with the
nearby
flags set tofalse
/town claim [range]
with perm mytown.cmd.assistant.claim
Claims the chunk you are currently in and all the chunks around you in the given radius.
If the chunks are not adjacent to the main claim then it will be considered one
far claim.
It will give an error if:
- One of the chunks is already claimed.
- There is a town in a radius (Default: 5 chunks) around one of the chunks with the
nearby
flags set tofalse
- It is a far claim but the town reached the limit of far claims.
/town unclaim
with perm mytown.cmd.assistant.unclaim
Removes the claim of the chunk you are in. It will give an error if:
- Chunk is not already claimed.
- Chunk contains the spawn point.
- Chunk is the last claim in a town.
/town leave
with perm mytown.cmd.everyone.leave
Removes you from the town. It will give an error if:
- You are the mayor. In which case you might want to either pass mayorship
/town pass <resident>
or delete the town/town leave delete
.
/town kick <resident>
with perm mytown.cmd.assistant.kick
Removes a given resident
from the town.
It will give an error if:
-
resident
is not in town. -
resident
is the mayor. -
resident
is you.
/town rename <name>
with perm mytown.cmd.assistant.rename
Renames the town with the given name
.
It will give an error if:
-
name
given is already in use