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 14, 2015@nxtboyIII
why don't you use premade command like /rank [player] [rank] or /rankup [player]. write the command /rank as /vtcmd rank @CMDCON pex group <cmdarg:2> user add <cmdarg:1>. This allows /rank [player] [rank] execute the command above.
u can go from there
-
View User Profile
-
Send Message
Posted Mar 14, 2015@disciple218
Try printing out the has permission statement and see if it's showing up as anything and debug from there :)
-
View User Profile
-
Send Message
Posted Mar 13, 2015Can someone please take a look at my setup below and tell me if something looks wrong?
-
View User Profile
-
Send Message
Posted Mar 13, 2015@nxtboyIII
Instead of coding an update for this, you could use the tools already here. Make a command for the console named something like run, and use @CALL <cmdline>. then you can type run file:script into console like you could with vtrun.
-
View User Profile
-
Send Message
Posted Mar 13, 2015@Lyoko_Firelyte
How would that fix the problem of running scripts via the console? I'm just trying to run different script files by typing a command in the console like I used to do... I used to be able to type, in the server console, "vt run MyScripts:Script1 nxtboyIII" but now it just says "Error parsing command." Please, please fix this!!!
-
View User Profile
-
Send Message
Posted Mar 12, 2015@brkdgl07
The vars file is read once on boot up and they are all stored in memory, and saved to file on shutdown, the autosave, and if you do /vt savevars. The file size won't really cause any lagg to the server - perhaps it's another source?
-
View User Profile
-
Send Message
Posted Mar 12, 2015Hi, I did a lot of diffirent plugins with variabletriggers. So my savevars config file is very long. Because of this, my server has been a little lag. Now, its not a big problem but when more people come my server, it can be a big problem. To sum up, I want to I ask you can savevars file seperate more parts than one. If there is not a way, can you think about adding this feature.
Thanks a lot.
-
View User Profile
-
Send Message
Posted Mar 12, 2015@GodsMustache
Using Spigot?
Try @SETBLOCKSAFE
-
View User Profile
-
Send Message
Posted Mar 11, 2015@Lyoko_Firelyte
It works now but in order for me to see the blocks I have to relog. I will play around with it some more. Thanks
-
View User Profile
-
Send Message
Posted Mar 11, 2015@GodsMustache
@SETBLOCK [BLOCKID:DATA] [LOCATION]
-
View User Profile
-
Send Message
Posted Mar 11, 2015I am not sure whether to post here or make a ticket. It seems things get answered here more quickly so here it goes. @SETBLOCK seems to be broken.
http://pastebin.com/214aSbTi
-
View User Profile
-
Send Message
Posted Mar 10, 2015Updated to version 2 and rebuilt my script line by line, but it's not working. Here is the contents of my PlayerJoin.yml:
Worlds:
- supply
Cooldown: 0
Cancelled: false
main:
- '@IF b <haspermission:supplyspawn.set> = false'
- ' @CMDCON perm group whitebelt set supplyspawn.set'
- ' @CMDOP setserverspawn <playerloc>'
- ' @PRINT Server Spawnpoint Set'
- '@ENDIF'
When someone joins the server (worldname "supply"), it's supposed to check if they have a permission, and if not run 3 commands. Help please?
-
View User Profile
-
Send Message
Posted Mar 9, 2015Here's a script I ran quite perfectly on 1.3.3.1 of VariableTriggers, but no longer works correctly on 2.0.3.
I've looked through it, trying to change it so that @SETBOOL is now @SET and @IF b is now just @IF, but it still doesn't seem to work correctly.
-92,29,-242:
CoolDown: 0
Script:
- '@IF $jadeharley.sign = false'
- '@AND $sign.<playername> = false'
- '@AND $jadeharley.<playername> = false'
- '@SIGNTEXT -92,29,-242 3 <playername>'
- '@SET $jadeharley.<playername> true'
- '@SET $jadeharley.sign true'
- '@SET $sign.<playername> true'
- '@CMDOP nick &aJade_Harley'
- '@CMDCON pex user <playername> add deluxetags.tag.canon'
- '@CMDCON tags set <playername> canon'
- '@PLAYER &7[&aT&6ITM&7]&b&l You have taken the role! Congratulations!'
- '@EXIT'
- '@ENDIF'
- '@IF $jadeharley.sign = true'
- '@AND $jadeharley.<playername> = false'
- '@PLAYER &7[&aT&6ITM&7]&b&l Someone already took this role!'
- '@EXIT'
- '@ENDIF'
- '@IF $jadeharley.<playername> = true'
- '@SIGNTEXT -92,29,-242 3 (open)'
- '@CMDOP nick off'
- '@CMDCON pex user <playername> remove deluxetags.tag.canon'
- '@CMDCON tags clear <playername>'
- '@SET $jadeharley.<playername> false'
- '@SET $jadeharley.sign false'
- '@SET $sign.<playername> false'
- '@PLAYER &7[&aT&6ITM&7]&b&l You have left the role.'
- '@EXIT'
- '@ENDIF'
- '@PLAYER &7[&aT&6ITM&7]&b&l You already have another role! Get rid of that one
before clicking this one!'
ActiveCooldown: 1425947977188
-
View User Profile
-
Send Message
Posted Mar 9, 2015@nxtboyIII
There is a console command trigger in the files that you can listen to.
-
View User Profile
-
Send Message
Posted Mar 9, 2015Also now /vt run doesn't even work as a player!! it says "Error parsing command"
-
View User Profile
-
Send Message
Posted Mar 9, 2015@Lyoko_Firelyte
Using @CALL is pointless if I can't even run the script from the console in the first place!
-
View User Profile
-
Send Message
Posted Mar 8, 2015I've posted a bug fix from some tickets and comments. I know there are still some existing issues, but I've been quite busy lately and could only get around to a few. Thanks for your patience :) Your reports don't go unnoticed, I normally keep them in a to-do list for later.
Also, I've added @SENDTOSERVER <player> <server> for you BungeeCord users. I'm sure that'll be useful :)
-
View User Profile
-
Send Message
Posted Mar 8, 2015@GodsMustache
I had the time set in milliseconds, opps! This will be added into the next build :)
-
View User Profile
-
Send Message
Posted Mar 8, 2015@Lyoko_Firelyte
Just tried that too with the same results. Maybe it is just broken at the moment.
-
View User Profile
-
Send Message
Posted Mar 8, 2015@GodsMustache
Oh. Ill look into that, I had forgotten that it was a script command as well. However you can manually add the CoolDown in the file :)