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.
In reply to Sir_Drakeon:
In reply to Lyoko_Firelyte:
- '@AND b <holdingitem:<playername>:CUSTOMNPCS_NPCHEART> = true'
- '@AND b <takeitem:<playername>:6638:1> = true'
- '@SETINT $<playername>.hpup <maxhealth:<playername>>'
- '@TELL <playername> HEALTH $<playername>.hpup'
- '@ELSE'
- '@ENDIF'
In reply to Sir_Drakeon:
Hey @if
doesn't work in 1.12 :/
I'm new on VariableTriggers, How do i make "If money is than or equal to 5000" script with @IF?
Releasing beta version here https://dev.bukkit.org/projects/triggerreactor
still a lot more things to do :/
In reply to wysohn:
In reply to johnna:
In reply to johnna:
In reply to wysohn:
In reply to Lyoko_Firelyte:
On going progress if anyone wonder :p
https://github.com/wysohn/TriggerReactor
I've been a big fan of VT for a long time, but it seems the author abandoned the project. I decided to make my own solution that has similar programming syntax as VT. I will release it to the public as soon as it's done.
This is so far what is going on:
original:
#MESSAGE "Start!"
WHILE X >= 0
#MESSAGE (1+(4/2.0)/3*4-(2/(3*-4)) >= 0)
#MESSAGE "X = " X
X = X - 1
ENDWHILE
#MESSAGE "DONE"
result:
MESSAGE is Start!
MESSAGE is true
MESSAGE is X = 3
MESSAGE is true
MESSAGE is X = 2
MESSAGE is true
MESSAGE is X = 1
MESSAGE is true
MESSAGE is X = 0
MESSAGE is DONE
Hopefully VT team will not get upset about it; I really really loved VT and waited it for long time, but it seems the project is just abandoned.
(of course it will work with 1.11.2)
In reply to wysohn:
Considering the simplicity of my plugin, it was somewhat of a struggle at first but as I gained an insight as to how the bukkit API is designed and with a little help from Eclipse, it became easier as I went along. I recommend to anyone looking to start over with someone else's scripting plugin, byte the bullet and just go with Java.
In reply to AncientTom:
In reply to wysohn:
Friends, I need help. How to create a teleport at random at the specified coordinates using triggers? Example: [3000,100,1500 3015,100,1515] teleportation within these coordinates.
In reply to traybg:
In reply to Silversbane:
It has been almost a year since the last update was posted. All the links that point off site, other than the github link, no longer work. The requests made here some months ago have gone unanswered. Lyoko's last response here was last August. No other VT team member has been posting here. Haven't heard From Lexlaiden since Lyoko took over. I think that we've been abandoned and this project is now dead.
I've been studying other programming plugins such as Skript, Denizens, and CommandHelper.I think that I am going to start working with CommandHelper because it was started by sk89 back in 2010 and is still being maintained with the latest update of 5 days ago. Skript and Denizens have a similar syntax but Denizens uses a run-time engine and compiles your scripts during initialization so it should run faster. If CH doesn't work out for me, I will go with Denizen.
I really don't want to jump ship here because I am used to VT's syntax, but if this ship is sinking, I guess I have to. If there is any other bukket/Java programmers out there, please talk to Lyoko and ask him to not just abandon us but pass the baton off to let it continue.