VariableTriggers

Make your own plugin like features and more using VariableTriggers
This is a very powerful plugin that has unlimited potential. Create triggers that run lines of script when a player Clicks or Walks on a block (dirt, door, switch, trigger, torch, any block) or Create Event Triggers such as PlayerDeath , EntityDeath, BlockBreak, BlockPlaced, Join, Quit, Respawn, Interact and EntitySpawn that also run scripts. You can define Area Triggers and Command Triggers as well. You can use Dynamic Object variables and conditional IF and ELSE statements in the scripts. You can run any command that a player or OP can run and many speacial built-in commands to Teleport, Spawn Entities, Play Effects Visual or Sound, Set Blocks, Toggle Blocks, Check Players Heath and much more!. The scripts are executed on their own threads to take the strain off of the main server thread.
















-
View User Profile
-
Send Message
Posted Mar 8, 2015@Lyoko_Firelyte
@PAUSE pauses the script but it doesn't stop someone from clicking the trigger multiple times
@COOLDOWN stops the trigger completely so it can only be used in a certain timeframe
In this instance this script is for a treefarm that gets world edited in. If I were to use @PAUSE someone could click the trigger infinite times because it is only pauses the execution, not the trigger itself. @COOLDOWN stops people from using the trigger for a certain amount of time. I know this to be true because the script I made has been working fine until I updated to the newest version.
-
View User Profile
-
Send Message
Posted Mar 8, 2015@GodsMustache
I think you're looking for @PAUSE
-
View User Profile
-
Send Message
Posted Mar 8, 2015@COOLDOWN seems to be broken or doesn't work
A simple click trigger
The "This is a test" will never show up. If I switch the two commands around the message shows up but the cooldown never takes affect. This is in trying to figure out why my script posted a few comments ago broke after I updated to version 2.
-
View User Profile
-
Send Message
Posted Mar 7, 2015@nxtboyIII
You can use @CALL in your scripts instead of vt run :)
-
View User Profile
-
Send Message
Posted Mar 7, 2015@brkdgl07
Sorry guys. Variable triggers doesnt have any problem. I have been constantly tried in op, so everytime vt said to me you had permission although I didnt have permission. I almost will be crazy :D
-
View User Profile
-
Send Message
Posted Mar 3, 2015@Noobsbeard
Version?
-
View User Profile
-
Send Message
Posted Mar 2, 2015Is there something I have to do to update my click triggers or events in general? I have updated to the latest version and it shows that the click trigger is still there but nothing happens.
Below is the just one of the triggers in question.
http://pastebin.com/tx3bYFk4
-
View User Profile
-
Send Message
Posted Mar 1, 2015@RaycusMX
VTV2 has a timer option in the settings.yml :)
-
View User Profile
-
Send Message
Posted Mar 1, 20151 min interval of Timer is a bit too long in most cases, I think. Are there any ways to make it triggered faster?
-
View User Profile
-
Send Message
Posted Mar 1, 2015@Lyoko_Firelyte
Thank you much. I'm looking foreword to upgrading but I need the loop command.
-
View User Profile
-
Send Message
Posted Feb 28, 2015PSA
Behold my powah! Even Forge is not outside my grasp!
http://i.imgur.com/FbNOZZ3.png
http://i.imgur.com/Z7jkvDZ.png
http://pastebin.com/5iH0N1jW
You likely do not want to know the reason for this. You also probably do not want to know the extent to which this will go. However, VT is very much Forge (CAULDRON) compatible, and can accept Forge things just fine due to using the IDs and names directly. Provided you can figure out their name...
-
View User Profile
-
Send Message
Posted Feb 28, 2015@AncientTom
I don't have an estimated date, but it will include loop ^_^
-
View User Profile
-
Send Message
Posted Feb 28, 2015@Lyoko_Firelyte
I am wondering when you will have the next major update available and if it will have @LOOP addad back in?
-
View User Profile
-
Send Message
Posted Feb 28, 2015Hi, I use VariableTriggers to upgrade player's ranks by running a script from the console, the command is "vt run <file:script> <playername>". However, even though I input the player name, I still cannot run the script from the console, it says "/vt run is for players!". This command used to work from the console, and now it doesn't.
Please help, and thanks, nxtboyIII
-
View User Profile
-
Send Message
Posted Feb 26, 2015Would it be possible for something like "@MODIFYPLAYER <playername> climbing true" to exist in a future update?
-
View User Profile
-
Send Message
Posted Feb 25, 2015@DROPITEM must be followed with an item name instead of id, so it means this sc can't work with an item with metadata (such as spruce wood plank)? And what's more, are there any ways to find the exact names of an item (whether it's from mod or not)?
-
View User Profile
-
Send Message
Posted Feb 24, 2015@Lyoko_Firelyte
I have looked there, I deleted the command file and the command scripts remained there after i reloaded it
-
View User Profile
-
Send Message
Posted Feb 24, 2015@coolrooswag
VTV2: ./plugins/VariableTriggers/scripts/
Earlier Versions: ./plugins/VariableTriggers/
-
View User Profile
-
Send Message
Posted Feb 24, 2015Where do the Custom made scripts saved? No idea
-
View User Profile
-
Send Message
Posted Feb 23, 2015@coolrooswag
For that you can use the <playername> placeholder. So for example adding the line @PLAYER Hello, <playername>! would output "Hello, dragonmcmx!" if I activated the trigger, and "Hello, coolrooswag!" if you activate it.
Another possible use would be in an @IF block, for example like this:
@IF s <playername> = coolrooswag
@PLAYER Welcome back!
@ELSE
@PLAYER You are not coolrooswag.
@ENDIF
This would detect if the triggering player's name is coolrooswag, and output a proper message. I suggest you check out the Place Holders and Script Commands pages for more info.