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 18, 2013@jasoncher
View the amount of UNIQUE players to log in with something like:
-
View User Profile
-
Send Message
Posted Jun 18, 2013@Jones988
/vtcmdr <commandname>, /vt savetriggers
-
View User Profile
-
Send Message
Posted Jun 18, 2013Guys something is wrong with my variabletriggers. Any command triggers i try to remove dont get removed and whatever commands i add work, but then I can't remove them. Help?
-
View User Profile
-
Send Message
Posted Jun 18, 2013How would I go about making a player counter for unique logins?
Requirements : -Not reset when server restarts -Only counts a players UNIQUE login.
Thanks! So far, this plugin is so awesome!
-
View User Profile
-
Send Message
Posted Jun 17, 2013@jasoncher
Run a world check.
For permission nodes just add a "Permission: perm.node" under "Override: true"
-
View User Profile
-
Send Message
Posted Jun 17, 2013How would I go about having one of the command triggers usable in only one world?
Like, what would the permissions node be for that ONE command?
-
View User Profile
-
Send Message
Posted Jun 17, 2013@Nikecow
Nope. It depends on what you're trying to check though. You could use something like...
And then test for @IF s $obj.<cmdarg:1> = anything...
I did something similar on logins to set people's rank based on what permission they have, then reference the new rank node later on.
-
View User Profile
-
Send Message
Posted Jun 17, 2013Is it possible to haspermission another player? Like with <Cmdarg:1>
-
View User Profile
-
Send Message
Posted Jun 16, 2013@jasoncher
-
View User Profile
-
Send Message
Posted Jun 16, 2013Wow! This plugin is EXACTLY what I've been looking for!
The only problem I have at the moment, is spacing. I am using the plugin to fix a mob arena error, but I am wondering if it is possible to have spaces in between command?
I want users to be able to do the command /ma join
I have tried :
ma join: Script: - '@PLAYER Bla bla
and
ma_join: Script: - '@PLAYER Bla bla
How would this be done? Thanks! I will totally be donating to this plugin :)
-
View User Profile
-
Send Message
Posted Jun 16, 2013@TheAngryMonkey
/vtc @SETBLOCK 86:1 50,50,50
Change the :1 after 86 for direction, and change 50,50,50 to the coords of the block or put in a variable or a FPH like <triggerloc>, <playerloc> <var:$obj.var> etc.
-
View User Profile
-
Send Message
Posted Jun 16, 2013@DagumBoss
-
View User Profile
-
Send Message
Posted Jun 16, 2013This is incredibly annoying.
I edit the script in notepad. I save it to the server. I /vt reloadscripts in-game. The script doesn't update. I save again and try /vt reloadtriggers. Still doesn't effing update. I try all the different combinations and no matter what the effing script will not update.
-
View User Profile
-
Send Message
Posted Jun 16, 2013Hi I was wondering if it is possible to spawn a pumpkin using the /vtclick @SETBLOCK so that the pumpkin is looking at a specific direction
-
View User Profile
-
Send Message
Posted Jun 15, 2013@Wolf314151
If he tied it into world edit's selections that'd be great XD
-
View User Profile
-
Send Message
Posted Jun 15, 2013Is there a way to set an area without using the wand, using commands while standing on blocks. If not, you should really consider adding it. Otherwise the player has to manually set areas rather than, for example, having a denizen from citizens 2 set it.
-
View User Profile
-
Send Message
Posted Jun 14, 2013@Jones988
Let's look at the command:
/prefix <player> <prefix>
/prefix = base <player> = cmdarg:1 <prefix> = cmdarg:2
So..
I used CMDCON so there's no chat output for the player from PEX.
-
View User Profile
-
Send Message
Posted Jun 14, 2013Sorry for all the questions, but I want to make a command that changes a players prefix
with /prefix (playername) (prefix) that uses PermissionsEx, but I can't figure it out. doing,
@CMDOP pex user <cmdline> prefix <cmdline>
would make it say /pex user (username) (prefix) prefix (username) (prefix) instead of /pex user (playername) prefix (prefix).
How would i put different command arguments into different places :s?
-
View User Profile
-
Send Message
Posted Jun 14, 2013@H8llfire
Also, if you want to check for the 0 if it is null, use
It (at least used to) doesn't always work if you check if it equals 0.
-
View User Profile
-
Send Message
Posted Jun 13, 2013@H8llfire
You can either set them all to null manually somewhere else (depends on what you're using it for, for my "better than herochat" project I used it that way, but it would also work with..)
It looks like it takes a guess as to if $obj.var is a string or an integer when you check for null, because integers are 0 instead of null. Numbers can be strings so it'll check correctly.