Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.85 KB | None | 0 0
  1. settings:
  2. #### This node contains the global scope. Settings defined here are either global settings or defaults that apply to all
  3. #### bots and channels (unless overriden in the bot or channel scope).
  4.  
  5. #The prefix for the IRC-side bot commands; Can be overriden in the bot scope.
  6. command-prefix: '!'
  7.  
  8. #You probably don't need this.
  9. debug: false
  10.  
  11. console-commands: ['reload', 'save-all']
  12.  
  13. ignored-prefixes:
  14. irc: []
  15. game: []
  16.  
  17. #Delay in milliseconds for these game events to be ignored after the plugin is enabled (prevents initial flood burst).
  18. hold-after-enable:
  19. chat: 0
  20. joins: 0
  21. quits: 0
  22. kicks: 0
  23. bans: 0
  24.  
  25. formatting:
  26. #### Formatting for the messages relayed by the plugin. You can override all formatting strings in the bot or channel
  27. #### scope (within a formatting: block). In irc-to-irc, the target channel controls the format strings.
  28. #### VARIABLES (may be blank depending on the context): %sender% %message% %moderator% %srcChannel% %trgChannel%
  29. #### IF YOU'RE RUNNING Permissions: %prefix% %suffix% %modPredix% %modSuffix% (game-to-irc only)
  30. #### IRC FORMATTING: %b% %u% %r% %o% %k% %kNUM% (NUM is 0 to 15); Do the same as CTRL+key in mIRC
  31. #### GAME COLORS: §NUM (NUM is 1 to f); Do not use in the end of a line
  32. #### EASY COLORS: Use the names defined in the colormap: block, such as %blue% %foreground% %yellow% etc.
  33. game-to-irc:
  34. chat: '%sender%: %message%'
  35. action: '* %sender% %message%'
  36. joins: '%sender% Connected'
  37. quits: '%sender% Disconnected'
  38. kicks: '%moderator% KICKED %sender% (%message%)'
  39. bans: '%moderator% BANNED %sender% (%message%)'
  40. irc-to-game:
  41. chat: '[%green%IRC%white%] %sender%: %message%'
  42. action: '[%green%IRC%white%] * %sender% %message%'
  43. joins: '[%green%IRC%white%] %sender% Joined.'
  44. parts: '[%green%IRC%white%] %sender% Parted.'
  45. quits: '[%green%IRC%white%] %sender% Quit.'
  46. kicks: '[%green%IRC%white%] %sender% was kicked by %moderator%'
  47. nicks: '[%green%IRC%white%] %sender% is now known as %message%'
  48. irc-to-irc:
  49. chat: '[%srcChannel%] <%sender%> %message%'
  50. action: '[%srcChannel%] * %sender% %message%'
  51. joins: '[%srcChannel%] * Joins: %sender%'
  52. parts: '[%srcChannel%] * Parts: %sender%'
  53. quits: '[%srcChannel%] * Quits: %sender% (%message%)'
  54. kicks: '[%srcChannel%] * %sender% was kicked by %moderator% (%message%)'
  55. nicks: '[%srcChannel%] * %sender% is now known as %message%'
  56. custom:
  57. #Custom blocks define custom variables you can use within formatting strings
  58. botname: ''
  59. network: ''
  60. # Optional: Bind to a non-default local address
  61. # bind-address: 127.0.0.1
  62.  
  63. events:
  64. #### Turn different types of messages on and off here. cancelled-chat only exists in the global scope; The remaining
  65. #### events can be redefined in the bot or channel scopes (within an events: block). In irc-to-irc, the source
  66. #### channel controls the events.
  67. game-to-irc:
  68. cancelled-chat: true
  69. all-chat: true
  70. joins: true
  71. quits: true
  72. kicks: true
  73. bans: true
  74. irc-to-game:
  75. all-chat: true
  76. joins: true
  77. parts: true
  78. quits: true
  79. kicks: true
  80. nicks: true
  81. irc-to-irc:
  82. all-chat: false
  83. joins: false
  84. parts: false
  85. quits: false
  86. kicks: false
  87. nicks: false
  88.  
  89. #Tags allow you to target messages to all the channels within a scope. The global scope contains all channels.
  90. tag: 'all'
  91.  
  92. bots:
  93. #### A list of bots; You should only need one bot for each IRC server (the same bot can join multiple channels).
  94. #### Settings that apply to all channels of a bot should be defined in a bot's node. The dash in the third
  95. #### column starts a new bot.
  96.  
  97. - nickname: '`MinecraftBot'
  98. server: 'irc.azelphur.com'
  99. port: 6667
  100. userident: 'minecraftbot'
  101. serverpass: '' #This isn't the nickserv password
  102. ssl: false
  103.  
  104. #Delay between messages helps prevent triggering server-side flood protections (milliseconds)
  105. message-delay: 0
  106.  
  107. #Types of IRC users that are considered admins within an admin channel (has no effect in normal channels)
  108. admin-prefixes: ['@', '%']
  109.  
  110. #Ignore users in this server by nickname
  111. ignored-users: []
  112.  
  113. #Tags allow you to target messages to all the channels within a scope.
  114. tag: 'esper'
  115.  
  116. formatting:
  117. custom:
  118. botname: '`MinecraftBot'
  119. network: 'Azelphur'
  120.  
  121. #Services authentication of the bot's nickname goes here. The username may not be required.
  122. #Available methods: 'none', 'nickserv', 'gamesurge', 'quakenet'
  123. auth:
  124. method: 'nickserv'
  125. username: ''
  126. password: ''
  127.  
  128. #List here raw IRC commands you want the bot to perform after it connects to the server
  129. on-connect:
  130. - 'OPER user pass'
  131. - 'JOIN #staff'
  132. # - 'PRIVMSG MyBoss :I live again!'
  133.  
  134. channels:
  135. #### A list of channels; Define here all the channels you want this bot to join. Settings that apply to a single
  136. #### channel can be defined in the channel node. A dash in the 7th column starts a new channel.
  137.  
  138. - name: '#minecraft'
  139. password: ''
  140.  
  141. #In admin channels, admins can use console commands (when this feature is supported) and be send emergency
  142. # notices from users.
  143. admin: false
  144.  
  145. #This tag targets only this channel.
  146. tag: 'minecraft'
  147.  
  148. #Allow IRC color codes in messages to be converted to Minecraft colors; Set to false to just remove them.
  149. chat-colors: false
  150.  
  151. #Enables Permissions prefixes and suffixes for this channel (iChat-format colors are supported).
  152. name-colors: true
  153.  
  154. #List here raw IRC commands you want the bot to perform after it joins this channel.
  155. on-join:
  156. # - 'PRIVMSG #changeme :Howdy do!'
  157.  
  158. - name: '#staff'
  159. password: ''
  160.  
  161. #In admin channels, admins can use console commands (when this feature is supported) and be send emergency
  162. # notices from users.
  163. admin: true
  164.  
  165. #This tag targets only this channel.
  166. tag: 'staff'
  167.  
  168. #Allow IRC color codes in messages to be converted to Minecraft colors; Set to false to just remove them.
  169. chat-colors: false
  170.  
  171. #Enables Permissions prefixes and suffixes for this channel (iChat-format colors are supported).
  172. name-colors: true
  173.  
  174. #List here raw IRC commands you want the bot to perform after it joins this channel.
  175. on-join:
  176. # - 'PRIVMSG #changeme :Howdy do!'
  177. events:
  178. irc-to-game:
  179. all-chat: false
  180. joins: false
  181. parts: false
  182. quits: false
  183. kicks: false
  184. nicks: false
  185.  
  186.  
  187. colormap:
  188. #### Map colors to your taste here; Make sure each irc, game and name appears once and only once.
  189. #### The color 'foreground' *must* exist and will be used as the default by certain features.
  190.  
  191. - {irc: 0, game: '§0', name: 'background'}
  192. - {irc: 2, game: '§1', name: 'navy'}
  193. - {irc: 3, game: '§2', name: 'darkgreen'}
  194. - {irc: 10, game: '§3', name: 'teal'}
  195. - {irc: 5, game: '§4', name: 'maroon'}
  196. - {irc: 6, game: '§5', name: 'purple'}
  197. - {irc: 7, game: '§6', name: 'orange'}
  198. - {irc: 15, game: '§7', name: 'grey'}
  199. - {irc: 14, game: '§8', name: 'darkgrey'}
  200. - {irc: 12, game: '§9', name: 'blue'}
  201. - {irc: 9, game: '§a', name: 'green'}
  202. - {irc: 11, game: '§b', name: 'cyan'}
  203. - {irc: 4, game: '§c', name: 'red'}
  204. - {irc: 13, game: '§d', name: 'magenta'}
  205. - {irc: 8, game: '§e', name: 'yellow'}
  206. - {irc: 1, game: '§f', name: 'foreground'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement