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 30, 2013Hi, is there a way to block chat output, say, if I used @CMDOP, to worldedit something, the user would get "Position 1 set", "Position 2 set", "cut blocks" etc. Is there a way to prevent the user getting these messages?
-
View User Profile
-
Send Message
Posted Mar 29, 2013@midnightfang22
Okay, thanks, dude. That really sucks, though D:
-
View User Profile
-
Send Message
Posted Mar 29, 2013@ImaGe_
I can't figure out a way to do it with current features, so it probably has to be added.
-
View User Profile
-
Send Message
Posted Mar 29, 2013Is there any way to see if there's an enchantment on a specific item?
For example, I want /test to check my inventory for a Sharpness I sword, if I have it, it tells me I have Sharp 1.
@IF b <hasitem:<playername>:276 16,1> = true
@PLAYER Sharp 1
16 is the enchantment, 1 is how high it's enchanted (this is not my doings, it's essentials, I believe).
-
View User Profile
-
Send Message
Posted Mar 29, 2013@midnightfang22
I have the SpamGaurd plugin and have commands set to a 500ms delay, and the same with chat. I will try that. Thanks :D
-
View User Profile
-
Send Message
Posted Mar 28, 2013@mcredstonepro
use "/vtarea AreaNameHere ENTER @CMDCON give <playername> 89 1" as an example for using a command from the console. You might want to add some kind of safe-guard or a check so the player can't simply spam the command over and over by entering and leaving the area too.
-
View User Profile
-
Send Message
Posted Mar 28, 2013I am trying to make an infected type server. I already have all the plugins that I need, but am having a little trouble with VariableTriggers. I need help with the Area Triggers part. How can I make it so when ever a player enters a specific area, it will execute a command with arguments from the console? If you would like to see what I am trying to do, please go on deadlife.no-ip.org
Would these work?
/vtarea void EXIT @CMDCON kill <playername> When player attempts to exit my area named as "void", it kill kill them. Please tell me if this is right or if I am missing something.
/vtarea spawn ENTER @CMD infected join When a player logs in, they are automatically teleported to the spawn point
-
View User Profile
-
Send Message
Posted Mar 26, 2013@AdvragePcGamer
/vtc @CMDCON manuadd <playername> member
or
/vtc @CMDOP manuadd <playername> member
for the simplest way to do it. The only difference between the two is @CMDCON has the console run it and @CMDOP has they player run it as a fake op.
-
View User Profile
-
Send Message
Posted Mar 26, 2013Hello I have been having truble with commands Like adding click and its very confusing, Can you show a example of a click trigger please Im trying to make it like this
I want players to click a sign to become member, /manuadd <player> Member
Please help!
-
View User Profile
-
Send Message
Posted Mar 26, 2013@Nikecow
that commit, 717 works, its 718 and up that it dosent work it
-
View User Profile
-
Send Message
Posted Mar 26, 2013@JackFastGame
Hey! Very cool, i also am making something with this awesome plugin.
I'm making a Dungeon Quest with triggers that spawn mobs and some puzzles.
In combination with the plugin Quester you can really create awesome things.
But i have a question for you. How did you add potion events happen to triggers?
-
View User Profile
-
Send Message
Posted Mar 25, 2013Thank you, you are great helper!
Can you see this video? I made DeathRun server, and it based on VariableTriggers!
http://www.youtube.com/watch?v=wmlDUcMvq7M&list=UUSraBM4GiHoUdHWvE5M0XmA&index=1
-
View User Profile
-
Send Message
Posted Mar 24, 2013@JackFastGame
Take your pick. Put whatever you want to only run once within the @IF and @ENDIF. You can literally name the variable anything, as long as it is consistent for the entire script in its usage.
@Brocodo
Known. Can't do anything about it until the author gets back. The issue is @SMOKE for your particular error, I think.
-
View User Profile
-
Send Message
Posted Mar 24, 2013I have a very serious bug. Sometimes a script doesnt run the whole script, and stops at a random script line. Then i get this error in the console:
-
View User Profile
-
Send Message
Posted Mar 24, 2013Give an example of this "variable", please. (Yes, i am noob...)
-
View User Profile
-
Send Message
Posted Mar 24, 2013@JackFastGame
It broke on spigot builds 718+ apparently, but seems to still working on craftbukkit at the least. Also, for scripts to run once, all you do it test for a variable and then change the default value to something else once someone runs the script.
@Brocodo
It might or might not; depends on how often that script gets used, I think. Someone else can answer that since I get that once in a blue moon while others get it more often.
-
View User Profile
-
Send Message
Posted Mar 24, 2013I get this error sometimes, does it do any harm?
-
View User Profile
-
Send Message
Posted Mar 24, 2013Also, plugin works on 1.5? Really?
-
View User Profile
-
Send Message
Posted Mar 24, 2013You misunderstand ... Some players activated trigger at the same time, but trigger activated some times, i need, that trigger activate 1 time.
-
View User Profile
-
Send Message
Posted Mar 24, 2013@donsavage1
"If you need to specify an ID such as Blue Wool 35:3 then you will need to do it with a variable like @SETSTR $obj.var 35:3 and then <hasitem:<playername>:$obj.var> or <takeitem:<playername>:$obj.var:20>"