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 Jul 31, 2014Please see this file for v1.3.3.1, which is just a couple hotfixes that needed addressing. Thanks :)
-
View User Profile
-
Send Message
Posted Jul 31, 2014@Lyoko_Firelyte
Thank you very much. You could probably borrow the code from /vt delobj minus the reporting to the player and console to make a quiet @DELOBJ. Also the only real value for @DELVAR would be to make it @DELSTR instead. Really, string variables would be the only variable that we need a delete for. The others can be set to "0" or "false" unless you are planning to give us a test that works to determine if a variable actually exists. It would be more practical though, to have a test to see if an object exists before we try to use it. Right now, testing for zero or false is ambiguous in an @IF statement.
-
View User Profile
-
Send Message
Posted Jul 31, 2014I'll take a look at delvar and see why it's having issues, as well as a delobj l
-
View User Profile
-
Send Message
Posted Jul 31, 2014@Lyoko_Firelyte
I just want to add, making @DELVAR to either delete a single variable or make it act as @DELOBJ is not the answer. We need both. @DELOBJ is needed to get rid of the whole object when we are finished with it, @DELVAR is needed to clear a variable, especially in the case of returning a string variable to a zero length in order to start rebuilding it again from scratch. You could even make this @DELSTR to spacifically target strings.
-
View User Profile
-
Send Message
Posted Jul 31, 2014@AncientTom
I agree with AncientTom on this one I removed all my @DELVAR from all my scripts since it seemed to cause several issues.
-
View User Profile
-
Send Message
Posted Jul 31, 2014@Lyoko_Firelyte
Well that makes complete sense. Looks like I got to use to using $. And to think I program in Perl for work. Thanks for waking me up LOL.
-
View User Profile
-
Send Message
Posted Jul 31, 2014@Lyoko_Firelyte
That's what I thought when I was having problems with @DELVAR removing the others attached to an object but I tried it once to delete the whole object as it seemed to be doing and it left the other variables that i was also expecting to be removed . So, @DELVAR is just plain broke. It can't be trusted in either capacity. I did turn a ticket in on this.
-
View User Profile
-
Send Message
Posted Jul 30, 2014@Silversbane
Yes, the symbol used for array variables is @. So it should be @ADDLIST @HardWorld.TeamList
-
View User Profile
-
Send Message
Posted Jul 30, 2014When I run this I get 0 entries in the list. Am I doing something wrong? Let me know thanks.
-
View User Profile
-
Send Message
Posted Jul 30, 2014@AncientTom
Oh, @DELVAR removes the whole thing for you, so you can use @DELVAR s $obj.var
-
View User Profile
-
Send Message
Posted Jul 30, 2014@Lyoko_Firelyte
Please see the p.s. below.
-
View User Profile
-
Send Message
Posted Jul 30, 2014@AncientTom
Oh! My bad, it's a value between 0 and 1, so yeah you'll want 0.2 or so for normal.
-
View User Profile
-
Send Message
Posted Jul 30, 2014@Lyoko_Firelyte
I am using 0.15 which falls within the usage description. I assume that you really mean .15 and not 1.5. It would be nice to have an effect name like CLEAR or RESET just to make sure things are put back to normal.
Thanks.
p.s. The actual spam that the /delobj was sending to the console has now been removed. Thanks. What is left is a confirmation being sent to the console and, I think, to the player running the command. This is perfictly proper for a chat line command request. But when run in a script on a heavily played server, it could end up overloading the console. That's why I am requesting a seperate @DELOBJ and leave the /delobj alone.
-
View User Profile
-
Send Message
Posted Jul 30, 2014I'm having trouble with the new @MODIFYPLAYER command I use it after a TP to another region in a script along with running the new MC /effect conmmand for effects after TPing. The script works in one region but not on the other. I figured that it's WorldGuard regions blocking it with flags but I set a local region to override the GLOBAL region with no success. These effects won't work on one end of the TP.
-
View User Profile
-
Send Message
Posted Jul 30, 2014@AncientTom
I'm not sure what new modifications there are, I thought I covered most of them :P Also, the default speed is 1.5 or so, more close to 2 than 1. As for @DELOBJ, we print the output for debugging purposes so that you know you deleted the correct one.
Edit: I can add in a debug option in the config to turn the outputs off, however
-
View User Profile
-
Send Message
Posted Jul 30, 2014@Gaurav1234
http:dev.bukkit.org/bukkit-plugins/variabletriggers/files/35-variable-triggers-v1-3-3/
-
View User Profile
-
Send Message
Posted Jul 30, 2014From where would one get the legendary VT 1.3.3?
-
View User Profile
-
Send Message
Posted Jul 30, 2014KyadCK is now a tester for VT
-
View User Profile
-
Send Message
Posted Jul 30, 2014I love the new @MODIFYPLAYER command. Is it possible to add modifications for the new 1.7.9 game effects? Also, what would be good to have is @MODIFYPLAYER <playername> REMOVE [comma, delimited, effect, list, (optional)] to put the player back to normal or near normal when it's time to remove the effects. Also, what would be the normal walk speed? I assume that it's 0.1.
-
View User Profile
-
Send Message
Posted Jul 29, 2014Thank you for removing the object names spamming the console each time '/vt delobj' is run. However, I noticed in my console that it is still putting out an acknowledgement line. While this is good for when this command is run from the chat line, when it's run in a script, it becomes intolerable spam. Would it be possible to give us @DELOBJ that doesn't spam the console?