[CHAT] SimpleAutoReply v0.1 - Forget about answering noob questions! [953]

Discussion in 'Inactive/Unsupported Plugins' started by BreezerFly, Mar 30, 2011.

  1. SimpleAutoReply - Forget about answering noob questions!
    Version: v0.1
    -Credits to xeology for the idea.

    This is a pretty basic auto reply plugin which was made based on a request.
    It'll look at player's chat messages and then if they match any of the messages it has replies for, it'll answer them (Currently in private).

    Any requests, feedback and such is very welcome! :D

    Features:
    * Automatically answers messages based on a configuration file.
    * Configurable messages/replies.
    * Anti-spam system, with a configurable timeout time. - It'll only answer a message once every timeout seconds.
    * Answers messages in private.
    * Supports substitutions:
    Code:
    @player -> Instead of the player's name
    * "Unlimited" amount of replies.

    <Edit by Moderator: Redacted mediafire url>


    Show Spoiler
    Ideas for future versions/TODO:
    -Tell me what you think

    Configurations:
    * Broadcast answer to all players.
    * Delete the message that asked the question.


    Chat commands (Implement GroupManager/Permissions):
    * reload config
    * add reply
    * remove reply
    * edit reply


    Features:
    * Ignore people with some permission.


    Changelog
    Version 0.1 (30/03/2011) - Confirmed to work on build 560 and 602.
    * Released
     
    Last edited by a moderator: Dec 14, 2016
    AS1LV3RN1NJA and MisanthropX like this.
  2. Offline

    Killie01

    nice, i think i can use this, because i'm gonna set-up a complicated server
    with all plugins like iConomy and such
    i won't have to reply to questions like : "how do i buy somthing" and such

    thanks !!!
     
  3. Cool, was made exactly for that kind of stuff!
    Please feel free to ask if you have trouble getting the message recognitions, etc. working. It's using regular expressions, so you can look that up. I'll be posting a more thorough guide tomorrow I believe. If needed that is :)

    Please post any feedback, feature requests, etc.
    I have a few ideas for:
    Configurations:
    Broadcast answer to all players.
    Delete the message that asked the question.

    Chat commands (Implement GroupManager/Permissions):
    reload config
    add reply
    remove reply
    edit reply

    Features:
    Ignore people with some permission.

    What do you guys think?
     
  4. Offline

    Killie01

    well:
    • Broadcast to all - more like: broadcast to all who haven't had the message yet
    • delete the message that asked the question - yes absolulty or it will spam the chat
    • reload - needed :)
    • add reply - of course: playing minecraft... user asking something not in list... answering... adding to list...
    • remove reply - well could be nice but i don't seem to have a reason to remove
    • edit - typo fix/wrong answer fix :p
    • ignore - nothing that bothers me in this
     
  5. Broadcasting like that should be pretty possible - though it'll pop up to them after the timeout have passed.
    Maybe a command to ignore these autoreply messages?
    And ofcourse I'll probably be making that then :p
     
  6. Offline

    nala3

    download link isnt working, why not use filedropper? it doesnt have 30 popups when you click the link-.-
     
  7. Offline

    DannyLAGZLOL

    iconomy is complicating :eek: ?

    it is working, and its mediafire, ( no ) popups...

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

    LudicrousYoshi

    can you explain how to configure it? It looks nice but whatever I try doesnt seem to do anything...
     
  9. It's working for me and other people :)
    Nah, I believe that there's a lot players have to know, which might give a bunch of questions, which is why this is good :)
    I barely get any popups with mediafire. I'm trying to see if I can find some other host though. Dunno what the other people use? - I looked at github, but that's a bigger process when I'm on a laptop :)

    EDIT: And thanks for the Plugin Developer tag and releasing my plugin :p

    Do you know how regex works?
    Either way, you go to the /plugins/SimpleAutoReply/ folder and then open the config.yml
    You keep the syntax it currently has, but you can replace and add items under the replies:
    and you can configure a new timeout (in seconds) at the timeout: 30

    So basically you change the 30 to whatever you want your timeout to be. 60 for a minute and 3600 for an hour.
    Then you have the replies,
    Here you keep the same order as the default ones added.
    But you can change/add new ones. Making a line on the same column as the default one. (4 spaces)
    call it something, it doesn't matter, just has to be unique.
    Then you add a new line, 8 spaces in, write message: <your regex>
    <your regex> can be something like ".*how.*register.*" which will fit anything that contains how and register in that order. So it'll match on How do I register?
    then you add answer: <your answer>
    which is what you want the server to print to the player.
    answer: You register by going to www.somesite.com"
    Example (open)

    Code:
    timeout: 3600
    replies:
        uniquekey:
            message: .*how.*register.*
            answer: You register by going to www.somesite.come
          money:
              message: .*how.*get.*money.*
              answer: You get money by killing monsters.
          coins:
              message: .*how.*get.*coins.*
              answer: You get coins by killing monsters.
    


    I hope this explained well enough :)

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

    LudicrousYoshi

    Thanks! That clears it up!
     
  11. Offline

    Jorrdan

    I assume it wont work on CB 560? Will have to wait for the other plugins to update before i can try it if it doesnt.
     
  12. Good :)
    I believe it worked on 564, something like that, but I can't remember now, since an admin have removed the other build no. from the topic title :)
    Please test it though, if you want to! And report back here :)
     
  13. Offline

    MisanthropX

    I love you sir for make my wishes come true :3
    Thanks a lot
     
  14. Cool :) Any feedback/ideas, please post them here :)
     
  15. Offline

    Jorrdan

    Hey i just want to say it works great on 560. Thank you sooo very much for this plugin, now i don't have to type things over and over and over again to new players who dont like reading signs.
     
  16. Good to hear, thanks for clearing that!
     
  17. Offline

    Zaros

    This plugin looks amazing. I'm totally gonna use this.
     
  18. Cool :D
    Please report back with any ideas/bugs you find.
     
  19. Offline

    Blazednlovinit

    Hi Breeze, little offtopic but how do i send PMs on here? XD
    Also didnt know you could do plugins, seems like it could be very useful depending on how flexible you can make it "understand" questions
     
  20. Yeah, I can make plugins ;) That's why I spoke to Mixxit about it :)

    The questions/sentences it answers to are only limited to the users knowledge of RegEx (Regular Expressions) since that's what it looks for :) The ones I've entered are probably the second most basic form :)
     
  21. Offline

    woodzy

    plugin maker maby u could do like keywords or a set of words? like how, help, to build, etc
     
  22. Please explain.
    You define the questions/answers yourself in the configuration.
     
  23. Offline

    Petomatick

    Please give me a static link to use with the CraftBukkitUpToDate plugin! Thank you :)
     
  24. If I had a place to host it like that, I would! :)
    I might be using dropbox, but I'll be looking into it a bit more when I've solved all the issues with my server regarding the 1.4 update :)
     
  25. Offline

    angus22397

    this is a great plugin, I tested and it works fine; but wont be using it until the rest of my plugins update :D
     
  26. Offline

    Jorrdan

    Hey Breezer, it doesn't work on 621.. i get:

    21:48:46 [SEVERE] Could not load plugins\SimpleAutoReply.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    Hope you fix it soon!

    EDIT:
    Apparantly i did something wrong,.. was working on CB 560 though, now only the default questions work. I will keep testing :)

    Found the issue, the colon.. xD also thank you for making your plugin show where the error is on the console!
     
  27. Offline

    fugue2005

    this plugin is awesome.
     
  28. Eeeeh, it shows where the errors are? Damned bugs <.< :p Lol, guess you just managed to read a stacktrace :p
    Thanks :)
     
  29. Offline

    MeinerHosen

    Just to be clear, lol, does this need to have "how can i become op?" "how may i become a moderator?" "can i be staff?" in the config to answer all the versions of the same question?
     
  30. Well, I believe that if you want to answer with the same answer, you should be able to do something like:
    Code:
    .*how.*become.*mod.*|.*can.*be.*staff.*
    I'm not sure however... My server is currently offline, so I wont be able to test it.
    Could you please write what build you're using my plugin on? I'd like to update the title.
     

Share This Page