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 Aug 31, 2013Phantaplan:
Something you may consider is to instead of using a 2 hour timer, with the use of <secondticks:arg1> check each time the area is triggered if 2 hours have passed since the first entry was made into the area.
-
View User Profile
-
Send Message
Posted Aug 31, 2013<<reply 1743076>>
Phantaplan:
The following is my updated thought on your project. I remember seeing VT's timer function but when I gave you my thoughts on this, I couldn't find this mention again in the Docs. It was pointed out to me by Midnightfang22 the other day, so with that, here is my revised thoughts.
1) Create a Timer Trigger (/vte TIMER @CALL... ) script. This script will compare the current <secondticks:> with the variable that has the next reset time stored by using <secondticks:7200> in your reset script. If it's past time to reset then call the reset script.
2) Create a reset script that TPs players out, reset the timer variable with the next reset time <secondticks:7200>, do whatever needs to be done, and then destroy the Player Names Array for a clean start.
3) Create an AreaEntry script that adds a player's name to the Player Names Array when the player enters the area. If the Player Names Array doesn't exist, start a new one.
4) Create an AreaExit script that removes a player's name from the Player Names Array when the player leaves the area.
Create the following triggers;
/vt setarea -- It will ask you to use a bone to click/defign the area boundries.
/vt definearea <areaName>
/vtarea <areaName> ENTER @CALL FileName:AreaEntry
/vtarea <areaName> EXIT @CALL FileName:AreaExit
/vte Timer @CALL FileName:MyTimerScript
If you need help, PM me and I'll see what I can do.
-
View User Profile
-
Send Message
Posted Aug 30, 2013@thejackstur
All of this is in the documentation.
This example code will check if the player clicking the sign has 10,000 and will take it and warp them to "castle" if they do. Replace the warp with any command you want to run instead, and change the amount of money, etc...
Apply this to a click trigger:
-
View User Profile
-
Send Message
Posted Aug 30, 2013@Mrjimmyjon3s1995
Only the sounds in the documentation. There are some listed under @SOUNDEX as well.
-
View User Profile
-
Send Message
Posted Aug 30, 2013how do i do stuff with eco so how do i make it so people have to pay to click a sign and for it to run the command?
-
View User Profile
-
Send Message
Posted Aug 30, 2013@Phantaplan
You might use a plugin like SimpleCommandSchedulerto run your script =)
-
View User Profile
-
Send Message
Posted Aug 29, 2013Hay I was just wondering if you can only use the sounds that are listed or can you use all minecraft sounds?
-
View User Profile
-
Send Message
Posted Aug 29, 2013-
View User Profile
-
Send Message
Posted Aug 29, 2013Hello, is there a possibility of creating a "trigger by click" at an coordinate ? Not with the wand ? Thx !
-
View User Profile
-
Send Message
Posted Aug 29, 2013Hello, I am in dire need of some help.
So I have an area set, and a location set. Lets call them area X and location Y.
So I want this plugin to check if a player is inside area X. If true, it would teleport them to location Y. However, this script would only run once every 2 hours.
Could someone (pretty pretty please) explain to me how I should do this?
-
View User Profile
-
Send Message
Posted Aug 28, 2013@thejackstur
sounds nice, make sure you pop that into the forums
http://dev.bukkit.org/bukkit-plugins/variabletriggers/forum/tell_me/
-
View User Profile
-
Send Message
Posted Aug 28, 2013Hello, it would be awesome if you could add a command /vts (/variabletriggersshoot) so you can shoot a button (or anyblock) and it will execute the command so when you shoot the bow the script line could be "/broadcast <playername> just hit the 10 yard target" and then in my case everyone could see "[broadcast] thejackstur just hit the 10 yard target" thanks for reading this and if you were to add these features that would be really good. So thanks once again, jack
-
View User Profile
-
Send Message
Posted Aug 25, 2013@AncientTom
it would also help to have someone debug spigot issues too, since md_5 is persistent on async blocking ;)
-
View User Profile
-
Send Message
Posted Aug 24, 2013@hangar:
It seems to be obvious that with Lex's long terms of absance from his forums, one would think that he's lost interest in this project. However, He's only one man and apairently pre-occupied with creating the next update. This is really to much for one person to handle. I would offer help if I could but I am not a Java coder and I still have a lot of questions myself. What Lex needs is a team of volunteers to man the forums who really know this plugin and a few good Java coders that understand the MC & bukket APIs to work with him.
-
View User Profile
-
Send Message
Posted Aug 19, 2013@Nikecow
Thanks man, ... yeah I understand this is the cream of custom plugins =)
-
View User Profile
-
Send Message
Posted Aug 17, 2013nevermind, it rounds.
-
View User Profile
-
Send Message
Posted Aug 16, 2013How does the decimal math work on here? Is it rounded or just dropped?
Also if you look at the donation request page its pretty obvious hes working on some type of update.
-
View User Profile
-
Send Message
Posted Aug 16, 2013@Nikecow
Why don't you think it will be maintained (by lex)? :/
-
View User Profile
-
Send Message
Posted Aug 16, 2013I have been using it on my 1.6.2 server for a few weeks, no issues.
-
View User Profile
-
Send Message
Posted Aug 14, 2013@Nikecow
Generally scripting plugins don't go out of date (example: commandhelper works fine and it was updated for 1.2.5..).