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 5, 2013@Nikecow
He refuses to fix it, I have already tried.
-
View User Profile
-
Send Message
Posted Feb 5, 2013How to make that every player will use @CMDOP at the same time.
example:
everyoneusehome:
Override: true
Script:
- '@CMDOP home'
-
View User Profile
-
Send Message
Posted Feb 4, 2013Hi there! I just wonder if there's anyway to check IF X player has empty spaces in his inventory, something like
- '@IF i <hasitem:<playername>:0> >=1'
or
- '@IF i <hasitem:<playername>:null> >=1'
Is this possible?
-
View User Profile
-
Send Message
Posted Feb 3, 2013Hey Lex,
I think I have something very important for you to look at here: http://dev.bukkit.org/server-mods/variabletriggers/tickets/41-error-with-triggers/
Especially the async calls which can crash a server.
Edit: It's crashing my server about 10 times a day now.
-
View User Profile
-
Send Message
Posted Feb 2, 2013@Lyoko_Firelyte
Thanks for the reply, really did help solve my problem. Made adjustments to your suggested script and now it works like a charm :D
-
View User Profile
-
Send Message
Posted Feb 1, 2013@Mintelgen
As far as I know that's not possible, however you can use essentials to sort of pinpoint where it will land. The place your pointer is facing is where the mob will spawn, so you can set up a script to control where it goes, although there would be some output in the chat to the player.
For example, set up a location with /vt setloc $mobspawning.location1, and make sure you're facing towards the tile you wish for the mob to spawn on while setting it. Then, add it to your script.
killall: Override: true Permission: essentials.killall Script: - '@CMDOP killall' - '@TP $mobspawning.location1' - '@CMDOP spawnmob sheep:orange 6' -' @CMDOP back'
Or something to that effect. They would only see "spawned 6 sheep" in the chat, and "returning to previous location" if you included the back portion.
-
View User Profile
-
Send Message
Posted Jan 31, 2013I'm not sure if I'm missing something, but is there a way to spawn colored sheep? What I'm trying to do is make the /killall command from Essentials spawn orange sheep right after it executes. This is basically what I'm trying to do except for instead of "sheep," I want something like"orange_sheep": /vtcommand /killall @ENTITY sheep 6 In this case, I can't use Essentials to spawn the mobs as I want them at a specific place (unless it can do that and I'm just too stupid to see the instructions for doing so). Any help would be appreciated, and I don't mind installing another plugin to fulfill that need so, if you want to, recommend one for me. Thanks for taking the time to read this long comment even if you can't help づ。* ´ ◕ω◕`。)づ・
-
View User Profile
-
Send Message
Posted Jan 30, 2013@Lordarchey
There's no way to hide output as it's doing what you're telling it to, running the command as if you were an OP typing in the actual command. For your specific example you could use @SETBLOCK if it is a small area, but if you're pasting something you may just have to deal with the output.
-
View User Profile
-
Send Message
Posted Jan 30, 2013Hey lex. I Love this plugin thanks a million for this. Adds a whole new level of creativity. I just wanted to say that first. But I have a kinda simple question that I maybe be messing in all the reading up I've done. Is there a simple way to trigger a command but mute or hide the corresponding in-chat prompt that some commands give. I.e. world edit? Something like "vtarea test01 ENTER @CMDOP /paste -o (hide reply)" ?? If there is something like this already in place. Does anyone mind pointing me to it? Sorry about the newbish-ness. And thanks in advanced for any help.
-
View User Profile
-
Send Message
Posted Jan 30, 2013Lex,
is there ANY way you can take a look at getting Command Triggers to work with BukkitForge, It would be a HUGE help for people trying to write scripts for FTB and Tekkit Lite.
Thanks so much!
-
View User Profile
-
Send Message
Posted Jan 28, 2013@a006052
You can do this but you would need to write the script to keep track of it and you need to have a script on Join event and Quit event to add or remove playernames from an array. Look through the VT forum
-
View User Profile
-
Send Message
Posted Jan 27, 2013Is it possible to create a script that does a check or variable change for every player currently online, like a "for" loop?
e.g. @for (all players online) @SetBool $<playername>.online true
where the <playername> placeholder would be replaced, in turn, by the name of each individual currently online
Is there a way to do this sort of thing already, and I've missed something?
If not, I suggest this as an added feature.
-
View User Profile
-
Send Message
Posted Jan 27, 2013@SheerAwesomeness
Yes it could be added when I get back to adding new features, BUT you can use essentials powertool to accomplish this :)
-
View User Profile
-
Send Message
Posted Jan 27, 2013Lex, could you make a trigger where a player clicks with a certain item in their hand (not a click trigger on a block), for example a player holds a blaze rod and clicks with their crosshair pointing far away, and this triggers the /lightning command :)
-
View User Profile
-
Send Message
Posted Jan 26, 2013@midnightfang22
@SheerAwesomeness
http://dev.bukkit.org/server-mods/variabletriggers/tickets/38-script-causes-annoying-exception-even-though-it-was/#comments
-
View User Profile
-
Send Message
Posted Jan 26, 2013Take a look at this Ticket and someone tell me if they have any ideas..
Thanks
http://dev.bukkit.org/server-mods/variabletriggers/tickets/37-invalid-plugin-yml-error/
-
View User Profile
-
Send Message
Posted Jan 26, 2013Hey guys,
Just wanted to reminde you that for the next couple of months I will only have time to answer a few simple questions now and then and am not able to dedicate time to adding new features or new updates until then.
Be patient and other users will help as much as they can, and thanks to those of you who give your time trying to help other users with problems and questions.
-
View User Profile
-
Send Message
Posted Jan 26, 2013@SheerAwesomeness
@Nikecow
What script does it show up on, out of curiosity?
-
View User Profile
-
Send Message
Posted Jan 26, 2013@Nikecow
My Scripts don't work at all when this error pops up :/ And it's quite frequent.
-
View User Profile
-
Send Message
Posted Jan 26, 2013Got the same errors: http://pastie.org/5869204
But doesn't seem to hinder its performance. Other than that great plugin I will donate soon!
@sheerawesomeness You are right, it does cancel my script :/