Advertisement
Guest User

alexholliz-config

a guest
Jan 3rd, 2013
67
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.80 KB | None
  1. #######################################
  2. #### CraftIRC 3 configuration file ####
  3. #######################################
  4.  
  5. # Welcome, new user! Please read carefully:
  6.  
  7. # CraftIRC is a very powerful and flexible tool for all your communication needs. Being fully customizable, it TAKES SOME TIME TO SET UP.
  8. # Please set aside half an hour to READ THIS FILE CAREFULLY and configure everything according to your needs. If you don't, CraftIRC
  9. # will NOT WORK PROPERLY.
  10. # The CraftIRC developers can be found on #craftirc in irc.esper.net . Read the topic on arrival. If you have a specific issue you need
  11. # help with and we are around, we will help. BUT WE WILL NOT SET UP CRAFTIRC FOR YOU. If you don't want to/can't do this yourself, try
  12. # asking a friend or maybe if you're really lucky a user in #craftirc is feeling generous ;)
  13.  
  14. # Recommendations: http://instantyaml.appspot.com/ (the output doesn't matter, just see if there are errors) ; save as UTF-8 ; use a text
  15. # editor with YAML syntax highlighting to make the file more readable.
  16.  
  17. # ******************* MISCELLANEOUS SETTINGS *******************
  18. settings:
  19.  
  20. #These tags identify built-in endpoints (for the paths: section). Other endpoints may be provided by plugins.
  21. minecraft-tag: 'minecraft' #A basic game-side endpoint (a chat plugin may provide better functionality).
  22. cancelled-tag: 'cancelled' #Cancelled chat is sent here. Give this tag a name only if you disable either auto-paths or minecraft-tag
  23. console-tag: 'console' #The minecraft server console.
  24.  
  25. #Automatically establish paths between unsecured communication endpoints. Turn off if you always want to configure every path manually.
  26. #(Secured endpoints can still send messages through auto-paths, but not receive them)
  27. auto-paths: false
  28.  
  29. # If set, this character will be inserted after each character ("abc" -> "a_b_c_") to prevent IRC highlights
  30. # The default value, "\u200B", is the unicode zero width space. "\x0f" (irc formatting reset code) might work too.
  31. # Double quotes are important in yaml when using character escapes like these!
  32. # anti-highlight: "\u200B"
  33.  
  34. #Paths between endpoints within the same group are not established. These groups will be created automatically (set to '' to disable):
  35. #*For the three endpoints above
  36. minecraft-group-name: 'minecraft'
  37. #*For all your IRC endpoints
  38. irc-group-name: 'irc'
  39.  
  40. #Here you can define custom tag groups.
  41. tag-groups:
  42. # group-name:
  43. # - tagname
  44. # - ...
  45.  
  46. #Set this to true to have CraftIRC cancel all minecraft chat if no other plugin is doing it.
  47. cancel-chat: false
  48.  
  49. #IRC commands start with this, for example '.players' (it's not part of the command name though)
  50. command-prefix: '.'
  51.  
  52. #Use different words for IRC commands
  53. irc-commands:
  54. say: ['say','mc']
  55. players: ['players']
  56. cmd: ['cmd','c']
  57.  
  58. #Output a LOT of crap to the console in case you're having problems or are a plugin developer.
  59. debug: false
  60.  
  61. #Console commands that can be called by an admin using .cmd/.c in an admin channel
  62. console-commands: ['reload', 'save-all']
  63.  
  64. #Delay before allowing these event types to be relayed (prevent startup flood)
  65. hold-after-enable: {chat: 0, joins: 0, quits: 0, kicks: 0, bans: 0}
  66.  
  67. #How long in seconds before attempting a reconnect/rejoin when a connection/join fails.
  68. retry-delay: 10
  69.  
  70. #Bind to a specific IP address in your server.
  71. #bind-address: 127.0.0.1
  72.  
  73. #Default formatting templates used in all messages. Plugins may require you to add more.
  74. formatting:
  75. #### VARIABLES AND COLORS (from colormap): %name% (as in %message% or %yellow%). Different events provide different variables.
  76. #### IRC FORMATTING: %b% %u% %r% %o% %k% %kNUM% (NUM is 0 to 15); Do the same as CTRL+key in mIRC (%o% uses'foreground')
  77.  
  78. #==========Classic formatting==========
  79. from-game:
  80. chat: '(%sender%) %message%'
  81. private: '(%sender%) %message%'
  82. action: '* %sender% %message%'
  83. join: '[%sender% connected]'
  84. quit: '[%sender% disconnected]'
  85. kick: '[%sender% was KICKED (%message%)]'
  86. admin: '%sender% to online admins ->- %message%'
  87. generic: '%message%'
  88. death: '%message%'
  89. from-irc:
  90. chat: '[%srcChannel%] <%sender%> %message%'
  91. private: '%sender% whispers> %message%'
  92. action: '[%srcChannel%] * %sender% %message%'
  93. join: '[%srcChannel%] * Joins: %sender%'
  94. part: '[%srcChannel%] * Parts: %sender%'
  95. quit: '[%srcChannel%] * Quits: %sender% (%message%)'
  96. kick: '[%srcChannel%] * %sender% was kicked by %moderator% (%message%)'
  97. nick: '[%srcChannel%] * %sender% is now known as %message%'
  98. generic: '%message%'
  99. from-plain:
  100. action: '* %sender% %message%'
  101. say: '[Server] %message%'
  102. #======================================
  103.  
  104. #==========Colorful formatting=========
  105. #from-game:
  106. # chat: '<%prefix%%sender%%suffix%%o%> %message%'
  107. # private: '%prefix%%sender%%suffix%%o% whispers> %message%'
  108. # action: '%purple%* %prefix%%sender%%suffix%%purple% %message%'
  109. # join: '%darkgrey%[%sender% connected]'
  110. # quit: '%darkgrey%[%sender% disconnected]'
  111. # kick: '%red%[%sender% was KICKED (%message%)]'
  112. # generic: '%darkgrey%%message%'
  113. # admin: '%prefix%%sender%%suffix% to online admins> %message%'
  114. # death: '%red%%message%'
  115. #from-irc:
  116. # chat: '%grey%[%srcChannel%]%foreground% <%ircPrefix%%sender%> %message%'
  117. # private: '%grey%[IRC]%foreground% %sender% whispers> %message%'
  118. # action: '%grey%[%srcChannel%]%purple% * %ircPrefix%%sender% %message%'
  119. # join: '%grey%[%srcChannel%]%darkgreen% * Joins: %sender%'
  120. # part: '%grey%[%srcChannel%]%darkgreen% * Parts: %sender%'
  121. # quit: '%grey%[%srcChannel%]%blue% * Quits: %sender%'
  122. # kick: '%grey%[%srcChannel%]%darkgreen% * %sender% was kicked by %ircModPrefix%%moderator%'
  123. # nick: '%grey%[%srcChannel%]%darkgreen% * %sender% is now known as %message%'
  124. # generic: '%grey%%message%'
  125. #from-plain:
  126. # action: '%purple%* %sender%%purple% %message%'
  127. # say: '%magenta%[Server] %message%'
  128. #======================================
  129.  
  130.  
  131. # ******************* IRC BOTS/SERVERS AND CHANNELS ******************* [CHANGES REQUIRED]
  132. # Every bot connects to one IRC server and can contain any amount of channels.
  133. # Every channel is a communication endpoint.
  134. bots:
  135.  
  136. - nickname: 'C14Bot'
  137. server: 'irc.freenode.net' # Change this to the IRC server you wish to connect to
  138. port: 6667
  139. userident: 'CraftIRC' #Username/ident, anything you want
  140. serverpass: '' #This isn't the nickserv password
  141. ssl: false
  142.  
  143. #Prevent flood by setting a delay (in ms) between messages to IRC and a maximum queue size.
  144. message-delay: 1000
  145. queue-size: 5
  146.  
  147. #Who's considered an admin within a channel?
  148. admin-prefixes: ['@', '%']
  149.  
  150. #Ignore a user by nickname in this server. For greater flexibility use path filters (see further below).
  151. ignored-users: []
  152.  
  153. #If the bot's nickname is registered, put the authentication info here.
  154. auth:
  155. method: 'nickserv' #Available methods: 'none', 'nickserv', 'gamesurge', 'quakenet'
  156. username: ''
  157. password: 'removed'
  158.  
  159. #Send raw IRC commands to the server every time I connect.
  160. on-connect:
  161. # - 'PRIVMSG MyBoss :I live again!'
  162.  
  163. ## Channels for this bot to join. ##
  164. channels:
  165.  
  166. - name: '#c14minecraft'
  167. password: ''
  168.  
  169. #Identifies this channel's endpoint (for the paths: section).
  170. tag: 'irc'
  171.  
  172. #Send raw IRC commands to the server every time I join this channel.
  173. on-join:
  174. # - 'PRIVMSG:Howdy don't.'
  175.  
  176. # Ignore the +c mode and try sending colors anyway if there are colors in a message
  177. force-colors: false
  178.  
  179. #- name: '#anotherchannel'
  180. # ...
  181.  
  182. #Define here alternative display names for users of your IRC channels (useful if you want anonymous admins).
  183. #To override these in a formatting string use %realSender%.
  184. irc-nickname-map:
  185. # Animosity: Ytisomina
  186.  
  187. #Set this to true if you only want the above nicknames to be able to communicate from IRC. Everyone else will be filtered.
  188. use-map-as-whitelist: false
  189.  
  190. #- nickname: 'AnotherBot'
  191. # ...
  192.  
  193.  
  194. # ******************* COMMUNICATION PATHS *******************
  195. # (For most uses, only needed if settings.auto-paths is false)
  196. # Declare here a path for every pair of endpoints between which you want messages to flow.
  197. # For each path you can filter the messages sent by event type or contents.
  198. # Paths are one-way, so you must declare A to B and B to A if you want a two-way channel.
  199. paths:
  200.  
  201. - source: 'minecraft'
  202. target: 'irc'
  203.  
  204. - source: 'irc' # These are endpoint tags
  205. target: 'minecraft' #
  206.  
  207. - source: 'irc'
  208. target: 'dynmap'
  209.  
  210. - source: 'dynmap'
  211. target: 'irc'
  212.  
  213. # #Every path can contain a list of filters. Use for swear word censorship, blocking by user, etc.
  214. # filters:
  215. # #Each filter contains regular expressions for formatting variables. This one ignores commands (.TEXT)
  216. # - message: '^\.[^ ]+'
  217. #
  218. # #Every path can override the formatting strings defined in settings.formatting .
  219. # formatting:
  220. # # chat: '[%srcChannel%] <%sender%> %message%'
  221. # # join: '[%srcChannel%] * Joins: %sender%'
  222. #
  223. # #Every path can override the attributes block from default-attributes (see below).
  224. # attributes:
  225. # # admin: false
  226. # # ...
  227. #
  228. # #A path can inherit missing attributes from another existing path rather than from default-attributes.
  229. # #base: {source: 'minecraft', target: 'changeme'}
  230. #
  231. # #The disable flag allows you to disable a path temporarily without removing it from the configuration file.
  232. # disable: false
  233.  
  234. #- source: 'somewhere'
  235. # target: 'elsewhere'
  236. # ...
  237.  
  238.  
  239. # ******************* DEFAULT PATH ATTRIBUTES ******************* [CHANGES REQUIRED]
  240. # If an attribute isn't defined in a path, these are used.
  241. # If an attribute isn't defined here either, it defaults to 'false'.
  242. default-attributes:
  243.  
  244. #Disables all communication paths. No message will be sent anywhere.
  245. #If you don't set this to false, CraftIRC may not work!
  246. disable: false
  247.  
  248. #Every event type (they're the same as the names in settings.formatting) can be enabled or disabled here.
  249. #In addition, commands (such as those handled by other plugins) may require you to define extra attributes.
  250. attributes:
  251.  
  252. chat: true
  253. action: true
  254. join: true
  255. part: true
  256. nick: true
  257. quit: true
  258. kick: true
  259. private: true
  260. command: true
  261. say: true
  262. generic: true
  263. death: true
  264.  
  265. #Admin commands and /admins! can only be sent through a path where admin is set to true
  266. admin: false
  267.  
  268. #True: Colors will be converted. False: Colors will be stripped.
  269. colors: true
  270.  
  271.  
  272. # ******************* COLOR CONVERSION MAP *******************
  273. # Here you can assign 3-tuples with names, IRC colors and Minecraft colors.
  274. # You must never repeat a name, an irc color or a minecraft color in more than one 3-tuple.
  275. # Use %colorname% in a formatting string to have the correct color show up in the message.
  276. colormap:
  277. - {irc: 0, game: "\u00A70", name: 'background'}
  278. - {irc: 2, game: "\u00A71", name: 'navy'}
  279. - {irc: 3, game: "\u00A72", name: 'darkgreen'}
  280. - {irc: 10, game: "\u00A73", name: 'teal'}
  281. - {irc: 5, game: "\u00A74", name: 'maroon'}
  282. - {irc: 6, game: "\u00A75", name: 'purple'}
  283. - {irc: 7, game: "\u00A76", name: 'orange'}
  284. - {irc: 15, game: "\u00A77", name: 'grey'}
  285. - {irc: 14, game: "\u00A78", name: 'darkgrey'}
  286. - {irc: 12, game: "\u00A79", name: 'blue'}
  287. - {irc: 9, game: "\u00A7a", name: 'green'}
  288. - {irc: 11, game: "\u00A7b", name: 'cyan'}
  289. - {irc: 4, game: "\u00A7c", name: 'red'}
  290. - {irc: 13, game: "\u00A7d", name: 'magenta'}
  291. - {irc: 8, game: "\u00A7e", name: 'yellow'}
  292. - {irc: 1, game: "\u00A7f", name: 'foreground'}
  293.  
  294.  
  295. # ******************* REPLACEMENT FILTERS *******************
  296. # This section allows you to set up find and replace rules on
  297. # every section of every message sent by CraftIRC.
  298.  
  299. # If you want to delete messages instead you should use the path filters, above.
  300.  
  301. # Each filter contains regular expressions for formatting variables.
  302.  
  303. # For example, you can change the prefix of IRC Channel Operators to something
  304. # different by executing a replacement on the %ircPrefix% variable.
  305.  
  306. # filters:
  307. # ircPrefix: ['@' : 'Op ']
  308.  
  309. # Or you could censor IP addresses to and from chat.
  310.  
  311. # filters:
  312. # message: ['(\d+\.){3}\d+' : '#.#.#.#']
  313.  
  314. # When writing searches, the following characters have special meanings:
  315. # ^ $ . + ? * { } [ ] ( )
  316. # If you want to use these characters normally, escape them with a backslash \.
  317. # When writing the replacement, make sure you escape any $ or \ characters
  318. # with an additional \ unless you want to use backreferences.
  319.  
  320. # Example: Changing emoticon ^_^ to $_$
  321.  
  322. # filters:
  323. # message: ['\^_\^' : '\$_\$']
  324.  
  325. # To delete a search, use an empty replacement, or none at all.
  326.  
  327. # This example shows two ways of deleting. The searches are xxx and yyy.
  328.  
  329. # filters:
  330. # message: [xxx, yyy : '']
  331.  
  332. # Remember that any list can be written in two ways.
  333. # filters:
  334. # prefix: ['mod' : 'Mod', 'adm' : 'Admin']
  335.  
  336. # is equivalent to
  337.  
  338. # filters:
  339. # prefix:
  340. # - 'mod' : 'Mod'
  341. # - 'adm' : 'Admin'
  342. filters:
  343. command: []
  344. source: []
  345. target: []
  346. prefix: []
  347. suffix: []
  348. sender: []
  349. realSender: []
  350. message: []
  351. moderator: []
  352. world: []
  353.  
  354. # IRC only variables:
  355. ircPrefix: []
  356. realModerator: []
  357. ircModPrefix: []
  358. modUsername: []
  359. modHostname: []
  360. srcChannel: []
Advertisement
RAW Paste Data Copied
Advertisement