Skip to content

Commands

Sergiu Muresan edited this page Aug 2, 2015 · 32 revisions

Commands

  1. Town creation and claiming
  2. Town commands for 'assistant' residents
  3. Town commands for regular residents
  4. Town commands for anyone
  5. Plot creation
  6. Plot managing
  7. 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, permission or formatting errors (such as the number not being a positive integer) are not included.

Town creation and claiming

/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 to false

/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 to false
  • 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 commands for 'assistant' residents

/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.

/town setspawn with perm mytown.cmd.assistant.setspawn

Sets the spawn of the town to your current location. It will give an error if:

  • You are not inside the town.

/town invite <resident> with perm mytown.cmd.assistant.invite

Invites the resident to your town. It will give an error if:

  • resident is already in town.

/town perm set <flag> <value> with perm mytown.cmd.assistant.perm.set

Sets a flag to the specified value. It will give an error if:

  • flag or value are invalid.

/town perm whitelist with perm mytown.cmd.assistant.perm.whitelist

Gives the player a whitelister tool to allow certain blocks to be bypassed by protection check. (Currently WIP)


/town promote <resident> <rank> with perm mytown.cmd.assistant.promote

Promotes the resident to the given rank. It will give an error if:

  • resident or rank is invalid.
  • rank is Mayor.

/town leave delete with perm mytown.cmd.mayor.leave.delete

Deletes the town.


/town bank withdraw <amount> with perm mytown.cmd.assistant.bank.withdraw

Withdraws a certain amount from the town's bank.

Town commands for regular residents

/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 spawn with perm mytown.cmd.everyone.spawn Returns you to spawn. It will give an error if:

  • You do not have enough money to do this action.

/town select <town> with perm mytown.cmd.everyone.select Selects one of the town you are resident of. It will give an error if:

  • You are not part of the given town

/town blocks <command> with perm mytown.cmd.everyone.blocks


/town blocks list with perm mytown.cmd.everyone.blocks.list Lists all the blocks(chunks) claimed by the town.


/town perm <command> with perm mytown.cmd.everyone.perm


/town perm list with perm mytown.cmd.everyone.perm.list

Lists all the flags, their values and descriptions.


/town ranks <command> with perm mytown.cmd.everyone.ranks


/town ranks list with perm mytown.cmd.everyone.ranks.list Lists all the ranks in the town.


/town borders <command> with perm mytown.cmd.everyone.borders


/town borders show with perm mytown.cmd.everyone.borders.show Shows the borders of the town by visually replacing some of the blocks with lapis blocks.


/town borders hide with perm mytown.cmd.everyone.borders.hide Hides the borders of the town.


/town bank <command> with perm mytown.cmd.everyone.bank


/town bank pay <amount> with perm mytown.cmd.everyone.bank.pay Transfers a certain amount from the player's balance to the town's bank. It will give an error if:

  • The player doesn't have the amount it its inventory.

/town bank info with perm mytown.cmd.everyone.bank.info Shows info about the town's bank.


/town wild <command> with perm mytown.cmd.everyone.wild


/town wild perm with perm mytown.cmd.everyone.wild.perm Shows the flags, their values and description of the Wilderness (the unclaimed chunks on the server)

Clone this wiki locally