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 Oct 12, 2012I posted a water fountain script (and video) in the forum: http://dev.bukkit.org/server-mods/variabletriggers/forum/video/share/44026-animated-water-fountain/#p1
:D
-
View User Profile
-
Send Message
Posted Oct 11, 2012I don't know why, but I can't use @CALL comand. In console:
"Script error: Trigger: World_Budowanie_Click_67331562 Script: Trigger Line 1 - @CALL unkown script myscripts:abc Ignoring line and continuing
In the VariableTriggers folder:
example.script.yml mysrcipts.script.yml
In the myscripts.script.yml: Scripts: abc: Script: - '@PLAYER abc'
-
View User Profile
-
Send Message
Posted Oct 10, 2012@lexlaiden
okay. thanks buddy. I'l run this by the Spout team as well then
-
View User Profile
-
Send Message
Posted Oct 10, 2012@Kiak
@Kiak
I would say Spout
Looking at the stacktrace it looks like line 29 of vt event call is checking permissions
if(event.getPlayer().hasPermission("vtriggers.use.walk"))
and it traces to spout hasPermission call
look like a conflic with VT and Spout
Or I should say it looks like spout may be overriding bukkits haspermission and does'nt have vtriggers.use.walk and causes a null pointer. This is just my first impression. I'll look at it harder when I get time.
-
View User Profile
-
Send Message
Posted Oct 10, 2012@Kiak
Here's another one from today
I suspect the main culprits are Spout and maybe Heroes
I was doing a "/tp" command when this error occured
again. i didnt notice any effect in game. only when viewing my log
-
View User Profile
-
Send Message
Posted Oct 10, 2012@lexlaiden
Hey bro, i pulled this error from my log last night
I didn't notice anything in game
I was smashing characters around with heroes skills at the time so its possibly to do with a push pull or movement skill
-
View User Profile
-
Send Message
Posted Oct 9, 2012@lexlaiden
I was hoping you might edit that page so other people didn't wind up confused as I did :p
-
View User Profile
-
Send Message
Posted Oct 9, 2012@xtremetom
Sometimes things don't work, I have the same problem. They SHOULD work, but they don't.
-
View User Profile
-
Send Message
Posted Oct 9, 2012what is best way to compare two i variables
@IF i $pball.blue >= i $pball.red' @IF i $pball.blue >= $pball.red'
neither seem to work
-
View User Profile
-
Send Message
Posted Oct 8, 2012@Hangar
No. Always use script.
somename.script.yml
-
View User Profile
-
Send Message
Posted Oct 8, 2012The example on the scripts page refers to a file named "myscripts.scripts.yml". Is that "s" on the end of scripts supposed to be there?
Thanks.
"Say you have a script file named myscripts.scripts.yml and inside it you have two scripts named abc and TempleTP like so:"
-
View User Profile
-
Send Message
Posted Oct 7, 2012@doublecow1 I had the same idea but my one goes
and gives me a sign with them on it wherever i am :)
-
View User Profile
-
Send Message
Posted Oct 7, 2012hey mate i just got this random exception in my server.log today
I don't actually know what i was doing when i triggered it though sadly :(
Could easily be a problem with my scripts or a problem with other plugins (i have many)
But just looking at it, does the error give you any hints or clues?
-
View User Profile
-
Send Message
Posted Oct 7, 2012@twisted067
The best way is to do a variable such as $<playername>.uses. Make it a boolean for one time use or an integer for moretimes You could then have an
- '@IF i $<playername>.uses > 3' - ' @PLAYER sorry, you've used all your tokens up' - '@ELSE' - ' @[YOURTHINGHERE]' - '@ENDIF'
Something like that. If anyone feels this is incorrect, please say otherwise.
Hope this helps- have fun!
-
View User Profile
-
Send Message
Posted Oct 6, 2012@Seoxiwleto
<relativeloc:> would be so much easier...
-
View User Profile
-
Send Message
Posted Oct 5, 2012One of my favorite command triggers is /colors. Simply displays a list of the color codes to the player for quick color coding!
-
View User Profile
-
Send Message
Posted Oct 4, 2012Hello!
Absolutely awesome mod; Just started using it the other day and feel that it's completely amazing!
One of our buildings has a semi-circle wall made of glass on one of its outside faces, and I'd like to make a lever that raises/lowers a "blast shield" that fits the wall. I'd have to delete the bottom layer of blocks/add the top and do the opposite on the way down, which would result in 100 or so deletes and 100 or so creates each "move." I haven't just tried it yet because it'll take a while to set up (unless anyone knows of an easier way D< I'm gonna open the clickevent file and manually add each @SETBLOCK with coords that I took down) and I don't want to try it just for it to crash terribly. Is moving 200 blocks going to be too much? x.x
EDIT: Finally got the file to save and loops are working; Wouldn't work while the server was up but I was unaware that that was the issue, so i've now got 1/16th the code I'd need - thank god. I'm trying to do something like this: @SETBLOCK 5 500,$variableYvalue,100 but it's telling me I need an integer value (and the variable is indeed an integer.) Is there proper syntax for using a variable in a location like that or something?
-
View User Profile
-
Send Message
Posted Oct 4, 2012This plugin needs to never die. Completely essential to my server.
-
View User Profile
-
Send Message
Posted Sep 30, 2012@twisted067
integers and boolean
-
View User Profile
-
Send Message
Posted Sep 30, 2012@twisted067
Use variables.