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.
@Xiamix
Sorry, no, i spend over 40hrs a week working on our server, I don't have the time to help with another server, on top of working 40hrs a week as well....LOL
@xiamix
I'm realy too busy writing this plugin in my spare time. Can't write you server script too!
Look I'll create a forum for script requests so everyone can post requests and anybody that wants to write the request can post it there. OK?
HERE http://dev.bukkit.org/server-mods/variabletriggers/forum/scriptrequests/
@Trouvo
I'm not good at making scripts, can I send you some info and ask you to create the files? I'm actuay creating an fully automated server. If you want, I'll make you VIP. all I need is a good script so I can run the the server 24/7. It's a server with the plugin magicspells so I need a lot of things.
@yourself
there already is @CMD or @CMDOP, or @CMDCON any of those will run a command which can be set as the script for a trigger
such as
/vtwalk @CMDOP gamemode
You should add a trigger that changes game mode that would be cool.
Xiamix, instead of a <isingroup:arg> just make a fictitious node for the place holder <haspermission:arg> to check like group.default, the checking if alive group can be done with @IF/@ELSE using obj.variables and a proper script for it
I've work a little with the plugin, it would be great if you could add by the Functional Place Holders<isingroup:argument> this would check if a player is in a group with a permission plugin. also what i'll need to make this perfect is <onlineplayersingroup:argument> this will make that, for example, a game with magicspells will stop if there are no more players of the group "alive" (example) in the game. a trigger that I'll also would like to see by the event triggers, is the onkick and onban (maybe also onunban)
It would be great to add a @EXIT [filename:script] to stop another script. Also If you could make a tutorial for the @IF @ELSE and more becouse I've used this for other programs but I don'y understnd whats bolean, string integer,.. Thanks
Yes would def have to be careful, thats why i would set it up to run through another plugin, I look forward to seeing that.
Thank you very much for adding the respawn, cant wait to make use of that!
@Trouvo
I like!
Probably something like:
/vtrun filename:scriptname
Would have to be carfull though, they could run any script that they new the filename and script name.
Oh btw i just added @ITEMDROP to the next update. check it out http://dev.bukkit.org/server-mods/variabletriggers/forum/newfeatures/39022-here-is-whats-been-added-so-far-in-the-next-upcomming/#p1
Lex,
had another interesting idea, and it comes from the fact that we use magical spells as one of the plugins on our server, if you are unfamiliar with some of the things it can do.....you can create a spell to run a command or series of commands, so my thought is
Would it be possible to add in a command to run a script? even a command that would run an @CALL would prove to be very fruitful so for example perhaps a command would look like this
/vtcmd @CALL mage:TP
and could even have that inside the magical spells plugin config so that players wont have access to all of them or even know how it works so all they would type would be like
/cast MageTower
if the mage:TP script is set to teleport them to there
@lexlaiden
Thanks that helps
will do....*cracks knuckles in hopeful excitement
@Trouvo
Thats all I tested , you can try. let me know.
@Xiamix
I believe OnSpawn would include any entity, including zombies, pigs, villagers, players etc, thats a lot of events running, and PlayerSpawn would still include OnJoin, i believe, but OnSpawn would include it if PlayerSpawn did, since they are essentially the same but one limited to players
@Lex The @SOUND list above, is that all the available sounds, or can we input any vanilla mc sound?
@Trouvo
yes PlayerSpawn would be good but if you're running a game with magicspells that need to start whenever a players join, OnSpawn would be better.
@jaco161
@SETBOOL $world.ready true
or
@SETBOOL $<worldname>.ready true
This one would use the name of the current world.
How do you create your own variables, for instance I need a boolean(perhaps $world.ready?) to control if a walk trigger will go off. Also as a suggestion a way to use the same script line over and ove would be nice without having to open dialog and repeat the same line over and over.
@Xiamix
Put a question in the script help area with what you are trying to do, i dont think you need to be able to bypass a cooldown...ever, unless you are testing, and i will help you out
http://dev.bukkit.org/server-mods/variabletriggers/forum/scripts/
oh and i was thinking a PlayerSpawn not an OnSpawn, the second could include any entity....which would run a lot, in my perspective anyway
And maybe a command to bypass the cooldown of a script :p