Advertisement
Guest User

QAPlugin_CONFIG

a guest
Jan 18th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.03 KB | None | 0 0
  1. # ------------------------------ #
  2. #
  3. # QAPlugin 1
  4. # (c) Maxim Van de Wynckel
  5. #
  6. # ------------------------------ #
  7.  
  8. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  9. # GENERAL PLUGIN SETTINGS
  10. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  11.  
  12. ## Config version (DO NOT EDIT)
  13. config: 2
  14.  
  15. ## Language file
  16. lang: 'en'
  17.  
  18. ## Debug mode
  19. debug: false
  20.  
  21. ## Log to file
  22. log:
  23. enabled: true
  24. # Reset log on startup
  25. reset: true
  26.  
  27. ## Update checking
  28. update:
  29. # RECOMMENDED YOU LEAVE THIS TRUE
  30. check: false
  31.  
  32. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  33. # PLUGIN SPECIFIC SETTINGS
  34. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  35.  
  36. # The database is used to keep data of specific players
  37. # this can range from key value data used to rember user information
  38. # (like names, ...) to things talked about to the bot
  39. # NOTE: This is mainly utilized by modules
  40. database:
  41. # If you want to remember user data after a restart. Enable this
  42. persistent: false
  43. # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  44. # with isolation, url, driver, ...
  45. # Database name
  46. database: "qaplugin"
  47. # Database username
  48. username: 'root'
  49. # Database isolation type
  50. isolation: SERIALIZABLE
  51. # Database driver
  52. # SQLite is not supported!
  53. driver: com.mysql.jdbc.Driver
  54. # Database password
  55. password: ''
  56. # Database driver URL
  57. # {DIR} will be replaced with the plugin directory
  58. # {NAME} will be replaced wit the plugin name
  59. url: jdbc:mysql://localhost:3306/{DATABASENAME}
  60. # Save interval in ticks
  61. save-interval: 6000
  62.  
  63. # Disabled worlds. Add your world name in this list to
  64. # disable it.
  65. # The QAPlugin will not 'LISTEN' to chat in these worlds
  66. # announcement messages won't appear in these worlds as well
  67. disabled-worlds:
  68. - 'example_world'
  69.  
  70. # API.ai integration
  71. # This allows you to add artificial intelligence by adding/creating your own bot
  72. # THIS IS REALLY WORTH IT!
  73. api-ai:
  74. # When enabled, all questions that are not configured in this plugin
  75. # will be redirected to the online API
  76. enabled: true
  77. # Time in seconds before contexts get cleared.
  78. # Context is the thing you are talking about. It can be a dialog waiting for your
  79. # response or 3rd party data
  80. context-timeout: 35
  81. # See: https://www.spigotmc.org/wiki/qaplugin-adding-custom-ai/?noRedirect=1
  82. client-access-token: "3f1e6da5410146aeb7ed601cf503ad5b"
  83. # Used by 3rd party modules to dynamically add entities or intents (aka. questions and objects you are talking about)
  84. # without you having to upload a zip to API.ai
  85. developer-access-token: "da2fd18971834b4fbf11e6bfea769511"
  86.  
  87. # QUESTION SETTINGS
  88. # Settings related to questions and triggering
  89. question-settings:
  90. # Triggers are required to filter false positives
  91. # You can give the QA Plugin a name like "Server"
  92. # or you can use "what","who","how","when"
  93. # You may want to include your name as well...
  94. # You can leave both start and end empty (start: [] , end: [])
  95. # but this may not give good results.
  96. triggers:
  97. # Start triggers check for with what a phrase starts
  98. start:
  99. - 'kraken '
  100. - 'kraken, '
  101. - 'ayudante, '
  102. - 'ayudante '
  103. - 'oye kraken, '
  104. - 'oye kraken '
  105. - 'oye ayudante, '
  106. - 'oye ayudante '
  107. # End triggers check for with what a phrase ends ("?")
  108. # "Hey what is that plugin maxim?"
  109. end:
  110. - ' maxim'
  111. - ' maxim?'
  112. - ' maxim!'
  113. - ' helper'
  114. - ' helper?'
  115. - ' helper!'
  116. - ' bot'
  117. - ' bot?'
  118. - ' bot!'
  119. # Check if the question contains the word
  120. # This is mainly advised to be used in combination with API.ai
  121. # since the word is randomly located in a question
  122. contains: []
  123. # Hide the question in the chat for all players except the one who asked it
  124. hide-question-player: false
  125. # Hide the question in the chat for all players
  126. hide-question-all: false
  127. # If you prefer to use words instead
  128. # of phrases for your questions you can set the minimum-matches
  129. # this will only show "an" answer when a minimum amount
  130. # of matches is reached.
  131. #
  132. # (For example: "what","plugin","you","use","for","the","tab")
  133. # You do not want to trigger a question when a user just asked "what"
  134. # you want it to at least match 3-4 words
  135. # THIS IS OVERIDDEN BY THE minimum-matches in the individual questions
  136. # set to -1 to disable.
  137. minimum-matches: -1
  138. # Anti spam messures
  139. anti-spam:
  140. # Enable to prevent spamming the bot
  141. enabled: true
  142. # Block question. When spam is detected the question will be blocked (no reply)
  143. # NOTE: This happens when the severe-level is reached (not the warning level)
  144. # It will also not send a severe-spam-reply
  145. block-question: false
  146. # Warning threshold. This is the amount of questions per minute
  147. warning-level: 15
  148. # Severe threshold. This the amount of questions per minute
  149. severe-level: 25
  150. # When "Block-question" is set to false it will use one of these spam replies
  151. # These replies are send when you reach the warning level
  152. # You can use {player} as the player name
  153. # Execute command as the player who asked the question
  154. # |player:/command_as_player|...random answer here...
  155. # Execute command as the opped player
  156. # |opplayer:/some_command|...random answer here...
  157. # Execute command as the console
  158. # |console:give {player} 1 1|... random answer here
  159. # Send player chat
  160. # |chat:HEYYYY!|....random answer here...
  161. warning-spam-reply:
  162. - '¡Oye! ¡Deja de repetir los mensajes tan rápido!'
  163. - 'Para... ¡No soy un juguete! ¡Soy una inteligencia artificial!'
  164. - 'Voy a tenerte que sancionar si no paras...'
  165. # When "Block-question" is set to false it will use one of these spam replies
  166. # These replies are send when you reach the severe level
  167. # You can use {player} as the player name
  168. # Execute command as the player who asked the question
  169. # |player:/command_as_player|...random answer here...
  170. # Execute command as the opped player
  171. # |opplayer:/some_command|...random answer here...
  172. # Execute command as the console
  173. # |console:give {player} 1 1|... random answer here
  174. # Send player chat
  175. # |chat:HEYYYY!|....random answer here...
  176. severe-spam-reply:
  177. - '|console:kick {player}|&3&lAYUDANTE &7Kraken &8» &3¡Adiós!'
  178. - '|console:kick {player}|&3&lAYUDANTE &7Kraken &8» &3Para, lo digo enserio...'
  179.  
  180. # ANSWER SETTINGS
  181. # Settings related to answering a question
  182. answer-settings:
  183. # Broadcast answer to everyone
  184. # When turned to false it will only send the answer to the player
  185. # who asked the question
  186. broadcast: true
  187. # Answer prefix: This will add a prefix to the answer
  188. # useful if you want to format the answer.
  189. # You can also use MVdWPlaceholders placeholders
  190. # here.
  191. prefix: '&3&lAYUDANTE &7Kraken &8» &7'
  192. # Answer suffix: This will add a suffix to the answer
  193. # useful if you want to format the answer
  194. suffix: '&7'
  195. # Answer delay (delay before a response is made (in ticks)
  196. response-delay: 7
  197. # Show unknown question messages
  198. # hide if you have commonly triggered triggers
  199. unknown-question:
  200. # Disabling unknown-question will just not return anything
  201. # when the question is not found.
  202. enabled: true
  203. # A list of possible responses
  204. # You can also use MVdWPlaceholders placeholders
  205. # here.
  206. responses:
  207. - "Lo siento, no puedo encontrar está pregunta :("
  208. - "Soy listo... pero no puedo ayudarte con esto."
  209. - '¿Me podrías repetir lo que has dicho?'
  210. - '¡Preguntame cosas relacionadas al servidor, y nada más!'
  211.  
  212.  
  213. # Announces that you can ask QAPlugin a question
  214. announcer:
  215. # Enable announcer
  216. enabled: true
  217. # Announce with the same prefix as configured
  218. # with answers. [Bot] Helper: Ask a question!
  219. answer-prefix: true
  220. # Interval in seconds
  221. interval: 750
  222. # Randomize the "list"
  223. randomize: true
  224. # A list of random announcements
  225. list:
  226. - '¡Hola! &a¿Tienes una pregunta relacionada al servidor? &7Escribe &eKraken, (pregunta)"'
  227. - 'Si necesitáis ayuda, preguntadme.'
  228. - '¡Pregunta cualquier cosa! Te responderé lo más rápido posible.'
  229. - '¡Hazme una pregunta diciendo: &eKraken (pregunta)&7!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement