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 Oct 29, 2012@Lostferret13
Works the same. Remember that when respawn is fired depending on 1/8 sec lag or more for players that anything you try to do directly to players position and other stuf that is dependent on the player being completly respawned may not work yet. so its best to give a @PAUSE 2 or so before you attempt to do something to the player respawning.
-
View User Profile
-
Send Message
Posted Oct 28, 2012how do i get Respawn to call a script? using Tekkit, so v1.4 of VT.
i've tried /vte Respawn @CALL [file:script]
but it hasnt worked. it did work with /vtclick @CALL [file:script]...
-
View User Profile
-
Send Message
Posted Oct 22, 2012@Dinastya You can simulate Decimals with Integers with some super sweet looping bro. my recommendation would just be to multiply everything by 100 or something to make it easy on your self.
but i already made a loop to separate x Minutes out of y seconds.
-
View User Profile
-
Send Message
Posted Oct 19, 2012@Dinastya
We have three basic variable types;
String = text
Integer = Whole Numbers
Boolean = True|False
If the needs of the many start to say they require type Float = Floating decimal point then a float type may get added. There's realy no call for it.
-
View User Profile
-
Send Message
Posted Oct 19, 2012I have done Substract int and i know ints are only single numbers but is there any way to get decimals?
-
View User Profile
-
Send Message
Posted Oct 18, 2012@Nerdfuryz
you would have to make the base command (sg) with the /vtcommand then account for the stuff after the command within the script. For example, (assuming you are using the same survival games plugin that I think you are) this script would do what you want. http://pastebin.com/QRn1en6j It should work. Of course, there are aliases to that command so you would have to override all of the alias for that as well and use the same script otherwise they could just skip the script quite easily.
-
View User Profile
-
Send Message
Posted Oct 17, 2012Hello, how do I set a command to a command?
I keep doing this /vtcommand sg join @CMDCON gm survival <playername>
What am I doing wrong?
-
View User Profile
-
Send Message
Posted Oct 17, 2012@lexlaiden
Hey man is there anyway i can up the amount of allowed Script calls?
I have a really convoluted door script and i want it be able to call about 60 scripts in a row
Can i up this myself? or can you please add a config option to up it? (perhaps a hidden one like for loops)
-
View User Profile
-
Send Message
Posted Oct 15, 2012This plugin is awesome! I specially liked the feature of walking over a block to activate something else :D
-
View User Profile
-
Send Message
Posted Oct 15, 2012@TheReverend403
@QUIET
@Hangar
@xdeathoreox
Do /vt ? and you notice some extra /vt commands that are not in documentation
/vt autosave
To toggle autosave off so it won't save over your files while your changing them. Then you can edit and save file. Then do
/vt reloadtriggers
/vt reloadscripts
then turn auotsave back on
/vt autosave
-
View User Profile
-
Send Message
Posted Oct 14, 2012@xdeathoreox
I wonder if lex can fix that, have it forget all stored data when you're reloading so you can actually edit coordinates on the fly directly in the file. It threw me for a loop when I first encountered it and I'm sure other people get confused by it.
-
View User Profile
-
Send Message
Posted Oct 14, 2012@Hangar
Yeah, I can never make changes by hand to triggers. Best thing to do is stop the server and make the changes and be sure to save the changes before starting the server.
-
View User Profile
-
Send Message
Posted Oct 14, 2012@xdeathoreox
I usually do edit those files by hand, but it seemed like if I tried to change coordinates with the server running and use the reloadtriggers command, it wouldn't take (duplicate name error?) or wouldn't stop triggering at the old location. I'll try it again. Thanks.
-
View User Profile
-
Send Message
Posted Oct 14, 2012Does anybody have a script for this to allow a player to mute the chat, but only for themselves?
I'm thinking something like the /ignore command from essentials, but it ignores everyone all at once, EXCEPT for staff members.
-
View User Profile
-
Send Message
Posted Oct 14, 2012Just uploaded v1.2.0
see http://dev.bukkit.org/server-mods/variabletriggers/forum/newfeatures/43550-whats-been-added-so-far-in-the-up-comming-release-released/
for info on update
-
View User Profile
-
Send Message
Posted Oct 13, 2012SOON
@doublecow1
SOON
-
View User Profile
-
Send Message
Posted Oct 13, 2012When can we look forward to the next update? I'm excited for getchar!
-
View User Profile
-
Send Message
Posted Oct 13, 2012@Hangar
From the looks of it, you can just set your own area once you made that area. So just make some random area in the world you want and edit the cords in AreaTriggers.yml
-
View User Profile
-
Send Message
Posted Oct 13, 2012Is there any way to set an area using coordinates? Like "/vt setarea x,y,z,x,y,z"? Sometimes I know the coordinates but it's a pain to get there for the bone because it's in the ground or in the middle of a complicated build and I don't want to break everything to get into the wall. It might be nice if you could use a cuboid worldguard selection as an alternative (which can be set via commands).
-
View User Profile
-
Send Message
Posted Oct 12, 2012@Gawron52
did you save the script file in the plugins/VariableTriggers/ folder and have you
/vt reloadscripts