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.
Thanks radionmaster.
I was looking inside the .yml files of the triggers that I've already created, and there is a cooldown line for each, but I havent been able to figure out if that number is in ticks or seconds. Im thinking its ticks since i set a few of them to 120 and there doesnt seem to be much of a delay in being able to re-trigger them.
jeffro1001, from my experience @COOLDOWN and @PAUSE use seconds. Fractions are also allowed. Like @COOLDOWN 2.5 would work.
Great plugin Lex I'm just beginning to unlock it's potential.
I do have a question though, and I couldn't seem to find the answer in the documentation.
For the trigger cool downs. It that number seconds, minutes, or server ticks?
Thanks for all the hard work. Feel free to drop in and play on my server any time Ill hook you up with some nice stuff.
I totally feel your pain, but you should work because you know you can achieve something that fits in with the society, instead of for personal gain. work for others instead of work for self.
Personally I know my server has profited from the help of this plugin so I don't feel bad at all about chipping you some of it.
Heres an idea... for permissions, set what @COMMAND they can do. Like if I wanted to allow people to @TOGGLEBLOCK thats cool but not @CMDCON, you get my drift?
Anyway. Enjoy the 6pack
@Trouvo
well thanks that kind of limits how I can work with the code but cannot be helped.
as stated in the very detailed documents, after you make an edit to a file directly and save it do the reload command depending upon what you edited
ex: to reload the triggers /vt reloadtriggers
Hi, Having this issue with the VT files. When ever you edit them in an editor it restores what ever you edited. That makes it rather annoying to clear wrong variables or edit fast various triggers outside the game. Any idea how to prevent the restoring them?
Thanks
Completely understandable, welcome to the new generation.... *sighs deeply
Wanna hear me rant and rave?
Funny thing is, i do all this work making this plugin that everyone is benefiting from and I don't even run a server to benefit from it myself. So all this work I have been putting in only benefits the users(you). I'm getting tired from coding non-stop since I released this plugin to better it and everyone else gets the benefit but it don't seem as you appriciate it.
I have gotten a few small donations, a coke, a pizza and one steak dinner from a few people that accually want to express their gratitude (Thank You guys) and they were what kept me going last month, but only a few donations and that was it. I would have thought with all the downloads, that more people would be grateful for all the work I have put in on this plugin and WANT to buy me a pizza or at least a two liter of coke. God knows I drink enough of it when I sit and write code.
Well, I'm just tired and blowing off steam. I think I may take a break for a while.
@gnarlerman
Not sure what your talking about?
@GETENTITYCOUNT $my.count ZOMBIE 10
Save all zombies in a radius of ten block to the $my.count Variable which is an INT
Now if by chance I have at some point created an object.variable with the same name and as a string then use any command that does not use a type pecifier i, b, s or si Such as
@PLAYER $my.count
the instance that is a string takes presidence over the int
But if I do a test @IF i $my.count > 3
then the instance that is an int is used because of the type specifier i
Sick! Thanks for the reply.
BTW I was playing around with the @GETENTITYCOUNT and had trouble because I ASSumed it saved it as an integer, however it saves as a string...
Soo... bother putting that info on your information on @GETENTITYCOUNT that its saved as a string and not an integer? Kinda counter-intuitive.
Thanks to @tenowg we now have a wiki web site for VariableTriggers. This will be a site where YOU the users help write the pages! So lets give @tenowg a big thank you by using and writing this website. He has a good start for you, you just need to jump in and get it going.
Go here and create a login and start making the pages :)
Thanks.
@Fletch Subscribing is also to help out the dev, not just so you can get the file sooner....
FYI: I think you're misspelling "specific" all over the change notes.
Awesome, I can't wait to get home and play with 1.1.6! Thanks again for an awesome plugin Lexaiden!
fletch_to_99, you are awesome, thanks for that hint. I subscribed to late, and I was expecting to wait.
@lexlaiden
Alternativly they could just go here (last uploaded file number + 1): http://dev.bukkit.org/server-mods/variabletriggers/files/16
I do that for all my plugins when the dev says it was uploaded. Also thanks so much for fixing the teleport issue! :)
v1.1.6 has now ben uploaded. Hope you subscribed so you don't have to wait for approval.
I am going to start updating the docs
@lexlaiden
Done a long time ago! Now if only curse would let us subscribe to forum topics...
You guy better hurry up and go to Subscription tab and subscribe to file updates if you havent already. it will giveyou immediate access to new updates, if you havent already subscribed. That way you don't have to wait for 20 hours while Bukkit team gets around to approving it.
I'm getting ready to release it in a few miniutes.
Hey guys, check out this script someone posted for locking doors. It has potential.
http://dev.bukkit.org/server-mods/variabletriggers/forum/sharescripts/41123-locking-doors/