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 Sep 14, 2014@Gaurav1234
For INSERT? Nothing.
If I did SELECT? It turn this;
Into this;
It's up to you to reformat and use the data as you see fit. I use this for my test database;
Which results in this;
-
View User Profile
-
Send Message
Posted Sep 14, 2014@Gaurav1234
It contains whatever output the query provides
-
View User Profile
-
Send Message
Posted Sep 14, 2014@KyadCK
So in your example, "@MYSQL.<playeruuid>" would be an array?
What would it contain?
Thanks
-
View User Profile
-
Send Message
Posted Sep 14, 2014@Gaurav1234
Literal MYSQL commands. Exactly what you would put into command line, you put there.
Example;
Don't forget to make your table first.
-
View User Profile
-
Send Message
Posted Sep 14, 2014So how the heck does @MYSQL even work?
"@MYSQL @obj.var <statement>"
Not specific at all; I googled java mysql syntax and I don't get how that's going to work in VT.
Could I get a bit of help please?
Thanks!
-
View User Profile
-
Send Message
Posted Sep 13, 2014@Lyoko_Firelyte
I know, but as you know the way I want to use the inventories, I cannot due to the bugs that are holding me back quite a bit.
-
View User Profile
-
Send Message
Posted Sep 13, 2014Joel, you can already call commands via the Inventory event here lol
-
View User Profile
-
Send Message
Posted Sep 13, 2014@Lyoko_Firelyte
Managed to work around this by using a seperate plugin ( Chest Commands GUI ) which will run a command when an item is clicked - through this I can make custom variable triggers commands which I can then call through the other plugin.
-
View User Profile
-
Send Message
Posted Sep 13, 2014@Lyoko_Firelyte
First PM it to me because I'm special. :P
But in reality, do what Essentials, Multiverse and others do. Put a link in the title page labeled "Dev builds", and link to a repo that we can download the builds. Mediafire, Dropbox, even an extremely basic HTTP download page, as long as the builds are labeled.
Also, Spigot is still updating via a roundabout method. You could copy the project to the Spigot site and continue to do things there, if Lex doesn't mind.
-
View User Profile
-
Send Message
Posted Sep 13, 2014@Lyoko_Firelyte
Oh the way I'm making it is you click an item in the crafting inventory and it takes the items from your inventory if you have them and gives you the original item - but I think it should just cancel any interaction with the inventory if the cancelled is set to true. Is that possible?
-
View User Profile
-
Send Message
Posted Sep 13, 2014Yeah canceling the inventory event does not always show it visually, and for moving an item in, it will not stay after you close the inventory. Since I didn't allow for cancelation on certain slots it may be hard to make a crafting inventory :(
-
View User Profile
-
Send Message
Posted Sep 13, 2014@Lyoko_Firelyte
It may be a plugin I have - let me have a quick check.
Nope, I removed all my plugins but Variable Triggers, and I've created my own simple inventory:
Cancelled is now working a bit weird - if I move the peice of wool into my inventory, then try to place it, it removes it from my inventory as it is a ghost item I'm guessing, but visually It's not cancelling the event immediately. What's even worse, is if I move a item from my inventory into the 'Crafting' inventory and tab it out it takes the item, even after relogging.
As the name may give away, this is quite important as im trying to make a crafting inventory haha :)
Note: Yea I deleted it as I thought I'd fixed it, but to no avail - sorry about that!
-
View User Profile
-
Send Message
Posted Sep 13, 2014PERMISSIONS EX, YOU'RE THE LAST OF OUR KIND
MAY YOU FOREVER HOLD THE LAST APPROVED PLUGIN SPOT
-
View User Profile
-
Send Message
Posted Sep 13, 2014So if I were to put out a new build, what do? Are there enough mods left to shake their fists at me for posting links in the chat? Or are they not caring anymore since everyone jumped ship & no one's left to approve plugins?
-
View User Profile
-
Send Message
Posted Sep 13, 2014@JoelMinister
You need to change "enchant:durability" to "enchant: durability", but I don't think that would cause any issues related to cancelling the event. The best guess I have at the moment is that another plugin is for some reason un-cancelling the event. I suppose you could re-open the inventory when they click it, resetting their held item, but in your case it should teleport them, thus closing the inventory, so I don't think you would have an issue.
Edit: Oh, he deleted the comment while I was typing - I hope it was resolved for you! :D
-
View User Profile
-
Send Message
Posted Sep 10, 2014@Gaurav1234
Or @SETVELOCITY [player] [x] [y] [z]
in combination with <direction:int>
-
View User Profile
-
Send Message
Posted Sep 9, 2014@adambor
You could use a combination of @TP and getblockpos
-
View User Profile
-
Send Message
Posted Sep 9, 2014Is there posibble to push player where is he looking ?
-
View User Profile
-
Send Message
Posted Sep 8, 2014@RustyDagger
Not possible to stop that currently.
-
View User Profile
-
Send Message
Posted Sep 8, 2014Any one know how i can stop the feedback messages from worldedit when i use @CMDOP to load and paste a schematic I really dont think the players need to see the messages in chat as my script is handling all of it.