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 6, 2013@lexlaiden
Thanks lex. The player is in the nether and respawning there via HomeSpawnPlus plugin found here: http://dev.bukkit.org/bukkit-mods/homespawnplus/
EDIT: The effect that I'm aiming for is that when a player dies, either in the overworld or nether, they are spawned at a random location in the nether with items that I define.
-
View User Profile
-
Send Message
Posted Jun 6, 2013@alexander_gq
Would only work if they respon in world_nether as per your script. If your respon is set to the main world then put this script on that world.
-
View User Profile
-
Send Message
Posted Jun 5, 2013@joshuawilde
Not trying to sound rude, this is the only way to say it.
Please try reading the Documentation. http://dev.bukkit.org/bukkit-mods/variabletriggers/pages/docs/in-game-commands/
you will see /vtcommandoverride
-
View User Profile
-
Send Message
Posted Jun 5, 2013I do this:
But upon respawn no items are dropped, and nothing is output to the console. Please advise.
-
View User Profile
-
Send Message
Posted Jun 5, 2013How do i make it so on VTCommands it doesn't say "Unknown command" whenever i type the command i created?
-
View User Profile
-
Send Message
Posted Jun 4, 2013@Hangar
There's a section in the Forum for requesting features.
http://dev.bukkit.org/bukkit-mods/variabletriggers/forum/tell_me/
-
View User Profile
-
Send Message
Posted Jun 4, 2013I don't suppose you could add the sounds minecarts make when you're riding in them?
Thanks :)
-
View User Profile
-
Send Message
Posted Jun 3, 2013@Lyoko_Firelyte
Thanks.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@H8llfire
Hmm, I just tested it out and it appears you're right.
http://imgur.com/9S3T9l6
That message should only display if it's NOT null, and I've never referenced that variable before. Interesting.
On another note, string VS string referencing works fine.
http://imgur.com/ffsf1YY
No issues there.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@Lyoko_Firelyte
Yeah it is, just saying that reverse checking if a string is not null doesn't seem to work.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@H8llfire
Well, if for whatever reason it's not actually working, your boolean check should do the trick as well.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@Lyoko_Firelyte
Not exactly. I had a simple script which sets a string, lets say $<playername>.whatev.
That does work perfectly, but I had another check if that string has already been set,
@IF s $<playername>.whatev != null
@PLAYER you already set that
@EXIT
@ENDIF
That didnt work. I changed the behaviour of the script a bit to just set a boolean and send a mail with that information. No biggy though.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@lexlaiden
Thanks Lex for all of your hard work on this plugin! You've adapted to many complaints that could have easily been ignored, and I think you're doing a great job keeping this plugin one of the best ones out there.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@GamersSynergy
Do not edit server-side configurations with this plugin while the server is running. Shut down the server, edit your configs to change your auto-save timer, and then turn the server back on.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@joshuawilde
@H8llfire
You're doing it wrong. You can't check for null on a <cmdline>. You use <cmdargcount> for that.
You get it. Null works for almost everything else.
-
View User Profile
-
Send Message
Posted Jun 3, 2013Changing the autosave interval from 18 to anything else, and then saving the config file and restarting the server, does nothing. It actually reconfigures the config file back to 18.
Any idea on any other way to change this? I tried setting it to 720 minutes, which is 12 hours.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@joshuawilde
Yeah, thats an issue. Usually it should be null, but that doesnt work somehow for me.
-
View User Profile
-
Send Message
Posted Jun 3, 2013How do you check if a string variable is nothing?? I tried doing '@IF s <cmdline> = ' and '@IF s <cmdline> =' but they don't work
-
View User Profile
-
Send Message
Posted Jun 2, 2013I already tested the new build out and it seems to work nicely.
However, this day I come onto my server and players complain about lots of things not working correctly. The problem was that any @CMD, @CMDOP or @CMDCON did not execute and did not even leave an error behind. I restarted the server and it fixed it, however I dont know what happened here. Im on spigot.
-
View User Profile
-
Send Message
Posted Jun 1, 2013Version 1.2.6 has just been uploded. This one hopefully addresses the remaining async errors.
http://dev.bukkit.org/bukkit-mods/variabletriggers/files/27-variable-triggers-v1-2-6/
I still need your feedback so please visit this thread http://dev.bukkit.org/bukkit-mods/variabletriggers/forum/general/53546-spigot-server-issues/ and post any server errors I have not fixed.