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 Mar 19, 2015@Lyoko_Firelyte
I meant to say I was trying to run a script on a player via the console using 'vtcon runscript Server:UpgradeEliteToBoss nxtboyIII'
The runscript is a script with the line '@CALL <cmdline>'
However, apparently you can't call a script on someone else. :( Can you please fix this?
-
View User Profile
-
Send Message
Posted Mar 19, 2015@Lyoko_Firelyte
I'm using @WORLDTP <playername> world
-
View User Profile
-
Send Message
Posted Mar 18, 2015@teoreds
Are you using @TP or another plugin's teleport?
@nxtboyIII
It's a console command... what are you trying to do with a player? You can just write their name, I'm confused.
-
View User Profile
-
Send Message
Posted Mar 18, 2015@RaycusMX
That means that you don't have world edit installed on your server...
-
View User Profile
-
Send Message
Posted Mar 18, 2015@Lyoko_Firelyte
That is working if I use 'vtcon' but how would I call the command on a specific player? When I try to it gives me a parse error :(
-
View User Profile
-
Send Message
Posted Mar 18, 2015@Lyoko_Firelyte
No, vt2.0.3 exactly doesn't work on cauldron server anymore. It said:
That's a pity.
-
View User Profile
-
Send Message
Posted Mar 18, 2015I can't teleport players due to an async error: Asynchronous player tracker clear! I'm running on spigot 1.8, could you fix it?
-
View User Profile
-
Send Message
Posted Mar 18, 2015The PlayerJoin event isn't triggering. Unless my script syntax (which I previously posted) is wrong, this needs to be looked into. Thanks.
-
View User Profile
-
Send Message
Posted Mar 17, 2015@james070508
Yeah this is the third report of this problem, I'll add it to my "fix it soon-ish" list. It seems that once a script is called it sort of loses it when you try to call it again - not sure what's causing this at the moment...
-
View User Profile
-
Send Message
Posted Mar 17, 2015@RaycusMX
It 'should' still work, but I'm not responsible for anything that breaks when using it on a non-intended version >:D
-
View User Profile
-
Send Message
Posted Mar 17, 2015Is VT2 no longer available for 1.7.10 server? What a pity...
-
View User Profile
-
Send Message
Posted Mar 17, 2015Hi, Since the update we've been having difficulties with commands made through VariableTriggers. After a few hours, every time I/the players type a command, EG "/commands", the following error appears in console.
"17.03 16:36:54 [Server] INFO [16:36:54 WARN]: at java.lang.Thread.run(Thread.java:745) 17.03 16:36:54 [Server] INFO [16:36:54 WARN]: at com.github.lyokofirelyte.VariableTriggers.VTParser$1.run(VTParser.java:106) 17.03 16:36:54 [Server] INFO [16:36:54 WARN]: at com.github.lyokofirelyte.VariableTriggers.VTParser.parse(VTParser.java:329) 17.03 16:36:54 [Server] INFO [16:36:54 WARN]: java.lang.NullPointerException 17.03 16:36:54 [Server] INFO [16:36:54 INFO]: [VTV2] > Something went wrong with that line! @ commands line 0 in PlayerCommand.yml."
After a restart, that same command (in this case /commands) works fine.
Here is the "PlayerCommand.yml" file http://pastebin.com/4YJkNAz7
EDIT: /vt reloadscripts & /vt reloadtriggers also seems to fix this bug. as a temporary solution i'll schedule the command to run frequently
Thanks -James
-
View User Profile
-
Send Message
Posted Mar 16, 2015@Lyoko_Firelyte
There is also a problem I told you twice, <cmdline> returns with a blank space before the arguments, this is breaking almost all of my PlayerCommand events which I wrote in VT1.3
-
View User Profile
-
Send Message
Posted Mar 16, 2015@nxtboyIII
Ah yes, to run the console commands you must type "vtcon" first so that the console knows it's from VT. Try typing vtcon before your command :)
-
View User Profile
-
Send Message
Posted Mar 16, 2015@Lyoko_Firelyte
In VariableTriggers/events/system, I edited the file ConsoleCommand.yml to this:
Worlds: - some_world_here - some_other_world_here Cooldown: 0 Cancelled: false runscript: Script: - '@CALL <cmdline>' Cooldown: 0 main: - '@COMMAND' SomeCommand: Script: - '@CMDCON bc Hey' - '@COMMAND' Cooldown: 0
However, typing in the console "runscript Server:UpgradeEliteToBoss nxtboyIII" does nothing, it just tells me it's an unknown command :(
Please help!
-
View User Profile
-
Send Message
Posted Mar 15, 2015Hey guys, This plugin really awesome. I think it's 9.5/10. With this plugin, I did - autorank plugin - quest plugin - bourse plugin - time measurer plugin - time is money plugin - lottery plugin And more. All off theese are working correctly and I hope when I open public my server, my server doesnt give crash.
-
View User Profile
-
Send Message
Posted Mar 15, 2015@Lyoko_Firelyte
AH my problem was I was making 2x2 areas so nothing was going to be in the area. Thanks for the clarification.
-
View User Profile
-
Send Message
Posted Mar 15, 2015@GodsMustache
The area does not include the blocks that are the borders - are you sure you're standing inside of the borders?
-
View User Profile
-
Send Message
Posted Mar 14, 2015http://imgur.com/2ZSVwuN
It says I am not in an area trigger even though I just created one and it is present within the areatriggers.yml
-
View User Profile
-
Send Message
Posted Mar 14, 2015@Lyoko_Firelyte
I removed the IF statement, and it's still not doing anything. I don't think the PlayerJoin event is being triggered.