Towns: Commands - Slymeball/skript GitHub Wiki

In my towns script, there are two commands and (cba to count) subcommands.

  • /town
    • Aliases
      • /towns
      • /towny
    • /town create <name> - Create a town in the player's chunk.
    • /town accept [name] - Accepts an invite. If [name] is not filled, it will accept the most recent invite.
    • /town deny [name] - Declines an invite. If [name] is not filled, it will decline the most recent invite.
    • /town disband <confirm> - Disbands the player's town.
      • Alias: delete
    • /town leave <confirm> - Removes the player from the town's member list (if they are not the owner).
    • /town info [name] - Gives info a town. If [name] is not filled, it will give info about the player's town.
    • /town players [name] - Gives the citizen list of a town. If [name] is not filled, it will give the citizen list of the player's town.
    • /town home - Teleports the player to the town's home.
    • /town warp [name] - Teleports the player to a town's public warp. If [name] is not filled, it will teleport the player to their town's public warp.
    • /town claim - If the player who executes the command is in a position where they can claim chunks, the chunk they are standing in will be claimed.
    • /town invite <player> - If the player who executes the command is in a position where they can invite players, <player> will be invited to join the town.
      • The invite will fail to send if the player is already in a town.
    • /town remove <player> - If the player who executes the command is in a position where they can remove players, <player> will be removed from the town.
      • The request will fail to send if the player is not in the executor's town.
    • /town promote <player> - If the player who executes the command is in a position where they can promote players, <player> will be promoted in the town.
      • The request will fail to send if the player is not in the executor's town.
    • /town demote <player> - If the player who executes the command is in a position where they can demote players, <player> will be demoted in the town.
      • The request will fail to send if the player is not in the executor's town.
    • /town transfer <player> <confirm> - If the player who executes the command is in a position where they can transfer town ownership to other players, <player> will be transferred ownership of the town.
      • The request will fail to send if the player is not in the executor's town.
    • /town settings - Changes the settings of the town.
  • /tc [text] - Sends a message to your town members.
    • The same effect can be achieved if a normal chat message starts with a ">" symbol.
⚠️ **GitHub.com Fallback** ⚠️