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 25, 2013@xBladeM6x
ENTER and EXIT for the area script parts
-
View User Profile
-
Send Message
Posted Jan 25, 2013Is there a way to use a VT area to add a permission to someone while they're in a area defined by Variable Trigger, and then take it away if they leave?
-
View User Profile
-
Send Message
Posted Jan 25, 20131. Is there anyway to replace mobs sounds to some from @SOUNDEX?
I Mean Idle and hit sounds.
2. Is there anyway to make script run when someone use item with some ID.
For example: run script when someone hit another person with gold sword.
-
View User Profile
-
Send Message
Posted Jan 24, 2013Any news on a fix for the script errors (on the console)? Most of my server runs on these scripts which now aren't working. I appreciate that it probably isn't a simple fix, so thanks in advance :)
-
View User Profile
-
Send Message
Posted Jan 24, 2013As always, the tekkit advocate here.
So everything works flawlessly in the new tekkit, except for command triggers.
The plugins are run through the ForgeBukkit mod as Tekkit didnt stick with bukkit. any chance this is getting fixed?
-
View User Profile
-
Send Message
Posted Jan 22, 2013The @ENTITY SKELETON still doesn't spawn skeletons with bows :/ is there a fix for that?
-
View User Profile
-
Send Message
Posted Jan 21, 2013@lexlaiden
Yea I get it now, thanks for the help everyone. My only remaining question is if I can increment or decrement a variable I made in this mod with another through vault? Like decrease the amount of fire tips (on arrows) they have each time they fire a fire arrow when the mod im using supports vault (to charge money per arrow).
-
View User Profile
-
Send Message
Posted Jan 21, 2013@Wolf314151
You have Place Holders
and then you have Functional Place Holders
-
View User Profile
-
Send Message
Posted Jan 21, 2013@SheerAwesomeness
My goodness I keep thinking the placeholders section is just for things like <playername> not functions. Thanks :P
-
View User Profile
-
Send Message
Posted Jan 21, 2013I'm getting a similar error to Mavhill: 21.01 14:06:05 [Server] SEVERE at java.lang.Thread.run(Thread.java:722) 21.01 14:06:05 [Server] SEVERE at com.wizardscraft.scripting.ScriptInterpreter.run(ScriptInterpreter.java:260) 21.01 14:06:05 [Server] SEVERE at com.wizardscraft.scripting.ScriptInterpreter.Interpret(ScriptInterpreter.java:1164) 21.01 14:06:05 [Server] SEVERE at com.wizardscraft.scripting.ScriptInterpreter.run(ScriptInterpreter.java:260) 21.01 14:06:05 [Server] SEVERE at com.wizardscraft.scripting.ScriptInterpreter.Interpret(ScriptInterpreter.java:337) 21.01 14:06:05 [Server] SEVERE at com.wizardscraft.scripting.ScriptInterpreter.Interpret(ScriptInterpreter.java:337) 21.01 14:06:05 [Server] SEVERE at com.wizardscraft.scripting.ScriptInterpreter.Interpret(ScriptInterpreter.java:345) 21.01 14:06:05 [Server] SEVERE at com.wizardscraft.dataclass.VarIf.Test(VarIf.java:215) 21.01 14:06:05 [Server] SEVERE at java.lang.String.<init>(String.java:154) 21.01 14:06:05 [Server] SEVERE java.lang.NullPointerException 21.01 14:06:05 [Server] SEVERE Exception in thread "Thread-41" I've opened a ticket for it. Thanks :)
-
View User Profile
-
Send Message
Posted Jan 21, 2013@Wolf314151
There is Indeed, it is also in the functional placeholders page! <random1to:argument> argument being the max number For example if you would like a 1 in a 100 chance of this happening, you could set the BlockBreak Event as @IF i <random1to:100> = 1 #and place the script underneath# Hope this helps!
-
View User Profile
-
Send Message
Posted Jan 21, 2013@Wolf314151
you can make a ObjVar per player that states whether they're online or not and just do a check per command for the boolean.
something like
onjoin @SETBOOL $<playername>.isOnline true
onleave @SETBOOL $<playername>.isOnline false
-
View User Profile
-
Send Message
Posted Jan 21, 2013@midnightfang22
Wow thanks for the quick response. I know it hooks into vault -> money, I hope it's variables can hook into mods as well.
And my last question was if there was a function for random. So if a specific block breaks there is a random chance to spawn a skeleton.
Thanks :D
-
View User Profile
-
Send Message
Posted Jan 21, 2013@Wolf314151
1. I don't think this can hook into any other plugins at the moment. I could be wrong since I haven't looked into that.
2. http://puu.sh/1QIgd Its inside the "Functional Placeholders" link on this page.
3. Yes
4. The Event Triggers are per-world. You would have to add the event on every world for it to be global. Its nice for simple per-world setups, but it can get a little annoying when trying to apply it everywhere.
5. what?
-
View User Profile
-
Send Message
Posted Jan 21, 2013Can I call a variable through vault like I would money from an economy plugin. Example I have a variable called fireArrows and everytime someone shoots them one is subtracted (the mod that allows fire arrows can hook into vault to charge someone money per shot).
Also, how can I get the amount of (example) lapis Lazuli in a players inventory. There doesnt seem to be a command for that.
Are variables 'global', that is, if I use them in one script can I call them in a completely different kind of script.
One more thing, I noticed if I have a Join it only exists in that one world. How can I make it so the script exists for all worlds?
Apparently i lied, random function???
-
View User Profile
-
Send Message
Posted Jan 20, 2013Hi,i have a problem. I have a script [/vtclick @CMDCON perm player setgroup <playername> test] But only group admin can use this click. all other groups cant use this click. where is the problem? All groups have those permissions:
Found the problem, if permissions.build: false nothing will work.
-
View User Profile
-
Send Message
Posted Jan 19, 2013Hi, i've recently tested your plugin, so let me tell you, what a great job! as you said, the possiblities are endless :). Thanks for this amazing plugin, I will enjoy coding some quests hehe.
-
View User Profile
-
Send Message
Posted Jan 19, 2013Hats off to midnightfang22 for his outgoing aditude in always tying to help others whit VT
Thanks midnightfang22
-
View User Profile
-
Send Message
Posted Jan 19, 2013@Mavhill
I think I know what this is. Will have to write a fix for it when I have time. I haave seen it a few times over the last 5 months.
-
View User Profile
-
Send Message
Posted Jan 18, 2013I did something wrong?
not the first time ive seen this it popped up twice now 2013-01-18 21:33:31 [SEVERE] Exception in thread "Thread-49"
2013-01-18 21:33:31 [SEVERE] java.util.ConcurrentModificationException
2013-01-18 21:33:31 [SEVERE] at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
2013-01-18 21:33:31 [SEVERE] at java.util.ArrayList$Itr.next(Unknown Source)
2013-01-18 21:33:31 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftWorld.getPlayers(CraftWorld.java:627)
2013-01-18 21:33:31 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftWorld.playEffect(CraftWorld.java:777)
2013-01-18 21:33:31 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftWorld.playEffect(CraftWorld.java:750)
2013-01-18 21:33:31 [SEVERE] at com.wizardscraft.scripting.ScriptInterpreter.Interpret(ScriptInterpreter.java:1507)
2013-01-18 21:33:31 [SEVERE] at com.wizardscraft.scripting.ScriptInterpreter.run(ScriptInterpreter.java:260)
2013-01-18 21:33:31 [SEVERE] at java.lang.Thread.run(Unknown Source)