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 Apr 10, 2013I'm setting up a /kdr (Kill Death Ratio) tracker atm, I have been working on it, on and off. I was able to set up the kdr for specific players, so when they type /kdr, it says "Your KDR is $<playername>.kdr. $<playername>.kills Kills and $<playername>.deaths Deaths!"
I've run into two problems..
One: When you do DIVINT, it gives you a solid number, no decimals. Is there any way to fix this or am I stuck with that?
Two: I can't seem to figure out how to make a /kdr top. I'd like it to find the person with the highest Kills to be at the top and descend.
EDIT:
I also was curious as to whether or not there was a way to wait for someone right clicked? I noticed the "Interact" event, but it states that it's for entities. I was looking for ANYTHING. If he had a sword in his hand, a block, air, and also not towards an entity.
-
View User Profile
-
Send Message
Posted Apr 10, 2013@mrbuddy13
Possible? Yes. Easy? No. One big massive headache to set that up... Few ways you could do this for different sections.
Command Helper probably sends it directly to the server before the plugin can catch it. The way command triggers work is like this: Player sends a command -> VT catches the command name and tests if there is a script with the same name -> If there is, then to takes the command and runs/completes it itself; If there isn't, then it lets the server take care of it. It probably can't catch it using a macro, idk.
-
View User Profile
-
Send Message
Posted Apr 10, 2013So my friend and I were thinking of trying to make a forum command on a server. Basically I want this to function like a normal forum would, a user would type /forum post [example] and it would create a topic and send it to all ops, kind of like the essentials mail system. I'm mainly wanting this to be sort of a helop so to speak. Here is the tricky part, I want it to show a status by the topic, so when someone first types it in beside the message it will say "Open topic" meaning all ops could respond, and when a op responds it would change to "Closed topic" meaning it was taken care of and no need to take action. Would this even be possible with Variable Triggers? Or would I have to use java coding and make my own plugin? You could do some really cool stuff with this also, here is some ideas and how I would like for it to function.
/forum post [name] [topic] [text] (ex. /forum post mrbuddy13 Glitch I found a glitch through the map)
^ How it would appear to ops: -Unread-mrbuddy13-Glitch: then they could type /forum view [topic] and it would open up the message. after that they could respond with /forum reply [topic] and it would reply to the forum post also changing the post from -Unread-mrbuddy13-Glitch to -Responded-mrbuddy13-glitch.
I've got really confused making this and can't wrap my head around it being made from scratch. Any suggestions on how to make this work or make it run smoother? I figured I would have to run alot of variables and cmdargs to make this work correctly, but then again I'm new to this and may be completely wrong.
(also I could manually close topic by typing /forums close [nameofplayer], I know how to do this much.)
-
View User Profile
-
Send Message
Posted Apr 10, 2013This is fantastic plugin.I am using this plugin for 2 months.You can do almost everything this plugin.Thanks for plugin LexLaiden:)
-
View User Profile
-
Send Message
Posted Apr 9, 2013@HunterzCZ
thats my post on spigot xD
just an fyi ;)
-
View User Profile
-
Send Message
Posted Apr 9, 2013Why won't this plugin allow me to use my command macros defined in Command Helper? I don't want to redefine all of them as they are always changing, and I would rather just redefine them in Command Helper and not have to worry about changing it in another plugin too. If anyone knows how to get this working that would be fantastic!
-
View User Profile
-
Send Message
Posted Apr 9, 2013@deleted_10868209
Read the colored words.
-
View User Profile
-
Send Message
Posted Apr 9, 2013Hi, i was just wondering, and i know you have said that if you still don't know how to after reading the page to just not do it, but i cant find the place to enable loops, i did follow what you said but there is nothing where you said it was, and creating it didnt work either, so im just wondering if you can pm me how to enable loops as i want to create a /votejail command which is going successful until the part that i have to wait to get the number of votes wanted. Without loops i dont think i am able to do any other timing system :/ please help me :(
-
View User Profile
-
Send Message
Posted Apr 9, 2013@John__B
Thanks, I am back on build 717 and everything works as expected.
Found this discuss:
http://www.spigotmc.org/threads/async-broken-build-724.1178/
-
View User Profile
-
Send Message
Posted Apr 8, 2013Can someone help me with this because I can't seem to make it work http://dev.bukkit.org/server-mods/variabletriggers/forum/sharescripts/48893-lockship-and-unlock-for-movecraft-users/
-
View User Profile
-
Send Message
Posted Apr 8, 2013@John__B
After a few hours of trying out #717 I have some unexpected outcomes and I'm not sure the exact reason or parts of my scripts that its not happy with. So for now back on 1.5#685 which has been working perfectly for weeks now, I might try the very early 1.5.1 builds tomorrow.
-
View User Profile
-
Send Message
Posted Apr 8, 2013@LihPeu
yeah, i just noticed that last night.. and i had to go back to 718...
-
View User Profile
-
Send Message
Posted Apr 8, 2013@John__B
Thanks for point this async conflict when using Spigot. I have been using 1.5 as I was unsure what version of Spigot 1.5.1 I could use. I noticed the problem when using the @ENITIY script command, it will not spawn mobs and throws a async error in the console when using any spigot build between #718 and #754. I will test more recent builds to see if its possible to use @ENITY, but for now #717 is working as expected.
-
View User Profile
-
Send Message
Posted Apr 7, 2013Hey Jack, I think you will need OnTime for that because I don't think there are efficient ways to do this.
-
View User Profile
-
Send Message
Posted Apr 7, 2013Hello! I want make donate system.
If a player plays 5 days (120 hours) on the server, he teleports in "prison", which says that you need to invest money. Also, after the investment of money, the player can again play forever.
How do it?
-
View User Profile
-
Send Message
Posted Apr 6, 2013@EncryptedCurse
<hasmoney>
@EncryptedCurse
Well, it's literally telling you it can't be 0, so I assume it can't check for 0 money, which is kind of odd.
-
View User Profile
-
Send Message
Posted Apr 6, 2013Referring back to my old script, I'd like to display a different message if the player's balance happens to be 0.
Here's what I added at the end:
The problem is, whenever the player dies, the console prints out "Script Warning: <hasmoney:arg1:arg2> arg2 cannot be Zero or Neg."
What am I doing wrong?
-
View User Profile
-
Send Message
Posted Apr 6, 2013@Nikecow
Still waiting for a <playernick> variable from essentials xD!
At least it's still compatible with 1.5.1.
-
View User Profile
-
Send Message
Posted Apr 6, 2013@PaTr0N
He hasn't logged in for 4 days. I don't think we will see an update any time soon. :(
-
View User Profile
-
Send Message
Posted Apr 5, 2013So here we are it's April. lexlaiden when can we expect a fix for all the exceptions?