Giter VIP home page Giter VIP logo

regiontrigger's Introduction

RegionTrigger for TShock

RegionTrigger is a TShock-based plugin aimed to trigger special events when players enter a region.

本插件有中文版本! 查看中文教程.. 下载链接..

Requirement:

  • API Version: 2.0
  • TShock Version: 4.3.22

Commands:

  • /rt set-<property> <region> [--del] <value> -- Sets regions

Available properties:

  • Event: event(e)
  • Bans: projban(pb), itemban(ib), tileban(tb)
  • Messages: entermsg(em), leavemsg(lm), messageinterval(msgitv/mi)
  • Group: tempgroup(tg)

e.g. /rt set-event main-region nopvp /rt set-tempgroup main-region admin

  • /rt show <region> -- Gets information about a specific region
  • /rt reload -- Reloads data in database
  • /rt --help [page] -- Gets helps

You can also find this plugin in TShock offical forum.

Permission

  • regiontrigger.manage -- Manages regions' events.
  • regiontrigger.bypass.tileban -- Use banned tiles in regions.
  • regiontrigger.bypass.projban -- Use banned projectiles in regions.
  • regiontrigger.bypass.itemban -- Use banned items in regions.
  • regiontrigger.bypass.tempgroup -- Player won't be switched to tempgroup.
  • regiontrigger.bypass.pvp -- Players will be able to toggle their PvP status.
  • regiontrigger.bypass.nopvp -- Players will be able to toggle their PvP status.
  • regiontrigger.bypass.private -- Enters private regions.
  • regiontrigger.bypass.tempperm -- Skip temp permissions in region.

Available events now:

  • EnterMsg - Sends player a specific message when entering regions.
  • LeaveMsg - Sends player a specific message when leaving regions.
  • Message - Sends player in regions a specific message.
  • TempGroup - Alters players' tempgroups when they are in regions.
  • Itemban - Disallows players in specific regions from using banned items.
  • Projban - Disallows players in specific regions from using banned projectiles.
  • Tileban - Disallows players in specific regions from using banned tiles.
  • Kill - Kills players entering to region.
  • Godmode - Turns players' godmode on when they are in regions.
  • Pvp - Turns players' PvP status on when they are in regions.
  • NoPvp - Disallows players from enabling their PvP mode.
  • InvariantPvp - Disallows players from changing their pvp mode.
  • Private - Disallows players without permission from entering region.

regiontrigger's People

Contributors

mistzzt avatar

Watchers

James Cloos avatar

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.