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 28, 2014@Lyoko_Firelyte
Yes, I took a one of these backups, but it was kinda old. Some hours were wiped, some players were frustrated.
-
View User Profile
-
Send Message
Posted Jul 28, 2014@H8llfire
I'll look into this. However there is a backup folder with various saves, it might still be there :)
-
View User Profile
-
Send Message
Posted Jul 28, 2014The latest 1.3.3 is still not working for me.
23:46:35
CONSOLE:
[ERROR] [VT] [1;31mScript Error: Trigger: world_Quit Script: events:quit Line 1 - - Unknown command //Warten[0;37m
Also weird, it prints this error on join. No idea why it would print Quit?
Edit: nice, it also wiped my vardata. Lost some hours for some players...
-
View User Profile
-
Send Message
Posted Jul 28, 2014Wow you changed the menu.Good job i like it :)
-
View User Profile
-
Send Message
Posted Jul 27, 2014@Gaurav1234
Hehe... It does! It works when you click, be it block air or void. :P
Well, in 1.3.3 anyway.
-
View User Profile
-
Send Message
Posted Jul 27, 2014I know the click trigger is called only if someone clicks that block, but is there a way to make it so that no matter what block someone clicks it calls a script?
Thanks!
-
View User Profile
-
Send Message
Posted Jul 27, 2014@RaycusMX
Once 1.3.3 gets approved there is a fix for that ;)
-
View User Profile
-
Send Message
Posted Jul 27, 2014@AncientTom
@obj.var is an array list.
@PLAYER @obj.var will show how many things are in the list
@PLAYER @obj.var[0] will show the first thing in the list
@PLAYER @obj.var[1] will show the second thing, etc
@IF @ player.list ?= WinneonSword will see if WinneonSword is inside @player.list. Yes there is a space.
-
View User Profile
-
Send Message
Posted Jul 27, 2014@Lyoko_Firelyte
I have been perusing your documentation for 1.3.3 Array Lists again and the last line, "Also check if something is in the list with @IF @player.list ?= WinneonSword" is a bit confusing. If @player.list is an integer of how long the list is, then how does this command search the whole array?
-
View User Profile
-
Send Message
Posted Jul 27, 2014@Lyoko_Firelyte
So, is what you are saying @ADDLIST starts pushing data onto the Array beginning with index [0] now and not [1]?
-
View User Profile
-
Send Message
Posted Jul 27, 2014@Lyoko_Firelyte
Hello! I found a problem with @ENDSWITCH. If I write an @ENDSWITCH after an @IF and run the script, the @IF will be ignored. Here is an example:
Absolutely, this script means I can't see "Hello!" in any case. But if I make some little changes:
I will see "Hello!". Is it a bug?
-
View User Profile
-
Send Message
Posted Jul 26, 2014@mike_x1
Yeah I suppose you could code something odd for that....
So here's a block you could call when you want to "pause". Loop it in whichever way feels better.
Have this where you want to pause in the main script
And finally listen for the command you want to go off, but set the override to false.
Not sure how you'd end the loop, but it's a start?
-
View User Profile
-
Send Message
Posted Jul 26, 2014I've uploaded a different jar for VT, the 1.3.3 I had in the queue for approval had some MYSQL issues and possible CPU increase issues. Please let me know if this version is still killing your CPU, and send any stacktraces! :)
-
View User Profile
-
Send Message
Posted Jul 26, 2014@AncientTom
Like, we can pull the value "Hugh_Jasses" by using the index 0. I use it as a name not intending for it to be a joke :P And no, @FORK is just a silly little easter egg I put in for laughs.
-
View User Profile
-
Send Message
Posted Jul 26, 2014@Lyoko_Firelyte
I see. Then, what do you mean by "We can pull Hugh_Jasses with the index of 0 now"?
Also, is there a description for the use of the new command, @FORK?
-
View User Profile
-
Send Message
Posted Jul 26, 2014Tom, it's a play on words but it is also my minecraft username (a friend made my account years ago) so I tend to use it in my examples.
-
View User Profile
-
Send Message
Posted Jul 26, 2014I asked this before and the term was joked with, including by me, about the term "Hugh_Jasses". What this term brings to my mind is some fat nude person, back turned and bent over, mooning us with their Hugh Jasses.
Since it's used formally in the description for Array Lists, "We can pull Hugh_Jasses with the index of 0 now", I would appreciate if someone would actually define this term for all who haven't heard it before or better explain what we can do with @Obj.var[0]. (No, I will not shove it up my Hugh_Jasses.)
-
View User Profile
-
Send Message
Posted Jul 26, 2014Is it possible to pause a script until a specific command from another plugin is executed?
-
View User Profile
-
Send Message
Posted Jul 25, 2014@Silversbane
I have had a few rounds with this issue myself causing me a lot of wasted time. While @SETINT 0' is effective, when it comes to strings '@SETSTR 0' does not reset it to a null string, it resets the string to a character of "0". You might as well just leave it alone. The only reason I truly need @DELVAR is to reset the string to zero length before I enter a loop to start building it anew, one character at a time.
I do use /vt delobj to delete the object of local variables used within a local script after it completes it's task. I thank the VT team for removing it's console noise that was left in it for troubleshooting purposes. I hope that they consider creating @DELOBJ for proper in-script use of this function.
-
View User Profile
-
Send Message
Posted Jul 25, 2014@Silversbane
I just looked at your videos. I like your game being just a simple Forrest biome with an advanced theme. I was wundering what effects of the mobs are natural and what are script driven. I would love a detailed description of your work on your game. You made me realize that I have to reconsider what I am doing and start adding more advanced natural surviver challenges to my game. you can PM me, AncientTom here on Bukkit.