TriggerCmds

With tcmds you can link any type of craftbukkit or plugin commands to buttons/levers/plates It's simple too use and it has persistence so you can reboot your server without loosing anything

Features

  • Simple way to link cmds to triggers
  • Works (in theory) with almost any command
  • Uses persistence to save all the triggers
  • Has permissions ("triggercmds")
  • Batch triggers where several commands can be executed in succession.

Tutorial

Make a trigger

  1. /tcmds edit TriggerName - Opens/creates the trigger edit
  2. /tcmds set $me:/tp $ply $me - Makes you teleport the player that presses the button to you
  3. Left Click on the switch - Regs the switch and closes the edit

Make a batch trigger

There are now two ways to create batch triggers. All in one go or one command at a time.

All in one go

  1. /tcmds edit TriggerName - Opens/creates the trigger edit
  2. /tcmds set $ply:/spawn & $me:/time day - Makes the player that presses the button teleport to the spawn AND change the time. The spaces around the & are important here. You can list as many commands as you can fit.
  3. Left Click on the switch - Regs the switch and closes the edit

One command at a time

  1. /tcmds edit TriggerName - Opens/creates the trigger edit
  2. /tcmds set $ply:/spawn - Makes the player that presses the button teleport to the spawn
  3. /tcmds add $me:/time day - Change the time after making the player teleport.
  4. Left Click on the switch - Regs the switch and closes the edit

Delete a trigger

  1. /tcmds edit TriggerName - Opens/creates the trigger edit
  2. /tcmds del - Deletes the trigger from the db

Delete a Link

  1. /tcmds edit TriggerName - Opens/creates the trigger edit
  2. Right Click on the switch - Deletes the switch and closes the edit

Executors

  • $me: - The cmd will be executed by the trigger maker (only if is online)
  • $ply: - The cmd will be executed by the player that pressed the trigger
  • $con: - The cmd will be executed by the console

Variables

  • $me & $ply - Used inside the command you want to declare

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    37629
  • Created
    Mar 16, 2012
  • Last Released File
    Jun 1, 2013
  • Total Downloads
    6,192
  • License

Categories

Members

Recent Files

Bukkit