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 17, 2013@Nikecow
I cant find plugin like that.Essentials has'nt got /hurt command.Just /burn command
-
View User Profile
-
Send Message
Posted Oct 17, 2013@Lyoko_Firelyte
I personally used that the longest time but now I am convinced this is a cleaner way:
- '@IF i <secondticks:0> <= $Friends.Timer-<playername>'
- '@PLAYER &cPlease wait before doing this again!'
- '@EXIT'
- '@ENDIF'
- '@IF i <secondticks:0> > $Friends.Timer-<playername>'
- '@SETINT $Friends.Timer-<playername> <secondticks:2>'
- '@ENDIF'
Where "<secondticks:2>" is the cooldown you want it to be.
-
View User Profile
-
Send Message
Posted Oct 17, 2013How can I hurt the player?
VT is really inadequate in some respects.
-
View User Profile
-
Send Message
Posted Oct 16, 2013@desuthecheeseburger
You can't modify the "hard cooldown" but you can set a boolean, like
to schedule a "cooldown". It uses the bukkit scheduler so using a crazy-long timer won't lag anything, it just schedules an event to happen later, it's not really "pausing" anything.
-
View User Profile
-
Send Message
Posted Oct 16, 2013@magiclamb
What? You can call scripts from a script.yml file using @CALL.
-
View User Profile
-
Send Message
Posted Oct 16, 2013@Nickbbeezy
Code your own plugin.
Otherwise, a Click Trigger will allow for left clicking to activate it, just use the command /vtc @DO SOMETHING and right click a block with a bone. You can then add more scripts to that block by just typing /vtc @DO SOMETHING ELSE again. It's easier to just edit them directly in the config though.
-
View User Profile
-
Send Message
Posted Oct 15, 2013Is it possible to execute the script that the script is going to execute the command in CommandTriggers.yml, not to execute the original command?
-
View User Profile
-
Send Message
Posted Oct 15, 2013Is it possible to add a script command for setting the script on cooldown for the triggering player? Not really necessary, but it could come handy, so that the admins won't have to write an additional script for that.
-
View User Profile
-
Send Message
Posted Oct 14, 2013Is it possible to call an event on left click?
-
View User Profile
-
Send Message
Posted Oct 14, 2013I just created a post from an PM I got from KyadCK who created aUDL for NotePad + + to help with writing scripts.
http://dev.bukkit.org/bukkit-plugins/variabletriggers/forum/useful-tools/58646-notepad-udl-for-variable-triggers/#p1
-
View User Profile
-
Send Message
Posted Oct 14, 2013@mohawkguy360
That is possible, by (at the JOIN event) putting '@PAUSE 3' and then '@CMD <your command here>' but you'll need to read the documentation to learn the commands to set that up.
-
View User Profile
-
Send Message
Posted Oct 14, 2013I am completely new to the idea of using this plugin, but I have something that I would like to accomplish: I would like a command to be run by the player once the player logs on after a 3 second delay. On my server this command will open the menu gui for the player.
-
View User Profile
-
Send Message
Posted Oct 14, 2013@lexlaiden Can you please make this plugin comptable with Spigot? I know your plugin is made for Bukkit and that it workst fine on that, but i'm really limited to Spigot. Along with many other i believe. I'm also willing to donate up to 30 euros if you make it comptable with Spigot.
-
View User Profile
-
Send Message
Posted Oct 13, 2013@Lyoko_Firelyte
Yeah that is working perfectly. Thanks a ton!
-
View User Profile
-
Send Message
Posted Oct 13, 2013@Lyoko_Firelyte
ty so much :)
-
View User Profile
-
Send Message
Posted Oct 13, 2013@monstercat101
There's no way to tell if an entity is in a certain area with VT (VT is actually very limited despite what you people think) although you might be able to use <triggerloc> and do some @IF testing to see if it's on a certain coord, or <worldname> to grab the world.
For the actual counter you can just do:
You could add an @AND check to see if <triggerloc> = some coords, but that's about as good as you can do.
-
View User Profile
-
Send Message
Posted Oct 13, 2013@mhzct
I read it again and you don't want to check for everything it's not, but rather check for what it should be and then do something if it's not any of those things. For example:
However you can do checking like this too:
-
View User Profile
-
Send Message
Posted Oct 12, 2013I am trying to have a quest where you kill an npc, and once the npc has been killed a script runs. I thought npc deaths could be registered as players, but it seems they aren't. This is with citizens and sentry, has anyone done this before, or anyone know if this is possible?
Also does anyone know what @IF statement I could use for an EntityDeath trigger to make it execute when 10 entities die in a certain vt area?
-
View User Profile
-
Send Message
Posted Oct 12, 2013@Lyoko_Firelyte
That part works, and that isn't the problem. The problem is with the red and black
-
View User Profile
-
Send Message
Posted Oct 12, 2013@mhzct
I'm pretty sure you can't do a integer test on a <cmdarg> as they are always strings - convert <cmdarg:3> to a integer first using @SETINT and then test that variable.