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 9, 2013Has anyone got Variable Triggers to work for MCPC+ 1.6.2? Whenever I make a trigger and try triggering it, I get this error (and this is for any trigger i try activating):
11:09:33 [SEVERE] Could not pass event PlayerInteractEvent to VariableTriggers v 1.2.5 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:363) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:479) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:464) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInte ractEvent(CraftEventFactory.java:190) at net.minecraft.item.ItemInWorldManager.func_73078_a(ItemInWorldManager .java:546) .....
Any way how to get around this error?
-
View User Profile
-
Send Message
Posted Aug 9, 2013async bugs have returned, courtesy of spigot 1057, see ticket 83.
-
View User Profile
-
Send Message
Posted Aug 8, 2013@H8llfire
Ah, I don't remember there ever being a "getarea" function, xD
-
View User Profile
-
Send Message
Posted Aug 8, 2013@Lyoko_Firelyte
You can do this way easier. Just create the Area and use the placeholder:
Player Death ->
@IF s <getarea:<playerloc>> = arena
@Broadcast blabla
@CMD tp ...
-
View User Profile
-
Send Message
Posted Aug 7, 2013@TheRealScotti
Add a boolean to area enter and exit.
Area enter ->
Area exit ->
Player death ->
-
View User Profile
-
Send Message
Posted Aug 7, 2013Very nice, and very helpful! But it would be nice if you could add EventTriggers to Areas, like: "Player xyz dies in an Area an gets respawned" (PlayerDeath @CMD tp <playername> "Area-spawn".
-
View User Profile
-
Send Message
Posted Aug 7, 2013@bkleinman1
-
View User Profile
-
Send Message
Posted Aug 6, 2013I am a little confused. What i am trying to do, is when a player clicks a sign i want to start a if statement like this:
if a variable is less than 4
it will tp the player somewhere
add 1 to the variable
else
tell the player that the game is full
I have been trying lots of different things and cant seem to get it to work, every time i have tried, it seems to just skip the 'if' and just go onto the 'else'. please could someone reply with the script i will need to get this working. Thanks :D
-
View User Profile
-
Send Message
Posted Aug 6, 2013@Lyoko_Firelyte
Haha Lyoko I must admit I had a very hard time in the beginning too (and no I'm not illiterate :)
The best thing you can do, Kiddrangon, is experimenting yourself. It took me a very long time to master it but it was well worth it.
-
View User Profile
-
Send Message
Posted Aug 4, 2013Hey, I want the plugin to give a CUSTOM item I have created with create your own menus (nether star that executes command) I want it to be given to players when they enter spawn, and be taken from them as they leave. What would the coding for that be?
Thanks in advance
-
View User Profile
-
Send Message
Posted Aug 3, 2013@kiddrangon
The documentation on this bukkit page is so detailed you'd be considered illiterate if it's not enough to understand the entire plugin.
-
View User Profile
-
Send Message
Posted Aug 1, 2013Can anyone help me find a good video tutorial for this? or Just a VARY DETAILED DOC? Please, I am trying to recreate a game a friend built using this.
If you need to contract me, use skype, kiddrangon (JJ Henderson)
-
View User Profile
-
Send Message
Posted Jul 30, 2013OMG, MUTE COMMAND OUTPUT!!! Check it out :) I know it was along time ago that I asked if there was any part of vt that would allow me the ability to mute a plugin/command being run, without giving a triggering players a lot of chatter,( i.e. worldedit). Which has set back a lot of my more creative projects. But I have finally found a plugin that lets me have full control over what the player gets. Making VT unstoppable :P. I thought I would share with you guys. Since I'm a serious VT fan. The plugin is called VirtualPlayers, here is a the link to the Bukkitdev page, http://dev.bukkit.org/bukkit-plugins/virtualplayers/ You run it's commands through the console but the commands are executed as a fake player (silently). I haven't had anything yet that it can't run. But just running worldedit alone makes this a golden match. Can run stuff like: /vtclick @CMDCON dc command /schem load test /vtclick @CMDCON dc command /paste -o And watch it paste without anything sent to the triggering player. Thank you guys for helping me learn the VT magic and I hope this can help with your creative projects. And remember to support those crazy devs.
-
View User Profile
-
Send Message
Posted Jul 29, 2013Receiving this error in console when a WalkTrigger is triggered:
Is it a plugin issue, or a possible script issue?
Thanks,
-Shves
-
View User Profile
-
Send Message
Posted Jul 29, 2013@AK139
Use this command in-game:
/vtwalk @CMDOP ma join
Then click on the block you want to trigger the command with your Variable Triggers wand. Remember, the default wand is a bone. If this doesn't work, please tell me.
-
View User Profile
-
Send Message
Posted Jul 29, 2013Hi,
Im a bit confused. I want to make a trigger so when a player steps on a block it issues the command /ma join. Can someone explain to me how to do that? Im really confused.
Thanks,
AK139
-
View User Profile
-
Send Message
Posted Jul 28, 2013@Foretvert
I don't think so, at least not efficiently. That would require checking where a player is and a timer can only check every 60 seconds.
It would be interesting to see some other plugin makers make extensions of VT to work with towny/faction/griefprevention/worldguard API. It would certainly allow for some interesting griefprevention scripts for myself.
-
View User Profile
-
Send Message
Posted Jul 27, 2013Is there a way so that script is run if a player is in a certain defined area? Not when they enter or exit, only if they are physically in it. Thank you.
-
View User Profile
-
Send Message
Posted Jul 25, 2013The @CMD script command isn't working for me. For example, I'll type in @CMD warp [warpname] and add it as a walk/click trigger. Although, when I activate the trigger, the command does not run. I'm wondering if this is a glitch with the plugin or an issue with the server I'm on. [We are on 1.6] Thanks
-
View User Profile
-
Send Message
Posted Jul 24, 2013This plugin is truly awesome! There are so many possibilities with it!
One thing that I would like to see be added to the event triggers would be a trigger that goes off when there is a change in a players XP level. It could give server owners the ability to reward their players according to the amount of xp the player earned.
If that gets added I do not think I could ever abandon this plugin!