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 23, 2014I took your advice and updated to the newest release of Java and even restarted my computer. As I said, I am using the most recent version of VT and I am using the current Beta release version of CraftBukkit 1.7.9 R0.2. I am not sure if this has fewer errors now, but I still appear to be getting this:
[21:46:34 INFO]: This server is running CraftBukkit version git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.2) [21:46:34 ERROR]: Could not load 'plugins/VariableTriggers.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/wizardscraft/VariableTriggers/VariableTriggers : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:355) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.<init>(CraftServer.java:317) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PlayerList.<init>(PlayerList.java:68) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] Caused by: java.lang.UnsupportedClassVersionError: com/wizardscraft/VariableTriggers/VariableTriggers : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_65] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) [?:1.6.0_65] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [?:1.6.0_65] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_65] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_65] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_65] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_65] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_65] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_65] at java.lang.Class.forName0(Native Method) [?:1.6.0_65] at java.lang.Class.forName(Class.java:249) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] ... 9 more
-
View User Profile
-
Send Message
Posted Aug 23, 2014Ok, double, this means you need to upgrade to Java 7 on your operating system that the server is on.
-
View User Profile
-
Send Message
Posted Aug 23, 2014The most recent 1.3.3.1
-
View User Profile
-
Send Message
Posted Aug 23, 2014Double, which version of VT are you using?
-
View User Profile
-
Send Message
Posted Aug 23, 2014I could not find the entire log of errors within the log file as there are dozens of categories of logs and I couldn't find which category within the log file it's located under. But here is the majority of it. Thank you in advance!
[20:26:16 ERROR]: Could not load 'plugins/VariableTriggers.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/wizardscraft/VariableTriggers/VariableTriggers : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:355) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.reload(CraftServer.java:797) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.Bukkit.reload(Bukkit.java:288) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:701) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchServerCommand(CraftServer.java:688) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.DedicatedServer.aB(DedicatedServer.java:296) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:261) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
Caused by: java.lang.UnsupportedClassVersionError: com/wizardscraft/VariableTriggers/VariableTriggers : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.6.0_65]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) ~[?:1.6.0_65]
at java.lang.ClassLoader.defineClass(ClassLoader.java:621) ~[?:1.6.0_65]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) ~[?:1.6.0_65]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) ~[?:1.6.0_65]
at java.net.URLClassLoader.access$000(URLClassLoader.java:58) ~[?:1.6.0_65]
at java.net.URLClassLoader$1.run(URLClassLoader.java:197) ~[?:1.6.0_65]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.6.0_65]
at java.net.URLClassLoader.findClass(URLClassLoader.java:190) ~[?:1.6.0_65]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65]
at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65]
at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_65]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
... 14 more
-
View User Profile
-
Send Message
Posted Aug 23, 2014Please post the errors that it produces in the console when you load it up, double cow, it will locate the problem.
-
View User Profile
-
Send Message
Posted Aug 23, 2014Greetings! For some reason, none of the recent releases of VT will install when I load my craftbukkit server. I am using the current Beta version 1.7.9 R2 and other plugins such as Essentials will install but I can't seem to figure out why VT won't. Has anybody else had this issue?
-
View User Profile
-
Send Message
Posted Aug 23, 2014@RaycusMX
w..what? Commands are not actually commands but chat event. So only ways to prevent vt command use is to create either permission or setting a condition.
-
View User Profile
-
Send Message
Posted Aug 23, 2014@Lyoko_Firelyte I found a player can use cmdtriggers without logining on the login plugin. That's not safe, I think.
-
View User Profile
-
Send Message
Posted Aug 23, 2014@Lyoko_Firelyte
thanks for that. Guess i'll spend time getting other code ready and building assets for slayer skill. Making massive quantity of various tasks slayer masters hand out and other little stuff.
-
View User Profile
-
Send Message
Posted Aug 23, 2014@laacis2
Yes, when I release a new build I will remove any dots from the result. I just used the raw eval method from the JavaScript library, which apparently turns everything into floats.
-
View User Profile
-
Send Message
Posted Aug 23, 2014@Lyoko_Firelyte
can't you make so eval: does not place dot if you don't have any numbers after dot?
-
View User Profile
-
Send Message
Posted Aug 23, 2014@Lyoko_Firelyte
eh i was planning fully fledged skill with gazilions of different exp rewards using different conditions.
-
View User Profile
-
Send Message
Posted Aug 22, 2014@laacis2
You could try just using equals, provided you always hit the correct mark and don't give random amounts of XP that will overshoot the next level
-
View User Profile
-
Send Message
Posted Aug 22, 2014@Lyoko_Firelyte
it does 1000.0 and so on. seems that .'s are hated by int tests. just tried to set int value of random variable to 1.1. threw error
-
View User Profile
-
Send Message
Posted Aug 22, 2014Try setting the eval to an int variable first, and printing out the eval to insure it's giving you a good value
-
View User Profile
-
Send Message
Posted Aug 22, 2014@Lyoko_Firelyte
but.. the eval throws an error on whole thing if i try testing it as int. Says only numbers are allowed in i
-
View User Profile
-
Send Message
Posted Aug 22, 2014Laacis, you are checking > on a string instead of an integer
-
View User Profile
-
Send Message
Posted Aug 22, 2014@JoelMinister im multiplying 1000 by 0 and adding 1000 to result so it ends up as 1000 for reaching lvl 1
-
View User Profile
-
Send Message
Posted Aug 22, 2014@laacis2
If you've reset all the variables, surely $<killername>.lvl has no value, meaning in your eval you're multiplying 1000 by 0?