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 Jun 23, 2013@Lyoko_Firelyte
Im trying to make something a bit simpler.
Here is what I've got so far. Essentials adds the delay (I forgot that), so I just changed my @CMDOP to @CMD. So that is solved.
But! I want to make it so that IF a player successfully warps, THEN it will do a @PLAYER message..
I have tried doing @IF s <worldname> = Minigames BUT the problem is that it gets the worldname from BEFORE the TP. (Yes, I have added a @PAUSE 10 even!)
-
View User Profile
-
Send Message
Posted Jun 23, 2013@jasoncher
This one's a fun one, let's see what I can do! I'll do it a little differently than normal so that you can't cheat it.
I tested it on my server and it works fine. Remember to have AdvancedMode on.
Added a node to ensure you can't spam it over and over
-
View User Profile
-
Send Message
Posted Jun 23, 2013@jasoncher
Also, I just realized you only have a reputation of "2!" Im going to like the posts that you help me out with :)
-
View User Profile
-
Send Message
Posted Jun 23, 2013Gosh, I love this plugin :)
Just a quick question. I have a command called "/parkour" :
parkour:
Override: true Script: - '@PLAYER &bNow taking you to the Parkour. &aPlease wait 5 seconds' - '@PAUSE 5' - '@CMDOP warp parkour' - '@PAUSE 2' - '@PLAYER &bRight click a sign to join parkour.' === Because this is a PVP server, I have it wait 5 seconds before tping, but this command can still be abused.
How can I make it so that during the 5 seconds wait period, if a user moves, it will cancel the script?
-
View User Profile
-
Send Message
Posted Jun 21, 2013A better video 9x9 Gate with lock system http:www.youtube.com/watch?v=yC0zoJ9nGY8
EDIT: if you want i can make a better one :P or a big tutorial
-
View User Profile
-
Send Message
Posted Jun 20, 2013I made a video of an animated door :D
http://youtu.be/oFrvDaqYqEM
-
View User Profile
-
Send Message
Posted Jun 19, 2013@jasoncher
If you look for a generic auto-message plugin that would probably be less stressful on your server than making one with VT as you would have a thread open nearly 24/7. You may need to turn on advanced mode as well to enable loops (find out how in the documentation).
-
View User Profile
-
Send Message
Posted Jun 19, 2013@EdictServer
There's currently a bug in bukkit with spawning them. Essentials /spawnmob also has the same issue. They do fight with melee, however!
-
View User Profile
-
Send Message
Posted Jun 19, 2013Thanks for sharing your knowledge @Lyoko_Firelyte . It has been immensely helpful as I have been learning to better use VT. I have a quick question for you if you don't mind.
Does @ENTITY always spawn skeletons and pig zombies without weapons? I did the following...
... and both of the groups spawn unarmed. Skeletons without bows don't fight very well. Is there an additional bit I am missing to arm them?
-
View User Profile
-
Send Message
Posted Jun 19, 2013I got the ScoreboardStats plugin, but the character limit is getting in the way.
How can I make an automessager?
-
View User Profile
-
Send Message
Posted Jun 19, 2013@jasoncher
No problem :) I've made many systems that are better than full plugins using this plugin and I like to share my knowledge about it with people.
As for your scoreboard, you'd have to use @CMDOP or @CMDCON to execute /scoreboard commands in your scripts - it can't make a fake scoreboard GUI or anything like that on it's own.
-
View User Profile
-
Send Message
Posted Jun 19, 2013Im trying to use this to replace as many plugins as I can. Btw, Lyoko_Firelyte, thanks for being so helpful!
It it possible to make a stats menu at the right side of the screen for players (kinda of like the ScoreboardStats plugin) that I can just add text into, but not have the character limit.
-
View User Profile
-
Send Message
Posted Jun 19, 2013@Lyoko_Firelyte
Hmm yeah! I found Magicspells, i'll try to config it to bind powers to weapons and armors, thx for advise =)
-
View User Profile
-
Send Message
Posted Jun 18, 2013@Ordrox
You'd need to make / download a plugin for that.
If you want to get semi-crazy, you could do a boolean item check for whatever "legendary" item they need and have a command that triggers a countdown, and use the variable for where they are aiming for where lightning / blocks / fire / etc would go. I made a few-thousand-line script that creates classes but it's really not what you're looking for.
-
View User Profile
-
Send Message
Posted Jun 18, 2013@jasoncher
I swapped it to a false check instead of true so it's a tad shorter. #optimization
-
View User Profile
-
Send Message
Posted Jun 18, 2013@Jones988
I've found looking at the raw vardata does not update correctly sometimes, but the values exist. Also, Join events only effect the world you specified for it. If you have multiple worlds, convert the join script into a script.yml file and run a @CALL in each world to save yourself time. Or just copy/paste into each world. If you open your event triggers.yml it should say "World:... etc" and then the scripts for that world.
Sidenote: What's with everyone using an object as <playername>? It makes more sense to store <playername> as variable/extension such as login.<playername> because the group would be "login" and <playername> would be a list of players. Food for thought.
-
View User Profile
-
Send Message
Posted Jun 18, 2013I tried creating an event called "Join" which would run this command on player join:
@SETBOOL $<playername>.login true
looking further in to detail, I looked at vardata.yml and found that the people that joined did not have this bolean as true. some people did have it as true though.
Any solutions?
-
View User Profile
-
Send Message
Posted Jun 18, 2013@jasoncher
not sure about unique players, but you could make a:
'@ADDINT $<playername>.joinamount 1'
'@IF i $<playername>.joinamount = 1'
'@BROADCAST Welcome <playername>! to the server!'
-
View User Profile
-
Send Message
Posted Jun 18, 2013@Lyoko_Firelyte
Thanks! But how would I make it broadcast on a players first join.
Ex : When a player joins for the first time, it would do : @BROADCAST Welcome [Userjoining] to the server! [UniquePlayerCount] unique players have joined!
-
View User Profile
-
Send Message
Posted Jun 18, 2013Hi there! I would like to know if it possible to trigger commands by right/left clicking? I want to create legendaries weapons that cast spells and such.