Mattie

Untitled

Apr 17th, 2011
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.39 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% %world%
  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: '%prefix%(%sender%) %o%%message%'
  35.       action: '%prefix%* %sender% %o%%message%'
  36.       joins: '%k1%[%prefix%%sender%%o% connected]%o%'
  37.       quits: '%prefix%[%sender% disconnected]%o%'
  38.       kicks: '[%moderator% KICKED %sender% (%message%)]'
  39.       bans: '[%moderator% BANNED %sender% (%message%)]'
  40.     irc-to-game:
  41. #      chat: '[%srcChannel%] <%sender%> %message%'
  42. #      action: '[%srcChannel%] * %sender% %message%'
  43. #      joins: '[%srcChannel%] * Joins: %sender%'
  44. #      parts: '[%srcChannel%] * Parts: %sender%'
  45. #      quits: '[%srcChannel%] * Quits: %sender%'
  46. #      kicks: '[%srcChannel%] * %sender% was kicked by %moderator%'
  47. #      nicks: '[%srcChannel%] * %sender% is now known as %message%'
  48.       chat: 7[irc]§f §3<%sender%>§f %message%'
  49.       action: 7[irc]§f * §3%sender%§f %message%'
  50.       joins: 7[irc]§f * Joins: §3%sender%§f'
  51.       parts: 7[irc]§f * Parts: §3%sender%§f'
  52.       quits: 7[irc]§f * Quits: §3%sender%§f'
  53.       kicks: 7[irc]§f * §3%sender%§f was kicked by §c%moderator%§f'
  54.       nicks: 7[irc]§f * §3%sender%§f is now known as %message%'
  55.     irc-to-irc:
  56.       chat: '[%srcChannel%] <%sender%> %message%'
  57.       action: '[%srcChannel%] * %sender% %message%'
  58.       joins: '[%srcChannel%] * Joins: %sender%'
  59.       parts: '[%srcChannel%] * Parts: %sender%'
  60.       quits: '[%srcChannel%] * Quits: %sender% (%message%)'
  61.       kicks: '[%srcChannel%] * %sender% was kicked by %moderator% (%message%)'
  62.       nicks: '[%srcChannel%] * %sender% is now known as %message%'
  63.     custom:
  64.      #Custom blocks define custom variables you can use within formatting strings
  65.       botname: ''
  66.       network: ''
  67.  
  68.   # Optional: Bind to a non-default local address    
  69.   # bind-address: 127.0.0.1
  70.  
  71.   events:
  72.    #### Turn different types of messages on and off here. cancelled-chat only exists in the global scope; The remaining
  73.     ####  events can be redefined in the bot or channel scopes (within an events: block). In irc-to-irc, the source
  74.     ####  channel controls the events.
  75.           # If you use other chat plugins, you probably want to set cancelled-chat: true
  76.     game-to-irc:
  77.       cancelled-chat: true
  78.       all-chat: true
  79.       joins: true
  80.       quits: true
  81.       kicks: true
  82.       bans: true
  83.     irc-to-game:
  84.       all-chat: true
  85.       joins: true
  86.       parts: true
  87.       quits: true
  88.       kicks: true
  89.       nicks: true
  90.     irc-to-irc:
  91.       all-chat: true
  92.       joins: true
  93.       parts: true
  94.       quits: true
  95.       kicks: true
  96.       nicks: true
  97.      
  98.   #Tags allow you to target messages to all the channels within a scope. The global scope contains all channels.
  99.   tag: 'all'
  100.      
  101. bots:
  102.  #### A list of bots; You should only need one bot for each IRC server (the same bot can join multiple channels).
  103.   ####  Settings that apply to all channels of a bot should be defined in a bot's node. The dash in the third
  104.   ####  column starts a new bot.
  105.  
  106.   - nickname: 'BUKKIT-DUDE'
  107.     server: 'yellow.mattie-systems.nl'
  108.     port: 6667
  109.     userident: 'bot'
  110.     serverpass: ''  #This isn't the nickserv password
  111.     ssl: false
  112.    
  113.     #Delay between messages helps prevent triggering server-side flood protections (milliseconds)
  114.     message-delay: 1000
  115.    
  116.     #Types of IRC users that are considered admins within an admin channel (has no effect in normal channels)
  117.     admin-prefixes: ['@', '%']
  118.    
  119.     #Ignore users in this server by nickname
  120.     ignored-users: []
  121.    
  122.     #Tags allow you to target messages to all the channels within a scope.
  123.     tag: 'all'
  124.    
  125.     formatting:
  126.       custom:
  127.         botname: 'BUKKIT-DUDE'
  128.         network: 'proIRC'
  129.    
  130.     #Services authentication of the bot's nickname goes here. The username may not be required.
  131.     #Available methods: 'none', 'nickserv', 'gamesurge', 'quakenet'
  132.     auth:
  133.       method: 'nickserv'
  134.       username: ''
  135.       password: ''
  136.  
  137.     #List here raw IRC commands you want the bot to perform after it connects to the server
  138.     on-connect:
  139.    # - 'PRIVMSG MyBoss :I live again!'
  140.    
  141.     channels:
  142.      #### A list of channels; Define here all the channels you want this bot to join. Settings that apply to a single
  143.       ####  channel can be defined in the channel node. A dash in the 7th column starts a new channel.
  144.      
  145.       - name: '#minecraft'
  146.         password: ''
  147.        
  148.         #In admin channels, admins can use console commands (when this feature is supported) and be send emergency
  149.         # notices from users.
  150.         admin: true
  151.        
  152.         #This tag targets only this channel.
  153.         tag: 'all'
  154.        
  155.         #Allow IRC color codes in messages to be converted to Minecraft colors; Set to false to just remove them.
  156.         chat-colors: true
  157.        
  158.         #Enables Permissions prefixes and suffixes for this channel (iChat-format colors are supported).
  159.         name-colors: true
  160.        
  161.         #List here raw IRC commands you want the bot to perform after it joins this channel.
  162.         on-join:
  163.        # - 'PRIVMSG #changeme :Howdy do!'
  164.  
  165. colormap:
  166.  #### Map colors to your taste here; Make sure each irc, game and name appears once and only once.
  167.   ####  The color 'foreground' *must* exist and will be used as the default by certain features.
  168.  
  169.   - {irc: 0, game: 0', name: 'background'}
  170.   - {irc: 2, game: 1', name: 'navy'}
  171.   - {irc: 3, game: 2', name: 'darkgreen'}
  172.   - {irc: 10, game: 3', name: 'teal'}
  173.   - {irc: 5, game: 4', name: 'maroon'}
  174.   - {irc: 6, game: 5', name: 'purple'}
  175.   - {irc: 7, game: 6', name: 'orange'}
  176.   - {irc: 15, game: 7', name: 'grey'}
  177.   - {irc: 14, game: 8', name: 'darkgrey'}
  178.   - {irc: 12, game: 9', name: 'blue'}
  179.   - {irc: 9, game: '§a', name: 'green'}
  180.   - {irc: 11, game: '§b', name: 'cyan'}
  181.   - {irc: 4, game: '§c', name: 'red'}
  182.   - {irc: 13, game: '§d', name: 'magenta'}
  183.   - {irc: 8, game: '§e', name: 'yellow'}
  184.   - {irc: 1, game: '§f', name: 'foreground'}
Advertisement
Add Comment
Please, Sign In to add comment