Git Product home page Git Product logo

smartregions's Introduction

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 : 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 /smartregion check : Displays info about a smart region. /smartregion list [page] [distance]: Lists all smart regions.

Permissions

SmartRegions.manage

End a region name with -- and it will only execute if it has the highest Z value of all overlapping regions.

smartregions's People

Contributors

anzhelikao avatar asgopew avatar bippity avatar killia0 avatar zakfahey avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

smartregions's Issues

Crashed

When I use this puglin, the server crashes, and I don't turn on, I don't know if the puglin is outdated or if I don't mention the dependencies

Plugin not working with TShock v4.5.3

It seems the TShock API has changed slightly, breaking all the old plugins. The AutoRegister plugin was recently fixed to work with the new API, so perhaps that could help point out what has changed.

Additional functionality

-Display total pages of smartregions that exist when "/smartregion list" is used
-List the smartregions alphabetically rather than by date of creation when "/smartregion list" is used
-Optional parameter for "/smartregion list" for only displaying smartregions within a certain radius of the player. e.g. "/smartregion list 200" would only list the smartregions that are within 200 blocks of the player

hello help me pls

i want do a region for arena pvp, when player enter in region /pvp is on and if he left then /pvp is off
i'm trying syntax
/smartregion add arena "100" "/pvp" [PLAYERNAME] but i'm dont have permission... shows the message "only server can do this..."
but i'm trying in server cmd and the same message :( pls help i realy want arena pvp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.