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 23, 2013Is there a way to make <hasitem:PLAYER:ITEMID> accept item id's and their damage values? I'm using custom items on my spout server and it doesn't work well with them.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@midnightfang22
Eeeh.. I use Libigot 1.5-R0.1 and everything works just fine, except for the error that sometimes pop up. But besides that, it works fine.
I have another question. When i spawn an skeleton with VT it doesnt have a bow lol.
And can you make it so that you can spawn a ZOMBIE:BABY
That would be really awesome.
-
View User Profile
-
Send Message
Posted Mar 23, 2013I don't want to live in a world without Variable Triggers :(
God Speed Lexlaiden!
@CMDOP potion dig-speed 2 lexlaiden
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Nikecow
Its broken then until the author gets back for those spigot builds :/... Time for the waiting game I suppose.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@midnightfang22
From what I can tell, Spigot really stepped up their code against async calls in their latest builds breaking the plugin even more. Here is the thread and here is the commit.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@John__B
Make a ticket with the error, its probably going to stay bugged until sometime in April, though. Its most likely because some of the threads have to be moved to the main thread instead of being asynchronous like they are now.
-
View User Profile
-
Send Message
Posted Mar 23, 2013EDIT: correction... the world change event used with VT, is broken in spigot build #718 and above.
Ill make a ticket here, but im also seeing if spigot will change that too.. well see what happens..
-
View User Profile
-
Send Message
Posted Mar 23, 2013@midnightfang22
I will look it. Thanks.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Brocodo
You have to change the "file:script" to a real file that contains a real script name, but yes that is what it does. Also, the error is probably the bug that needs to get fixed... Don't see why that would give an error on occasion otherwise.
@JackFastGame
something like this would work to add cooldowns per-player:
That will save a number (of the amount of seconds at that time) to a variable that varies for each different playername. This "cooldown" adds 15 seconds before they can use this script again.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@midnightfang22
Thanks for the answer. So with the /vt run file:script [name] i can run a script for the player [name]?
This is the script that gives me the error sometimes.
-
View User Profile
-
Send Message
Posted Mar 23, 2013"you mean 2 players activate it at the same time, or they can activate it before the time is up?" 2 players activate trigger at the same time. This is a big problem for me. What to do with @COOLDOWN?
-
View User Profile
-
Send Message
Posted Mar 22, 2013@Brocodo
If you don't need an argument after the trigger (like /poofatplayer here), then you can use "/vt run file:script Brocodo" and it will set what you put where "Brocodo" is as the triggering player, but it won't work if you need any arguments after the command. Its not entirely what you want, but its a partial existing answer.
Also, what is the script? It might be the bug that has been around for a while and it might just be the script. The author is busy until mid-April so he can't add/fix features or bugs for now. I'm guessing that the script is trying to use @POOF, @SMOKE, @SOUND, @SOUNDEX, or @FLAMES from the error, correct?
-
View User Profile
-
Send Message
Posted Mar 22, 2013I have this error sometimes when i walk over a walktrigger.
9 times out of 10 it works fine, but sometimes it doesnt work and trows me this error:
23.03 00:53:22 [Server] SEVERE at java.lang.Thread.run(Unknown Source)
23.03 00:53:22 [Server] SEVERE at com.wizardscraft.scripting.ScriptInterpreter.run(ScriptInterpreter.java:260)
23.03 00:53:22 [Server] SEVERE at com.wizardscraft.scripting.ScriptInterpreter.Interpret(ScriptInterpreter.java:1672)
23.03 00:53:22 [Server] SEVERE at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:859)
23.03 00:53:22 [Server] SEVERE at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:870)
23.03 00:53:22 [Server] SEVERE at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:882)
23.03 00:53:22 [Server] SEVERE at org.bukkit.craftbukkit.CraftWorld.getPlayers(CraftWorld.java:732)
23.03 00:53:22 [Server] SEVERE at java.util.ArrayList$Itr.next(Unknown Source)
23.03 00:53:22 [Server] SEVERE at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
23.03 00:53:22 [Server] SEVERE java.util.ConcurrentModificationException
23.03 00:53:22 [Server] SEVERE Exception in thread "Thread-867"
-
View User Profile
-
Send Message
Posted Mar 22, 2013Can you please add the feature to allow CommandTriggers to come from the console.
And that you need to specify for what player the command is for. So i can connect 2 different plugins together. (Quester and vt). Example:
Quest Began -> ConsoleCommand runs -> /vtconsole /[CommandTrigger] [Playername]
Then the script that is assigned to the [CommandTrigger] will be executed for the player [playername].
So my quest plugin will run /vtconsole /poofatplayer %p
(%p is the player beginning the quest)
Then the commandtrigger /poofatplayer will execute the script in the name of %p
For example: @POOF 3 <playerloc>
So in general my question is if you could add an option to make a commandtrigger be able to run a script for a player, but it executed via console. Then you could make a lot of combinations with other plugins.
Thanks for reading :)
-
View User Profile
-
Send Message
Posted Mar 22, 2013How can i make an event be triggered in every world and not just world:
-
View User Profile
-
Send Message
Posted Mar 22, 2013@AlexSmith49
Just use the normal color code for in-game minecraft.
-
View User Profile
-
Send Message
Posted Mar 22, 2013IS there any way to have the text be colored with the @PLAYER [message]?
-
View User Profile
-
Send Message
Posted Mar 21, 2013Any way we can get a PlayerBucketFillEvent trigger added so we can give a chance for someone to scoop up a fish with a freshly-filled water bucket?
-
View User Profile
-
Send Message
Posted Mar 17, 2013@mrbuddy13
You would have to have a command from another plugin that already does this and then use @CMDOP or @CMDCON to run the command on that player. However, once bukkit adds the 1.5 commands in, then you can use the /effect command and specify a time, but it would be hard to time until they log off...: http://www.minecraftwiki.net/wiki/Commands One way to try and keep a constant effect would be to use the Timer event (it runs every 60 seconds) and then make an array list (basically a long list of strings that you use @LOOP to grab all of the names) of online players and then have it re-give the effect to all players on the server every 60 seconds and have the timer last 65 seconds.
-
View User Profile
-
Send Message
Posted Mar 17, 2013I really do love this plugin! I am new to this so forgive me if I made a noob mistake. I am wanting to have a command that add potion effects to the player, but keep them on until he logs off (also it automatically adds the effects/no throwing potions). I know there is a placeholder that deals with potions but It only works if they have a potion effect already. Can someone help me out and point me in the right direction?