1. These forums are being retired. Please ask all questions and help threads and any other type of discussions on GitHub. During this time, new threads and user registrations have been disabled.

2.1 Smart Regions 1.2

Executes commands when players enter a region

  1. GameRoom
    API Version:
    2.1
    TShock Version:
    4.3.22
    Source URL:
    https://github.com/ZakFahey/SmartRegions/
    This plugin runs any command you want when a player enters a region. You could use this to set a player's team, heal them, give them items, or whatever you want. The possibilities are endless.

    Commands:
    /smartregion add <region name> <cooldown> <command or file>: sets an existing region to a command. The cooldown represents how long the interval is between activations. You can do a command or make a file with a series of commands (each separated by a new line) in tshock/SmartRegions/. You can also use [PLAYERNAME], and the plugin will replace that with the player that is in the region. Example:
    /smartregion add blueteam 100 /tteam [PLAYERNAME] blue
    /smartregion remove <region name>
    /smartregion check <region name>:
    Displays info about a smart region.
    /smartregion list [page] [distance]: Lists all smart regions.
    DerpyKrafter, NAGU and Kojiro_S like this.