Skip to content

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

License

Notifications You must be signed in to change notification settings

RenderBr/RegionTrigger

 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%