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 Dec 19, 2014@Lyoko_Firelyte
Nothing...
-
View User Profile
-
Send Message
Posted Dec 19, 2014@TankDaBusta
And you loaded in your scripts with /vt reloadscripts? Remember if you're on an old version of VT your scripts will just be in the VariableTriggers folder.
-
View User Profile
-
Send Message
Posted Dec 19, 2014@Lyoko_Firelyte It's just like that but yet i still get the error.
-
View User Profile
-
Send Message
Posted Dec 19, 2014@TankDaBusta
It looks like you're using an older version of VT, but make sure the script file is named Main.script.yml and your inner looks like
-
View User Profile
-
Send Message
Posted Dec 19, 201419.12 21:24:08 [Server] ERROR Script Error: Trigger: Script: Trigger Line 1 - @CALL unkown script Main:LeftClick Ignoring line and continuing
-
View User Profile
-
Send Message
Posted Dec 19, 2014@TankDaBusta
Post any error logs you get & make sure they got moved to ./plugins/VariableTriggers/scripts/
-
View User Profile
-
Send Message
Posted Dec 19, 2014I really need help on getting my personal separate script yml's to work. My console states that it cannot find these scripts. PLEASE HELP!
-
View User Profile
-
Send Message
Posted Dec 19, 2014@Zeal_BG
That's not really specific, but all events have a cooldown option in their respective configs. I'm sure there are some code examples under the script sharing section if you're looking for some ideas!
-
View User Profile
-
Send Message
Posted Dec 19, 2014Is it possible to set global (for all players) cooldown for a block? And who can help me with some codes. I can't understand how to do more of the things.
-
View User Profile
-
Send Message
Posted Dec 19, 2014@TehSaltyOyster
Sent you a PM. :)
-
View User Profile
-
Send Message
Posted Dec 19, 2014@Lyoko_Firelyte
Okay. So is the second error connected to the first? Does that error only effect command triggers?
-
View User Profile
-
Send Message
Posted Dec 19, 2014@TehSaltyOyster
Haha, they discontinued Bukkit.getOnlinePlayers() - when you run a script it calls that for the system array list. I'll put some fixes through, that method is very, very widely used and I'm laughing that they removed or renamed it.
-
View User Profile
-
Send Message
Posted Dec 19, 2014Hey, I'm trying to get this working on a 1.8 server, but I couldn't get it to start. I came here and saw that I was getting the same error as sharqman, so I followed your instructions, I ran the plugin in CB 1.7.10 and let it generate its files, then changed my CB version back to 1.8. And this time, it actually started! But with an error:
http://pastebin.com/6tYf6kKg
I ignored that and continued on. It appeared to be working, but that error kept popping up, multiple times. Using /vt ? worked, but I tried typing /vtcmd ? and got this error:
http://pastebin.com/WuWBEQew
What's wrong with it? Im using the 1.8 version of CraftBukkit.
-
View User Profile
-
Send Message
Posted Dec 18, 2014@Lyoko_Firelyte
Erm I rather not disclose my totally 1337 scripts to the public, but i will send it to you privately ;) It placed all of them there. Maybe an issue with the BOM?
-
View User Profile
-
Send Message
Posted Dec 18, 2014@H8llfire
Can you pastebin one of the ones that it placed into the invalid folder?
-
View User Profile
-
Send Message
Posted Dec 18, 2014@Lyoko_Firelyte
These are normal VT 1.x scripts, why wouldn't they meet the format to be converted?
-
View User Profile
-
Send Message
Posted Dec 18, 2014@H8llfire
This means your scripts file does not use the proper format:
etc
-
View User Profile
-
Send Message
Posted Dec 18, 2014@sharqman
I meant run it with 1.7 and then shut down and boot up 1.8 :P Make sure you clear your directory if it half made the files. It should only be an issue with first runs which I'll correct soon
-
View User Profile
-
Send Message
Posted Dec 18, 2014@Lyoko_Firelyte
Yeah well It kinda doesn't work for me, events are converted, scripts aren't it just says invalid script file and puts it into the invalid folder.
@sharqman it is only since 1.8 it won't work anymore.
-
View User Profile
-
Send Message
Posted Dec 18, 2014@Lyoko_Firelyte
http://pastebin.com/XZfPqEMp Ran craftbukkit-1.8-R0.1-SNAPSHOT Maybe everything from spigot's BuildTools is like this? I have no clue where else to get bukkit and I've deleted all my old server stuff. I stopped keeping up to date on bukkit stuff just before all that DMCA stuff happened.