Advertisement
Guest User

Untitled

a guest
Sep 27th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 9.63 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', 'stop', 'kick', 'ban', 'op', 'deop', 'give', 'whitelist', 'whitelist list', 'whitelist reload', 'time', 'plugins', 'tp']
  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: '%sender%: %message%'
  35.       action: '* %sender% %message%'
  36.       joins: '%green%*** %sender% has joined the server'
  37.       quits: '%green%*** %sender% has left the server'
  38.       kicks: '*** %pink%%moderator% KICKED %sender% (%message%)'
  39.       bans: '*** %pink%%moderator% BANNED %sender% (%message%)'
  40.     irc-to-game:
  41.       chat: '%cyan% %sender% from IRC: %foreground%%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.     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.  
  61.   # Optional: Bind to a non-default local address    
  62.   # bind-address: 127.0.0.1
  63.  
  64.   events:
  65.    #### Turn different types of messages on and off here. cancelled-chat only exists in the global scope; The remaining
  66.     ####  events can be redefined in the bot or channel scopes (within an events: block). In irc-to-irc, the source
  67.     ####  channel controls the events.
  68.     game-to-irc:
  69.      # If you use other chat plugins, you probably want to set cancelled-chat: true
  70.       cancelled-chat: false
  71.       all-chat: true
  72.       joins: true
  73.       quits: true
  74.       kicks: true
  75.       bans: true
  76.     irc-to-game:
  77.       all-chat: true
  78.       joins: false
  79.       parts: false
  80.       quits: false
  81.       kicks: false
  82.       nicks: false
  83.     irc-to-irc:
  84.       all-chat: false
  85.       joins: false
  86.       parts: false
  87.       quits: false
  88.       kicks: false
  89.       nicks: false
  90.      
  91.   #Tags allow you to target messages to all the channels within a scope. The global scope contains all channels.
  92.   tag: 'all'
  93.      
  94. bots:
  95.  #### A list of bots; You should only need one bot for each IRC server (the same bot can join multiple channels).
  96.   ####  Settings that apply to all channels of a bot should be defined in a bot's node. The dash in the third
  97.   ####  column starts a new bot.
  98.  
  99.   - nickname: 'Bot'
  100.     server: 'irc.focogaming.com'
  101.     port: 6667
  102.     userident: 'Bot'
  103.     serverpass: ''  #This isn't the nickserv password
  104.     ssl: false
  105.    
  106.     #Delay between messages helps prevent triggering server-side flood protections (milliseconds)
  107.     message-delay: 1000
  108.    
  109.     #Types of IRC users that are considered admins within an admin channel (has no effect in normal channels)
  110.     admin-prefixes: ['@', '&', '~']
  111.    
  112.     #Ignore users in this server by nickname
  113.     ignored-users: []
  114.    
  115.     #Tags allow you to target messages to all the channels within a scope.
  116.     tag: 'foco'
  117.    
  118.     formatting:
  119.       custom:
  120.         botname: 'Bot'
  121.         network: 'FocoHub'
  122.    
  123.     #Services authentication of the bot's nickname goes here. The username may not be required.
  124.     #Available methods: 'none', 'nickserv', 'gamesurge', 'quakenet'
  125.     auth:
  126.       method: 'nickserv'
  127.       username: 'Bot'
  128.       password: 'LOLDISMYPASS'
  129.  
  130.     #List here raw IRC commands you want the bot to perform after it connects to the server
  131.     on-connect:
  132.    # - '/ns identify LOLDISMYPASS'
  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: '#gfs.echo'
  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: true
  144.        
  145.         #This tag targets only this channel.
  146.         tag: 'gfs.echo'
  147.        
  148.         #Allow IRC color codes in messages to be converted to Minecraft colors; Set to false to just remove them.
  149.         chat-colors: true
  150.        
  151.         #Allow Minecraft color codes in messages to be converted to IRC colors; Set to false to just remove them.
  152.         game-colors: true
  153.        
  154.         #Enables Permissions prefixes and suffixes for this channel (iChat-format colors are supported).
  155.         name-colors: true
  156.        
  157.         #List here raw IRC commands you want the bot to perform after it joins this channel.
  158.         on-join:
  159.        # - 'PRIVMSG #changeme :Howdy do!'
  160.       - name: '#gfs'
  161.         password: ''
  162.  
  163.         #In admin channels, admins can use console commands (when this feature is supported) and be send emergency
  164.         # notices from users.
  165.         admin: true
  166.        
  167.         #This tag targets only this channel.
  168.         tag: 'gfs'
  169.        
  170.         #Allow IRC color codes in messages to be converted to Minecraft colors; Set to false to just remove them.
  171.         chat-colors: true
  172.        
  173.         #Allow Minecraft color codes in messages to be converted to IRC colors; Set to false to just remove them.
  174.         game-colors: true
  175.        
  176.         #Enables Permissions prefixes and suffixes for this channel (iChat-format colors are supported).
  177.         name-colors: true
  178.        
  179.         #List here raw IRC commands you want the bot to perform after it joins this channel.
  180.         on-join:
  181.        # - 'PRIVMSG #changeme :Howdy do!'
  182.         events:
  183.          #### Turn different types of messages on and off here. cancelled-chat only exists in the global scope; The remaining
  184.           ####  events can be redefined in the bot or channel scopes (within an events: block). In irc-to-irc, the source
  185.           ####  channel controls the events.
  186.           game-to-irc:
  187.            # If you use other chat plugins, you probably want to set cancelled-chat: true
  188.             all-chat: false
  189.             joins: false
  190.             quits: false
  191.             kicks: false
  192.             bans: false
  193.           irc-to-game:
  194.             all-chat: false
  195.  
  196.       - name: '#gfs.aecho'
  197.         password: ''
  198.  
  199.         #In admin channels, admins can use console commands (when this feature is supported) and be send emergency
  200.         # notices from users.
  201.         admin: true
  202.        
  203.         #This tag targets only this channel.
  204.         tag: 'gfs.aecho'
  205.        
  206.         #Allow IRC color codes in messages to be converted to Minecraft colors; Set to false to just remove them.
  207.         chat-colors: true
  208.        
  209.         #Allow Minecraft color codes in messages to be converted to IRC colors; Set to false to just remove them.
  210.         game-colors: true
  211.        
  212.         #Enables Permissions prefixes and suffixes for this channel (iChat-format colors are supported).
  213.         name-colors: true
  214.        
  215.         #List here raw IRC commands you want the bot to perform after it joins this channel.
  216.         on-join:
  217.        # - 'PRIVMSG #changeme :Howdy do!'
  218.  
  219. colormap:
  220.  #### Map colors to your taste here; Make sure each irc, game and name appears once and only once.
  221.   ####  The color 'foreground' *must* exist and will be used as the default by certain features.
  222.  
  223.   - {irc: 0, game: 0', name: 'background'}
  224.   - {irc: 2, game: 1', name: 'navy'}
  225.   - {irc: 3, game: 2', name: 'darkgreen'}
  226.   - {irc: 10, game: 3', name: 'teal'}
  227.   - {irc: 5, game: 4', name: 'maroon'}
  228.   - {irc: 6, game: 5', name: 'purple'}
  229.   - {irc: 7, game: 6', name: 'orange'}
  230.   - {irc: 15, game: 7', name: 'grey'}
  231.   - {irc: 14, game: 8', name: 'darkgrey'}
  232.   - {irc: 12, game: 9', name: 'blue'}
  233.   - {irc: 9, game: '§a', name: 'green'}
  234.   - {irc: 11, game: '§b', name: 'cyan'}
  235.   - {irc: 4, game: '§c', name: 'red'}
  236.   - {irc: 13, game: '§d', name: 'magenta'}
  237.   - {irc: 8, game: '§e', name: 'yellow'}
  238.   - {irc: 1, game: '§f', name: 'foreground'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement