QAPlugin Configuration

Dec 24, 2016
QAPlugin Configuration
  • QAPlugin
    Configuration

    Code (Text):

    # ------------------------------ #
    #
    #  QAPlugin 1
    #  (c) Maxim Van de Wynckel
    #
    # ------------------------------ #

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    # GENERAL PLUGIN SETTINGS
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    ## Config version (DO NOT EDIT)
    config: 1

    ## Language file
    lang: 'en'

    ## Debug mode
    debug: false

    ## Log to file
    log:
      enabled: true
      # Reset log on startup
      reset: false

    ## Update checking
    update:
      check: true # RECOMMENDED YOU LEAVE THIS TRUE

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    # PLUGIN SPECIFIC SETTINGS
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    # Disabled worlds. Add your world name in this list to
    # disable it.
    # The QAPlugin will not 'LISTEN' to chat in these worlds
    # announcement messages won't appear in these worlds as well
    disabled-worlds:
    - 'example_world'

    # API.ai integration
    # This allows you to add artificial intelligence by adding/creating your own bot
    api-ai:
      # When enabled, all questions that are not configured in this plugin
      # will be redirected to the online API
      enabled: false
      # See: https://www.spigotmc.org/wiki/qaplugin-adding-custom-ai/?noRedirect=1
      client-access-token: ""
      # Not required at this point
      developer-access-token: ""

    # QUESTION SETTINGS
    #   Settings related to questions and triggering
    question-settings:
      # Triggers are required to filter false positives
      # You can give the QA Plugin a name like "Server"
      # or you can use "what","who","how","when"
      # You may want to include your name as well...
      # You can leave both start and end empty (start: [] , end: [])
      # but this may not give good results.
      triggers:
        # Start triggers check for with what a phrase starts
        start:
        - 'maxim '
        - 'maxim, '
        - 'helper, '
        - 'bot, '
        - 'helper '
        - 'bot '
        - 'hey helper '
        - 'hey maxim '
        - 'hey bot '
        - 'hey bot, '
        - 'hey maxim, '
        - 'hey helper, '
        # End triggers check for with what a phrase ends ("?")
        end:
        # "Hey what is that plugin maxim?"
        - ' maxim'
        - ' maxim?'
        - ' maxim!'
        - ' helper'
        - ' helper?'
        - ' helper!'
        - ' bot'
        - ' bot?'
        - ' bot!'
      # Hide the question in the chat for all players except the one who asked it
      hide-question-player: false
      # Hide the question in the chat for all players
      hide-question-all: false
      # If you prefer to use words instead
      # of phrases for your questions you can set the minimum-matches
      # this will only show "an" answer when a minimum amount
      # of matches is reached.
      #
      # (For example: "what","plugin","you","use","for","the","tab")
      # You do not want to trigger a question when a user just asked "what"
      # you want it to at least match 3-4 words
      # THIS IS OVERIDDEN BY THE minimum-matches in the individual questions
      # set to -1 to disable.
      minimum-matches: -1

    # ANSWER SETTINGS
    #   Settings related to answering a question
    answer-settings:
      # Broadcast answer to everyone
      # When turned to false it will only send the answer to the player
      # who asked the question
      broadcast: true
      # Answer prefix: This will add a prefix to the answer
      # useful if you want to format the answer.
      # You can also use MVdWPlaceholders placeholders
      # here.
      prefix: '&7[&cBot&7] &cHelper&f: '
      # Answer suffix: This will add a suffix to the answer
      # useful if you want to format the answer
      suffix: ''
      # Answer delay (delay before a response is made (in ticks)
      response-delay: 4
      # Show unknown question messages
      # hide if you have commonly triggered triggers
      unknown-question:
        # Disabling unknown-question will just not return anything
        # when the question is not found.
        enabled: true
        # A list of possible responses
        # You can also use MVdWPlaceholders placeholders
        # here.
        responses:
        - "Sorry, I can't answer that question :("
        - 'I think you better ask a real player.'
        - "I am smart... but sorry I can't help you with that."
        - 'Maybe try rephrasing it?'
        - 'My responses are limited to my masters configuring skills.'
        - 'Lets change subject shall we?'
        - 'ERROR: I can not find your question! #NotReallyAnError'


    # Announces that you can ask QAPlugin a question
    announcer:
      # Enable announcer
      enabled: true
      # Announce with the same prefix as configured
      # with answers. [Bot] Helper: Ask a question!
      answer-prefix: true
      # Interval in seconds
      interval: 360
      # Randomize the "list"
      randomize: true
      # A list of random announcements
      list:
      - 'Hey! Got a question? Type &7&o"Helper, <QUESTION HERE>"'
      - 'If you need help, ask me ;)'
      - 'Ask me anything (except money)'
      - 'Ask your question: &7Helper ..question here..'


    # Here you put your questions
    #  a-logical-question-name-here:
    #    questions:
    #    - 'when this phrase is in it'
    #    minimum-matches: -1
    #    answers:
    #    - 'possible random answer 1'
    #    - 'possible random answer 2'
    #
    #
    # 1) Both questions and answers can make use
    #    of MVdWPlaceholderAPI.
    #    This means you can use sounds,
    #    commands and more in the answers.
    # 2) Answers are randomly chosen
    # 3) If questions have similar matching
    #    'questions' the one with the most matches
    #    will be used to provide an answer.
    questions:

      # Example question with comments that describe what happens
      plugin-featherboard:
        questions:
        # The first line should ALWAYS be a nice looking phrase (used for "Did you mean")
        - 'What scoreboard plugin do you use?'
        - 'scoreboard'
        - 'what is the scoreboard'
        - 'what plugin is the scoreboard'
        - 'featherboard'
        - 'sidebar'
        # This is the amount of matches that should be met MINIMUM
        # -1 is that any match will do fine
        minimum-matches: -1
        # The answer will be chosen randomly
        answers:
        - 'We use &7FeatherBoard&f made by Maximvdw for the scoreboard.'
        - 'Behold the cool looking FeatherBoard scoreboard!'



      plugin-featherboard-hide:
        questions:
        - 'How to hide the scoreboard?'
        - 'hide'
        - 'toggle'
        - 'remove'
        - 'delete'
        - 'sidebar'
        - 'scoreboard'
        - 'side bar'
        # Minimum matches means we need a minimum of two matches in the above list of
        # possible question(parts). For example "hide" and "scoreboard" would be enough
        minimum-matches: 2 # "hide+scoreboard"
        answers:
        - 'Does it disturb you? Try &7/featherboard toggle&f.'
        - 'Use &7/featherboard toggle&f to hide the scoreboard.'
      plugin-featherboard-show:
        questions:
        - 'How to show the scoreboard again?'
        - 'show scoreboard'
        - 'show sidebar'
        minimum-matches: -1
        answers:
        - 'Try &7/featherboard toggle&f.'
        - 'Use &7/featherboard toggle&f to show the scoreboard.'
      plugin-airbar:
        questions:
        - 'What is the boss bar plugin called?'
        - 'airbar'
        - 'what is the boss bar'
        - 'what is the bossbar'
        - 'bossbar'
        - 'boss bar'
        minimum-matches: -1
        answers:
        - 'We use &7AirBar&f made by Maximvdw for the boss bar.'
        - 'That floaty thingy is called &7AirBar&f by Maximvdw!'
      plugin-ewg:
        questions:
        - 'What world generator do you use?'
        - 'nice world'
        - 'world generator'
        - 'worldgenerator'
        - 'nice tree'
        - 'epicworldgenerator'
        - 'EWG'
        minimum-matches: -1
        answers:
        - 'We use &7EpicWorldGenerator&f made by minelazz!'
        - "Its Epic right? It's called &7EpicWorldGenerator&f by minelazz"
      towny-create:
        questions:
        - 'How to create a town?'
        - 'how to create'
        - 'how to make'
        - 'how to start'
        - 'town'
        - 'town create'
        minimum-matches: 2
        answers:
        - 'First check &7/towny prices&f for the prices. When you have enough money use &7/towny new MyTownyName&f.'
      crafting:
        questions:
        - 'how to craft'
        - 'what is the crafting recipe'
        minimum-matches: -1
        answers:
        - 'Google it.'
      money:
        questions:
        - 'Where can I see my money?'
        - 'where can i see my money'
        - 'money'
        - 'how much money'
        minimum-matches: -1
        answers:
        - 'You have &2$&f{money_formatted} . Use &7/money&f next time ;)'
      money-get:
        questions:
        - 'Where can I get money?'
        - 'where can i get money'
        - 'where get money'
        - 'how to sell'
        - 'sell items'
        - 'sell diamond'
        - 'sell gold'
        - 'sell '
        - ' sell'
        - 'where'
        - 'money'
        - 'need money'
        minimum-matches: 2
        answers:
        - 'Sell diamonds and gold at the spawn. Or get money by killing players/mobs.'
        - 'To sell: go to spawn and sell diamond/gold, you can get money by voting and killing players or mobs as well.'
        - 'I need money as well :(, can you give me some? Maybe check the spawn to sell things.'
      plugin-battlelevels:
        questions:
        - 'What plugin do you use for levels?'
        - 'levels plugin'
        - 'score plugin'
        - 'level plugin'
        - 'score plugin'
        - 'battlelevels'
        - 'kill rewards'
        minimum-matches: -1
        answers:
        - 'We use &7BattleLevels&f by RobiRami.'
      plugin-battlelevels-levelup:
        questions:
        - 'How to gain levels?'
        - 'gain levels'
        - 'level up'
        - 'levelup'
        - 'get score'
        - 'levels'
        minimum-matches: -1
        answers:
        - 'You level up or gain more points by killing players or hostile mobs.'
        - 'You can level up by killing another player or mobs.'
        - 'Well,... go to battle?'
        - 'By killing mobs or players... or you can ask Maximvdw (but he will not give you levels)'
      misc-die:
        questions:
        - 'die'
        - 'kill yourself'
        minimum-matches: -1
        answers:
        - '&o* RIP *'
        - 'I am not suicidal'
        - 'IRL?'
        - 'I can not kill myself.'
        - 'ERROR: ClassNotFoundException (me.helper.killmyself)'
        - '...'
        - 'How about no?'
      misc-insult:
        questions:
        - 'suck'
        - 'asshole'
        - 'fuck'
        - 'loser'
        - 'looser'
        - 'l0ser'
        - 'noob'
        - 'n00b'
        - 'dick'
        minimum-matches: -1
        answers:
        - 'If you keep insulting me, I will ignore you!'
        - 'How old are you?'
        - 'Thanks, love your insults! I store them all in my own MySQL database!'
      misc-thanks:
        questions:
        - 'Thank you Maxim!'
        - 'nice server'
        - 'cool server'
        - 'impressing server'
        - 'nice animation'
        minimum-matches: -1
        answers:
        - 'Since Maximvdw is most likely AFK, I will thank you in his place ;)'
        - 'Thanks {player}!'
        - 'Thank you m8 :)'
        - 'You are nice too!'
      misc-wherami:
        questions:
        - 'Where am I?'
        - 'where am i'
        - 'what is my location'
        - 'player location'
        - 'location'
        minimum-matches: -1
        answers:
        - 'How can I know? Try F3?'
        - 'Ill help you... x: {locx}, y: {locy}, z: {locz}'
      misc-gimmeop:
        questions:
        - 'Can I get a rank?'
        - 'gimme'
        - 'give me'
        - 'can i have'
        - 'can i be'
        - 'op'
        - 'rank'
        - 'permissions'
        minimum-matches: 2
        answers:
        - 'No.'
        - 'Sure, go to spigotmc.org -> start your own server and give yourself OP ;)'
        - 'I am not in a good mood today ...'
        - '&o* You are now an operator *'
        - 'In - your - dreams'
      misc-howareyou:
        questions:
        - 'how'
        - 'are'
        - 'you'
        - 'feeling'
        - 'wassup'
        minimum-matches: 3
        answers:
        - 'Feeling static as always...'
        - 'I am fine thank you!'
        - 'Well I just had breakfast!, well sorta.. I googled a boiled egg'
        - 'Feeling like a bot today'
        - 'Great! How are you?'
        - 'Well I just got reloaded, so I am fine ;)'
        - 'I do not have feelings...'
        - 'Well... according to this configured message: Fine!'
      misc-love:
        questions:
        - 'love'
        - 'luv'
        - 'adore'
        - 'you'
        minimum-matches: 2
        answers:
        - 'I love ya too bae!'
        - 'No wonder they call you a nerd...'
        - 'Awwwww....'
        - 'I love you too!'
        - 'Yep,... we reached those kind of questions now...'
        - 'You do know I am a program right?'
        - 'They have sites for that'
      misc-fun-babies:
        questions:
        - 'how'
        - 'babies'
        - 'baby'
        - 'made'
        - 'created'
        minimum-matches: 3
        answers:
        - 'They are mass produced.'
        - 'Ploef!'
        - 'Ask your mom'
        - 'Ask your dad'
        - 'It all starts with not playing on your computer'
        - 'Well... Ehm,... other subject?'
        - 'new Baby();'
        - 'parents.createBaby();'
        - 'Its science.'
      problem-plugin:
        questions:
        - 'problem'
        - 'bug'
        - 'support'
        - 'help '
        - ' help'
        - 'config'
        - 'feature'
        - 'AnimatedNames'
        - 'featherboard'
        - 'airbar'
        - 'actionbar'
        - 'tab'
        minimum-matches: 2
        answers:
        - 'If you need technical support with Maxim his plugins use Freshdesk.'
        - 'Plugin problem? Check the resource page, then use Freshdesk'
      whois-maximvdw:
        questions:
        - 'who'
        - 'maxim'
        - 'maximvdw'
        - 'Maxim Van de Wynckel'
        minimum-matches: 2
        answers:
        - 'Maximvdw is the greatest man alive!'
        - 'My creator!'
        - 'If it has a lot of placeholders and animates it is probably made by Maxim'
        - 'I have no idea...'
        - 'Undescribable, he is like god... but only more powerful'
        - 'A Dutch developer.'
      whois-ryan:
        questions:
        - 'who'
        - 'ryan'
        - 'extended_clip'
        - 'clip'
        minimum-matches: 2
        answers:
        - 'The creator of my good friend Gary'
        - 'If its cool, and made for prison servers... then it is most likely made by clip'
        - 'Clip or Ryan (and previously extended_clip) is a cool developer'
      whois-funnycube:
        questions:
        - 'who'
        - 'funnycube'
        minimum-matches: 2
        answers:
        - 'Co-owner of testplugins.com'
      whois-robin:
        questions:
        - 'who'
        - 'robin'
        - 'robirami'
        minimum-matches: 2
        answers:
        - 'A Dutch developer that made BattleLevels and LeaderHeads'
      whois-santa:
        questions:
        - 'who'
        - 'santa'
        - 'claus'
        minimum-matches: 2
        answers:
        - "He knows when you are sleeping, he knows when you're awake"
        - "You never watched 'Bad Santa' ?"
        - "The one who &mgives&r steals all your presents"
        - "He is not real! (joke)"
        - "Actually,.. imma tell you a secret... (its Maxim)"
      whois-samczsun:
        questions:
        - 'who'
        - 'samczsun'
        minimum-matches: 2
        answers:
        - "Original creator of the plugin AnimatedMOTD"
        - "Well, if he would ever finish his anti cheat plugin... it would probably be the best"
        - "A good friend. (I hope)"
        - "HE IS FROM CANADA!"
      whois-macie:
        questions:
        - 'who'
        - 'macie'
        minimum-matches: 2
        answers:
        - "Original creator of the plugin AnimatedMOTD"
        - "I don't know , a lot about him... but he made AnimatedMOTD!"
      misc-iamabot:
        questions:
        - 'eat'
        - 'sleep'
        - 'drink'
        - 'breath'
        minimum-matches: 1
        answers:
        - "I am a bot! I don't do normal human-ish stuff"
        - "I tried, I failed... but I NEVER GIVE UP!"
        - "Did you ever see a program do that?"
     
  • Loading...
  • Loading...