Siri

Discussion in 'Plugin Requests' started by Chessnutter, Aug 18, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Chessnutter

    Plugin category: Chat

    Minecraft version: Spigot 1.12.1

    Suggested name: Siri

    What I want:
    When a player says something that matches with the config, [Siri] replies in chat with an answer. The plugin looks at an entire chat message, not a small phrase as part of a chat message.

    - Customisable name in config (default '&c[Siri]&f: '
    - A way to add questions/responces in config. Able to have multiple questions for the same response.
    - If what the player said does not match anything, but is similar (within 5 characters of the original message, configurable) then Siri will assume it means the question similar to the one said.

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: No permissions needed

    When I'd like it by: 21st August.
     
  2. Offline

    timtower Moderator Moderator

    @Chessnutter Maybe I have this already, not sure though, might also be with keywords
     
  3. Offline

    Chessnutter

    I do not want what the player said to be changed, I want Siri to respond with a customisable message
     
  4. Offline

    timtower Moderator Moderator

    @Chessnutter Plugin I am talking about isn't changing messages, it is checking those messages on keywords and then provide a response.
     
  5. Offline

    Chessnutter

    Does it have a similar message checker thingo? If it does, then il be happy to use the plugin!
     
  6. Offline

    timtower Moderator Moderator

    @Chessnutter It does not, it only checks keywords.
    Example config that you probably want to change:
    Code:
    firstrun: true
    messages:
      a:
        answer: 'Timtower is awesome :D'
        question:
        - who
        - awesome
      b:
        answer: 'Notch is brilliant'
        question:
        - who
        - brilliant
     
  7. Offline

    Chessnutter

    Would you mind adding this feature? It would make something like 'briliant' work
     
  8. Offline

    timtower Moderator Moderator

    @Chessnutter So still keep using the keywords but having the keywords be checked on % correct, so that typos are possible?
     
  9. Offline

    Chessnutter

    Yes, because lets face it everyone makes typos in mc. Please make the % configurable. Also, please make it so it doesnt matter if its 'WHO' or 'who' or 'Who' ect.
     
  10. Offline

    timtower Moderator Moderator

    @Chessnutter Was forced to lowercase already I believe to ignore those who things.
    Will look into it.
     
  11. Offline

    arciniegasdiaz

    Like This?
    <Edit by Moderator: Redacted not allowed paid resource url>
     
    Last edited by a moderator: Aug 18, 2017
  12. Offline

    Chessnutter

    If you were linked to "Yourfriend", that is not what I am looking for. I want to be able to edit it, and I also want to be the % correct thing. (and it isnt free XD)
     
  13. Offline

    timtower Moderator Moderator

    @Chessnutter AnswerLikeMe, link can be found in my signature.
    Old system is also still in place and enabled by default, you need to modify the config to enable the similarity stuff.
    I am not responsible for how accurate this is.
    This plugin is untested in this state.
    Example item in the config will be made if nothing is found there.
     
    Last edited: Aug 19, 2017
  14. Offline

    Chessnutter

    Doesn't work - if i type "who" in chat nothing happens. Also, there is 2 configs? I tried copying the content from the first config to the second, but still nothing happened. No console errors.
     
  15. Offline

    timtower Moderator Moderator

    @Chessnutter The one with the capital letter is the active one.
    And if there are 2 words, then they both need to exist.
     
  16. Offline

    Chessnutter

    Neither word works - neither who nor awesome
     
  17. Offline

    timtower Moderator Moderator

    @Chessnutter Use both! They both need to be in the message for it to trigger.
     
  18. Offline

    Chessnutter

    Works! Would you mind making it so that the responce is only visible to the player who spoke it, as well as apearing after the message?

    For example, bob sais "who awesome"
    Bob's chat reads:

    <bob> who awesome
    Tim Tower is awesome

    Player 2's chat reads:
    <bob> who awesome

    Also, can you make it so it supports color codes?
     
  19. Offline

    timtower Moderator Moderator

    @Chessnutter Already supports color codes.
    Message probably needs a delay indeed.
    Will make the message receiver configurable.

    Updated plugin, same download location.
     
    Last edited: Aug 20, 2017
Thread Status:
Not open for further replies.

Share This Page