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 Feb 12, 2015@AncientTom
Ah yes, VTV2 creates a lot of new files so it would probably have used ownership from whatever account you ran the server with. Glad you got it fixed :)
-
View User Profile
-
Send Message
Posted Feb 12, 2015@Lyoko_Firelyte
Never mind. When I renamed the directories, it also changed all file ownership to root. I changed it back again and everything works fine. Interestingly enough, When I chowned all the files back, a problem with my door scripts went away also.
-
View User Profile
-
Send Message
Posted Feb 12, 2015@Lyoko_Firelyte
When I upgraded to VT2, first I backed up the whole VT directory. Then I restarted the server and VT2 did it's thing. When going back to 1.3.3.1, I backed up the whole VT2 directory and renamed the original backup to VariableTriggers again. So, nothing has been changed in the directory.
ALso, more in the ticket. :D
-
View User Profile
-
Send Message
Posted Feb 12, 2015@AncientTom
Well, VTV2 has a completely different file directory setup... did you move everything back to the "put it all in one folder" method?
Also, I replied to your ticket >:D
-
View User Profile
-
Send Message
Posted Feb 12, 2015@RaycusMX
The same Rightclick and Leftclick events happen no matter what you are doing and with what. I am using these event triggers in one of my scripts, myself. When I enter a script that uses these events, I set a boolean variable named with the name of the script that is anticipating that event's happning. Then when a RightClick or LeftClick happens, my event handler script will test if this flag is set. If so, it calls the script that will handle this function. Otherwise, it exits without doing anything.
Probably a better way for you would be to test for what is in hand, like a bone or stick, and make that the @IF statement's condition to call the functional script. Or best, use both an enabling flag and the in-hand item using a @IF and @AND.
-
View User Profile
-
Send Message
Posted Feb 12, 2015I just moved back to VT1.3.3.1 and now it won't load variables and triggers and at least one of my script files isn't loading. ????
-
View User Profile
-
Send Message
Posted Feb 12, 2015Report a bug. It seems that something is wrong with EventTriggers LeftClick and RightClick . I wrote two scripts for testing. If I rightclick it will tell me "right" and leftclick tell "left". It worked perfectly when I just leftclicked or rightclicked. But when I rightclicked with a hoe to till a dirt, it tell "right" and "left" each. The same thing happened when I planted a seed. And another thing, RightClick event won't be triggered if I rightclick with nothing in hand.
-
View User Profile
-
Send Message
Posted Feb 11, 2015@AncientTom
It's formatted like that because of the <playerloc:x>, <playerloc:y>, and <playerloc:z>. I wanted "playerloc" to be the base so it was easier to remember. Adding <playerloc:world> made more sense with the previous placeholders from the older version.
Edit: Replied to your ticket. (I wish those e-mailed me).
-
View User Profile
-
Send Message
Posted Feb 11, 2015@Lyoko_Firelyte
<playerloc:world> is rather confusing. Wouldn't it be better to just name the new placeholder <playerworld> without an arguement sense it will always be world?
Thanks for your prompt reply.
-
View User Profile
-
Send Message
Posted Feb 11, 2015I just tried VT2.0.2. VT2 failed to port all my triggers to the new directory. While V2 seems to be running, none of my triggers are present in game. I can't tell if my scripts were even loaded because the new command format to view sscipts doesn't work either.
Please see my ticket on these problems for a detailed discription.
-
View User Profile
-
Send Message
Posted Feb 11, 2015@AncientTom
Not much will break. See the update page for details on what is removed and changed. You can still use the old methods for a lot of things, such as @SETSTR even though V2 accepts @SET for all data types. As for the placeholder, you literally type the word 'world' to get their world.
-
View User Profile
-
Send Message
Posted Feb 11, 2015@KyadCK
I was looking over your new placeholders document and ran across "<playerloc:world> Returns the world of the triggering player". What is the purpose of the arguement of "world" if that is what it returns?
-
View User Profile
-
Send Message
Posted Feb 11, 2015I have thousands of lines of scripts. Will I have to go through each line in order to have my scripts work with VT2? Can you give us a list of what has been depricated and what commands have changes in them to help us with the transition to VT2?
-
View User Profile
-
Send Message
Posted Feb 10, 2015http://dev.bukkit.org/bukkit-plugins/variabletriggers/pages/vtv2-documentation/placeholders/
It begins...
And will probably take a very long time. I will update them, even as a WIP, every night that I add to them from now on. Please feel free to let me know if any descriptions are confusing. The goal of documentation is to make things easier for someone new to understand and to refresh the memory of someone old.
If something makes no sense, or if you think it could use some extra explaining, send me a PM with the things in question and your recommendations.
-
View User Profile
-
Send Message
Posted Feb 10, 2015If I want to in real time every day through the console automatically run the script (via TimeCommand plugin), but suggest that only by the game player to run the script, may I ask how to solve?
-
View User Profile
-
Send Message
Posted Feb 9, 2015Sorry, guess I should clarify what I'm trying to. Got a custom sound in a resourcepack and am using ' /vtw add @CMD playsound custom.*sound* @p ~ ~ ~ 1 1 1'. As said previous, its only activated when the location is either clicked or a block is placed on it. Forgive me if i appear the dullard but I've barely any scripting skills whatsoever!
-
View User Profile
-
Send Message
Posted Feb 9, 2015Cool, thanks for that.' /vtc add' works fine however '/vtw add' does not activate when walked on but strangely when you click or place something on the location block. Is there a script like the commandblock output false, to stop on screen messages when I use @CMD to get the /playsound command for a custom sound? Not really good for adventure maps old bean.
-
View User Profile
-
Send Message
Posted Feb 9, 2015@chunkimunki1
/vtclick add <script> and it should ask you to use the bone.
-
View User Profile
-
Send Message
Posted Feb 9, 2015HI, in v2.0.2 the vtclick/walk commands are not working for some reason.
-
View User Profile
-
Send Message
Posted Feb 9, 2015Both of you are awesome :D . Really good job. However, sorry my english. I cant understand KyadCK's says. I read Your text about loop and while. I accept responsibility of using while. As a result that Can I turn on advancedmode. Please your answer can be simple Thanks. :)