[ADMIN/CHAT/MEC/RPG] VariableTriggers v1.2.6- Triggers w/scripts & Dynamic Variables [1.5.1-R0.1]

Discussion in 'Archived: Plugin Releases' started by LexLaiden, Jun 2, 2012.

  1. Offline

    MrMontor

    Two thoughts of mine and one question:

    1. This plugin is AWESOME.
    2. I think no one does the video because the short tutorials you made are not that bad.
    3. Script line: '@DROPITEM Bow 1 Infinitearrows:1,Arrowdamage:50 -337,64,735' - why doesn't that enchant the bow?

    Montor
     
  2. Offline

    LexLaiden

    because those are not enchantment names You can read your consol for script error info

    Go here for enchantments http://www.minecraftwiki.net/wiki/Enchanting
     
  3. Offline

    MrMontor

    Thanks!
    I already have those essentials enchantments in my head they wont go out that easily^^
     
  4. Offline

    LexLaiden

    I think will be adding a <lightlevel> placeholder
     
  5. Hey, Lex,
    I was looking at your scrolling sign code-nice job, by the way-and I was thinking, wow, I'll have to use this on my server.
    But one thing really bugs me. You have to nest IFs and ELSE'S. It's kind of a pain. Anyway, it would be great for the next update if
    You could ad the @ELIF command, or be able to have multiple ifs function in the same if block. Great plugin though, I'd say on a scale from 1 to 10, with one being the Farts plugin, and 10 being Essentials, I'd say, with even basic programming experience, this is a 10, and that's only because the scale doesn't go any higher. I look forward to seeing what the Bukkit community creates with this.
    (and yes, I misspelled my name.)
     
  6. Offline

    xJoshJx

    This is very nice.. I love how you can set triggers for when things are clicked or walked on.
    Only thing I must bring up... is how similar this is to CommandHelper only.... not using commands....just.. clicks and location.

    I write mega script with CommandHelper and would love to trigger the scripts with your methods of walking and clicking.
    May I suggest you make this or a separate plugin hook into CommandHelper so I can use my scripts from it?

    Thanks,
    Josh
     
  7. Offline

    LexLaiden

    You can nest if blocks inside other if blocks (as many as you want) Its called nestted if statements in other languages.

    Never seen that plugin so I have no idea of there scripts. I would have to see what there scripts consits of and then write n interpreter for theres.. Probobly not. Sorry.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  8. Offline

    PoorBoyDrew

    I saw on your project forum that you have added @GETLIGHT command to get the light level at a location. Any idea when this next update will be released?
     
  9. Offline

    LexLaiden

    Not sure. When I add enough cool stuff or have a major bug to fix.
     
  10. Offline

    LexLaiden

    Just added a new video at the top. If you havent seen it yet do so. Its on a server i was invited to.
     
  11. Offline

    LexLaiden

    OK I just uploaded v1.1.1

    Lots of new features. Give bukkit team a chance to approve it and then download it.
     
  12. Offline

    LexLaiden

    OK I am adding Area Enter and Exit triggers right now and will be in the next update along with some other features.
     
  13. Offline

    PoorBoyDrew

    I cant wait for the AREA triggers! When do you expect to release?
     
  14. Offline

    LexLaiden

    I have them (area trigger) but still testing should be released this week some time.
     
  15. Offline

    LexLaiden

    V1.1.2 is released!!!!
    This includes the addition of Area Triggers plus many new features. Go check it out
    http://dev.bukkit.org/server-mods/variabletriggers/

    Well I uploaded it over 6 hrs ago and still waiting for someone to approve for download.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
    PoorBoyDrew likes this.
  16. Offline

    PoorBoyDrew

    I got it this morning. I thank you very much for the area triggers!

    Ho and that @QUIET command to freeze players chat window so he can read text is cool
     
  17. Offline

    LexLaiden

    Thanks you.
     
  18. Offline

    Rofl Disney

    If you have 'LevelTools' it will make this plugin buggy, so you'd have to get rid of it. I love this plugin for making Zelda dungeons =)
     
  19. Offline

    LexLaiden

    What he is saying is that VariableTriggers does not play well with LevelTools. He told me LevelTools throws a NullPointer Exception. I haven't used LevelTools so I don't know If it is doing something wrong or If something VT is doing that causes LevelTools to have a problem. Anyone else use LevelTools /w VariableTriggers?
     
  20. Offline

    LexLaiden

  21. Offline

    WinkBlink

    How would I make it so when someone hits a button it uses a command? like i want to make it say (Persons name) has passed the quiz or something like that
     
  22. Offline

    LexLaiden

    Create a click trigger on your button like this

    /vtclick Player <playername>You have passed the quiz!
    then click your button to create trigger
    You can add more lines of script to do other things if you want
    /vtclick @DROPITEM Iron_sword 1 Sharpness:3 <playerloc>
    click the same button.

    To use ingame commands
    CMD
    CMDOP
    CMDCON

    You can get all this information from the getting started docs on project page.
    http://dev.bukkit.org/server-mods/variabletriggers/

    Does enyone what the addition of Command triggers added to this plugin?

    This would allow you to create /commands that run script when players type your commands.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  23. Offline

    hawkfalcon

    Yes please.
     
  24. Offline

    PoorBoyDrew

    That is going to be really cool
     
  25. Offline

    LexLaiden

    OK /command Triggers are being coded in. should have a release in a few days
     
  26. Offline

    Norgad

    LexLaiden ; I'm probably being ignorant because I don't entirely understand how to do stuff on this plugin. Is it possible to flip a variable based on whether or not a certain block is at a certain location? For example, what if I want somebody to light a netherrack brazier at (100, 70, 500). Can your plugin check to see if their is an instance of fire at (100, 71, 500) and then break a block/move a block/teleport the player/other stuff? Sorry if I'm being blatantly ignorant, again. I am a n00b that knows nothing about Java. XD
     
  27. Offline

    LexLaiden

    Thats ok, this plugin has nothing to do with Java. The script commands are not Java they are just text command that my plugin interprets. As for your questions, yes, no not break but remove, yes, yes and yes.

    You write basic script lines to make things happen. Your first question is done by first getting and saving the block type:data to an object variable then testing the type to see if its fire.
    @GETBLOCK $temp.fireblock x,y,z
    @IF s $temp.fireblock = 51:0
    if it is then do some other fune stuff
    @TP $loc.dungeon
    You can get the block type:data from this http://minecraft-ids.grahamedgecombe.com/

    You could probably do this by putting this on a click trigger on the neterrack block but pause for half a second before testing the block above the trigger(neatherrack) to make sure they set it on fire.

    Type these lines in and then click the neatherrack after each line.
    /vtclick @PAUSE 0.5
    /vtclick @GETBLOCK $temp.fireblock <relativeloc:<triggerloc>:0,1,0>
    /vtclick @IF s $temp.fireblock = 51:0
    /vtclick @TP $loc.dungeon

    You know I have a docs section on project page you should read.
    http://dev.bukkit.org/server-mods/variabletriggers/pages/docs/getting-started/
     
  28. Offline

    PoorBoyDrew

    When are you releasing the update with Command triggers added? I can't wait.
     
  29. Offline

    LexLaiden

    v1.1.4 has been uploaded and is awaiting approval.

    Probably another 20 hours. This is the update that adds Command Triggers so you can extend or override existing ingame /commands or create your oun new /commands
     
  30. Offline

    Motorman

    Looks promising... the potential behind this plugin is amazing. Its almost like a new, easier way to program, but from INSIDE Minecraft. Who needs java plugins when you can make your own with just this one? :D
     
    LexLaiden likes this.

Share This Page