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 Jan 7, 2013A Tekkit version!!
I am eternally grateful, as this plugin is amazing: however- Tekkit 'classic' has prettymuch just died.
The new version is Tekkit Lite, which is updated to 1.4.6 and currently does not have built-in plugin support.
People are using Bukkitforge to enable plugins, but I suspect it will get more stable & less "work-around" as tekkit lite begins to get a foothold.
Your VT version (tekkit and non-tekkit) marginally work through bukkitforge. I am getting constant cannot record EntityDeath errors in console and Command triggers seem not to be working.
Let me know if you would like more details and I'll provide.
-
View User Profile
-
Send Message
Posted Jan 7, 2013@PuffinMuffin
I do this by giving certain groups erroneous permission nodes, like spout permissions on a non spout server. They'll do nothing in game, because of not using spout client, but VT can detect whether the player has the perm or not, still.
@IF b <haspermission:Erroneous.Spout.Permission.Node.Here> = true
@PLAYER Do Something Here
@ENDIF
Keep in mind this will only check to see if the player who triggered the event has the permissions node.
-
View User Profile
-
Send Message
Posted Jan 6, 2013Absolutely breathtaking plugin, huge potential is an understatement. Messing around the the plugin however, I have one question. Is it possible to have a trigger only activate for a chosen group/permission? I know there are nodes for different ranks on a server but could you do it for, say, a list of players? Any help is appreciated!
-
View User Profile
-
Send Message
Posted Jan 6, 2013I LOVE THIS PLUGIN !!!!
-
View User Profile
-
Send Message
Posted Jan 6, 2013@xiamix
@midnightfang22 Something like this may make sense for the situation. This is all written off the top of my head so please error check before using this on a server.
<<code>>@SETINT $<this>.args <cmdargcount> @SETINT $<this>.doWhile 0 @WHILE $<this>.args <= $<this>.doWhile @SETSTR $<this>.arg<var:$<this>.doWhile> <cmdarg:$<this>.doWhile> @ADDINT $<this>.doWhile 1 @ENDWHILE
<</code>>
then each arg can be listed as $<this>.arg# or the objvar could be changed to reflect more information like $commandname.arg#
-
View User Profile
-
Send Message
Posted Jan 6, 2013@bzahwhq
That is actually right below the inventory section of the functional place holders. "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>"
@xiamix
Long way but it works :/. Also, do you mean '@SETINT $some.number 3'?
-
View User Profile
-
Send Message
Posted Jan 6, 2013Hi, could you create a place holder like <cmdargs:2:6> or something like this to take all arguments from 2 to 6, so you could also use <cmdargs::6> to use all arguments before the sixth. also <cmdarg:6:> would take all command arguments from the 6th one.
And if you got too much time could you create for the event triggers something like '*' that would mean in all worlds. Thank you for creating this great plugin.
PS: If you create some of this ideas, could you please put it in a Tekkit update? I use tekkit and I like the fact that you update your plugin for tekkit versions.
Thanks again :) :) :)
EDIT: if you could create a script command like '@RELINT $value' that changes the value of 3,1565 to 3 (example) :D
-
View User Profile
-
Send Message
Posted Jan 5, 2013How can i choose the data type ? <hasitem:PLAYER:ITEMID> I want to check brewing potions but can't find the correct format.....
-
View User Profile
-
Send Message
Posted Jan 5, 2013Just a reminder!
The most recent upload is an update for Tekkit users ONLY. If you are using this version of VT and are not on Tekkit then DONT. It may seem to wrok fine for you, but eventually it will cause you problems. The @PLAYER, @TELL and @BROADCAST on this version for Tekkit are not using the async event that bukkit requires.
Bukkit users need to download v1.2.2 NOT v1.2.2.Tekkit
-
View User Profile
-
Send Message
Posted Jan 5, 2013Hi, is there any way i can create a script that will recognise when a player reaches an xp level (EG. 1,2,3 etc.) and when they do it runs the command /pex promote <player> ?
-
View User Profile
-
Send Message
Posted Jan 5, 2013@RSGTechno
Most simplistic way would be to do "/vtcmd vote @PLAYER Vote Here! http://www.someurl.com" and its done. A lot more you can do with it, however.
-
View User Profile
-
Send Message
Posted Jan 4, 2013If I wanted to do @player <message> for the custom command /vote...Could I make it that it appears like so:
Vote Here! bit.ly bit.ly bit.ly bit.ly
How would I go about creating a script for that?
-
View User Profile
-
Send Message
Posted Jan 3, 2013@Byamarro
And a deleteNearbyEntities would be awesome too.
-
View User Profile
-
Send Message
Posted Jan 3, 2013When i use @CMDOP to run custom command - it don't works.
-
View User Profile
-
Send Message
Posted Jan 3, 2013Is there any functional place holder that gets the CURRENT and not the total EXP of a user? I had a script made, an expbank, and I was stupid enough to get the current exp with <totalexp:> , now that I realized that too many users knew about this bug I had to Mapreset. So is there any workaround for this?
-
View User Profile
-
Send Message
Posted Jan 2, 2013"PlayerNearLivingEntityEvent Called every half a second when a Player is near a LivingEntity"
It could be awesome
-
View User Profile
-
Send Message
Posted Dec 30, 2012@garrick52
Thank you SO much!!
I can't believe I never even thought about these two things. I'm just started to get into complex triggers as I'm fairly new to VT. Just starting to learn how powerful this thing is.
I'mma get started on these things.
Thank you, once more.
-
View User Profile
-
Send Message
Posted Dec 29, 2012@ImaGe_
I think what midnight meant for the pause thing was to make a vtcommand that does something like @SETBOOL $<playername>.confirmed true
then on the sign command after the pause @IF b $<playername>.confirmed = true <do stuff> @SETBOOL $<playername>.confirmed = false (for next time) @ELSE <don't do stuff, tell player it timed out, etc.>
If you don't want the /yes command to do anything unless the player clicked the sign recently, then at the top of your sign click script, add something like @SETBOOL $<playername>.clickedSign true and have the /yes command check to make sure clickedSign is true before it sets confirmed to true... Then you just have to make the clicksign trigger set clickedSign to false after the @PAUSE
Make sense? Kinda? :P
Also, for the simple math... use temp variables. @SETINT $<playername>.Killtemp $<playername>.kills @DIVINT $<playername>.Killtemp $<playername>.deaths @PLAYER Your KDR is $<playername>.Killtemp @DELVAR i $<playername>.Killtemp only the temp variable gets modified (then deleted)
-
View User Profile
-
Send Message
Posted Dec 27, 2012@midnightfang22
I don't want it to run when it times out, only when they type /yes.
As far as the simple math, the @INT stuff actually changes the integers and for what I'm trying to do with it, it can't.
I guess I'll have to try out a plugin for the virtual chest things unless it's available or they implement it. Which would be pretty sweet. haha. But thank you for the reply. Happy holidays!
-
View User Profile
-
Send Message
Posted Dec 27, 2012@Dinastya
I have tested and Quit works fine. Is anyone else having a problem with the Quit event??