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 4, 2014@Lyoko_Firelyte
I thought vault was optional? Do I need vault to do what im trying?
I have essentials installed also, shouldnt that take care of the chat?
The next VT version below is for CB 1.5.1,.
-
View User Profile
-
Send Message
Posted Aug 4, 2014@killerbyte12
java.lang.NoClassDefFoundError: net/milkbowl/vault/chat/Chat
You either need to install a chat plugin or try upgrading (or downgrading) to a version of VT that supports Vault properly, that version was a little flawed with connecting to Vault.
-
View User Profile
-
Send Message
Posted Aug 4, 2014Im getting this error when I try to make the console run a command when a player enters a area
2014-08-04 09:45:40 [SEVERE] Could not pass event PlayerMoveEvent to VariableTriggers v1.2.7 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:437) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:31) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) at net.minecraft.network.NetServerHandler.func_72498_a(NetServerHandler.java:362) at net.minecraft.network.packet.Packet10Flying.func_73279_a(Packet10Flying.java:51) at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:470) at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233) at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54) at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:910) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:330) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:777) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) Caused by: java.lang.NoClassDefFoundError: net/milkbowl/vault/chat/Chat at com.wizardscraft.scripting.ScriptInterpreter.<init>(ScriptInterpreter.java:238) at com.wizardscraft.Listener_base.PlayerListener_Move.checkArea(PlayerListener_Move.java:125) at com.wizardscraft.Listener_base.PlayerListener_Move.onPlayerEnterTrigger(PlayerListener_Move.java:52) at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:435) ... 15 more
I am using the 1.7.2 version of vt on my 1.6.4 server
-
View User Profile
-
Send Message
Posted Aug 3, 2014@KyadCK
Thank you for pointing me at this. I don't know how I missed this one. I got hung up on needing to get the player's position when the trigger happend that I never thought about a trigger location placeholder. That one works perfictly.
Now the only thing that I'm lacking that would make things perfect is a way to programmatically create a trigger from within a script like /vtwalkloc(vtwl) <playerloc> @CALL File:Script
-
View User Profile
-
Send Message
Posted Aug 3, 2014@AncientTom
So use <triggerloc>.
-
View User Profile
-
Send Message
Posted Aug 3, 2014I am still having issue with retrieving <playerloc> when a walk trigger happens. For this reason, I have re-submitted this issue as a ticket with a full diagnostic on this problem. This is not an issue with the accuracy of <playerloc>. It's a problem with the way the triggering location is calculated by VT causing a premature triggering that is causing the one block error.
Please see my ticket for details.
Thanks,
AncientTom - - -
-
View User Profile
-
Send Message
Posted Aug 3, 2014@killerbyte12
I believe that the latest build that will work with 1.6.4 is the build for 1.7.2. Later builds throw lots of errors running on 1.6.4. At least that was my experience before I upgraded to 1.7.9.
-
View User Profile
-
Send Message
Posted Aug 3, 2014@RaycusMX
It checks the strings without taking capital letters into consideration. So @IF si HeLLo = Hello would return true;
-
View User Profile
-
Send Message
Posted Aug 3, 2014I dont see any versions for 1.6.4?
-
View User Profile
-
Send Message
Posted Aug 3, 2014Could somebody tell me the usage of "@IF si $obj.var..." ?
-
View User Profile
-
Send Message
Posted Aug 3, 2014@killerbyte12
The ones that are for 1.6.4 or older on the Files page.
Some of the 1.7.* builds might work, try it if you feel up to it.
-
View User Profile
-
Send Message
Posted Aug 3, 2014What version of this will work with 1.6.4? Thanks in advance.
-
View User Profile
-
Send Message
Posted Aug 2, 2014@Lyoko_Firelyte Oh, it seems that this problem has been solved on VT 1.3.3.1. Thanks a lot.
-
View User Profile
-
Send Message
Posted Aug 2, 2014@RaycusMX
Ok, the pending version has all of that fixed I believe.
-
View User Profile
-
Send Message
Posted Aug 2, 2014@Lyoko_Firelyte I use VT 1.3.3 released on Jul 27, 2014, and the MD5 is 93979f457568a933f0349fb6b41afbd7. This problem was found by my friend, and then I confirmed it by myself. His script didn't work after using this new released version. I'm sure that 1.3.2 has no such problem.
-
View User Profile
-
Send Message
Posted Aug 2, 2014@Lyoko_Firelyte
Yeah now I can't restart my server anymore, sorry, but I'm sure it's working now, thanks.
-
View User Profile
-
Send Message
Posted Aug 2, 2014@H8llfire
TRY THIS ONE! I made was off by 1 number on args. *facedesk*
-
View User Profile
-
Send Message
Posted Aug 2, 2014@Lyoko_Firelyte
Yes I did, It even changed the debugging message from wrong numer of arguments to '@DELOBJ $obj'
-
View User Profile
-
Send Message
Posted Aug 2, 2014@H8llfire
Yes I recently updated that file, did you download the one I put up an hour ago?
http://dev.bukkit.org/bukkit-plugins/variabletriggers/files/37-variable-triggers-v1-3-3-1/
-
View User Profile
-
Send Message
Posted Aug 2, 2014@Lyoko_Firelyte
You mean the delobj? That one doesn't yet work (CONSOLE: [ERROR] [VT] [1;31mScript Error: Trigger: Cmd_test Script: Trigger Line 2 - @DELOBJUse @DELOBJ $obj[0;37m). I put @DELOBJ $whatever