Guest User

Untitled

a guest
Oct 17th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.23 KB | None | 0 0
  1.     #######################################
  2.     #### CraftIRC 3 configuration file ####
  3.     #######################################
  4.      
  5.     # ******************* MISCELLANEOUS SETTINGS *******************
  6.     settings:
  7.    
  8.       minecraft-tag: 'minecraft'  #A basic game-side endpoint (a chat plugin may provide better functionality).
  9.       cancelled-tag: 'cancelled'  #Cancelled chat is sent here (and nothing else).
  10.       console-tag: 'console'      #The minecraft server console.
  11.      
  12.       cancel-chat: false
  13.      
  14.       command-prefix: '!'
  15.      
  16.       debug: true
  17.      
  18.       console-commands: ['reload', 'save-all', 'stop', 'kick', 'ban', 'op', 'deop', 'give', 'whitelist', 'whitelist list', 'whitelist reload', 'time', 'plugins', 'tp']
  19.      
  20.       hold-after-enable: {chat: 0, joins: 0, quits: 0, kicks: 0, bans: 0}
  21.      
  22.       retry-delay: 10
  23.      
  24.       #bind-address: 127.0.0.1
  25.      
  26.       formatting:
  27.        #### VARIABLES AND COLORS (from colormap): %name% (as in %message% or %yellow%). Different events provide different variables.
  28.         #### IRC FORMATTING: %b% %u% %r% %o% %k% %kNUM% (NUM is 0 to 15); Do the same as CTRL+key in mIRC (%o% uses'foreground')
  29.      
  30.         from-game:
  31.           chat: '%sender% %message%'
  32.           private: 'PM from (%sender%) %message%'
  33.           action: '* %sender% %message%'
  34.           join: '[%sender% connected]'
  35.           quit: '[%sender% disconnected]'
  36.           kick: '[%moderator% KICKED %sender% (%message%)]'
  37.           admin: '%sender% to online admins ->- %message%'
  38.           generic: '%message%'
  39.         from-irc:
  40.           chat: '[%srcChannel%] <%sender%> %message%'
  41.           private: '%sender% whispers> %message%'
  42.           action: '[%srcChannel%] * %sender% %message%'
  43.           join: '[%srcChannel%] * Joins: %sender%'
  44.           part: '[%srcChannel%] * Parts: %sender%'
  45.           quit: '[%srcChannel%] * Quits: %sender% (%message%)'
  46.           kick: '[%srcChannel%] * %sender% was kicked by %moderator% (%message%)'
  47.           nick: '[%srcChannel%] * %sender% is now known as %message%'
  48.         from-plain:
  49.    
  50.     # ******************* IRC BOTS/SERVERS AND CHANNELS *******************
  51.     bots:
  52.    
  53.       - nickname: 'FinBot'
  54.         server: 'irc.foco.co'
  55.         port: 6667
  56.         userident: 'bot'              #Username/ident, anything you want
  57.         serverpass: ''                #This isn't the nickserv password
  58.         ssl: false
  59.      
  60.         message-delay: 1000
  61.         queue-size: 5
  62.        
  63.         admin-prefixes: ['@', '&', '~']    
  64.         ignored-users: []
  65.        
  66.         auth:
  67.           method: 'nickserv' #Available methods: 'none', 'nickserv', 'gamesurge', 'quakenet'
  68.           username: ''
  69.           password: ''
  70.        
  71.         on-connect:
  72.        # - 'PRIVMSG MyBoss :I live again!'
  73.        
  74.         channels:
  75.      
  76.           - name: '#gfs.echo'
  77.             password: ''        
  78.             tag: 'changeme'        
  79.             on-join:
  80.            # - 'PRIVMSG #changeme :Howdy do!'
  81.            
  82.           - name: '#gfs'  
  83.             password: ''
  84.  
  85.  
  86.     # ******************* COMMUNICATION PATHS *******************
  87.     paths:
  88.    
  89.       - source: 'minecraft'
  90.         target: 'changeme'
  91.        
  92.       - source: 'changeme'     # These are endpoint tags
  93.         target: 'minecraft'    #
  94.        
  95.         filters:
  96.           - message: '^\.[^ ]+'
  97.      
  98.         formatting:
  99.        #  chat: '[%srcChannel%] <%sender%> %message%'
  100.         #  join: '[%srcChannel%] * Joins: %sender%'
  101.          
  102.         attributes:
  103.        #  admin: false
  104.         #  ...
  105.        
  106.         #base: {source: 'minecraft', target: 'changeme'}
  107.        
  108.         #The disable flag allows you to disable a path temporarily without removing it from the configuration file.
  109.         disable: false
  110.          
  111.      
  112.     # ******************* DEFAULT PATH ATTRIBUTES *******************
  113.     default-attributes:
  114.    
  115.       disable: false
  116.        
  117.       attributes:
  118.    
  119.         chat: true
  120.         action: true
  121.         join: false
  122.         part: false
  123.         nick: false
  124.         quit: false
  125.         kick: false
  126.         private: true
  127.         command: true
  128.         say: true
  129.         generic: true
  130.        
  131.         admin: false
  132.        
  133.         colors: true
  134.      
  135.      
  136.     # ******************* COLOR CONVERSION MAP *******************
  137.     colormap:
  138.       - {irc: 0, game: "\u00C2\u00A70", name: 'background'}
  139.       - {irc: 2, game: "\u00C2\u00A71", name: 'navy'}
  140.       - {irc: 3, game: "\u00C2\u00A72", name: 'darkgreen'}
  141.       - {irc: 10, game: "\u00C2\u00A73", name: 'teal'}
  142.       - {irc: 5, game: "\u00C2\u00A74", name: 'maroon'}
  143.       - {irc: 6, game: "\u00C2\u00A75", name: 'purple'}
  144.       - {irc: 7, game: "\u00C2\u00A76", name: 'orange'}
  145.       - {irc: 15, game: "\u00C2\u00A77", name: 'grey'}
  146.       - {irc: 14, game: "\u00C2\u00A78", name: 'darkgrey'}
  147.       - {irc: 12, game: "\u00C2\u00A79", name: 'blue'}
  148.       - {irc: 9, game: "\u00C2\u00A7a", name: 'green'}
  149.       - {irc: 11, game: "\u00C2\u00A7b", name: 'cyan'}
  150.       - {irc: 4, game: "\u00C2\u00A7c", name: 'red'}
  151.       - {irc: 13, game: "\u00C2\u00A7d", name: 'magenta'}
  152.       - {irc: 8, game: "\u00C2\u00A7e", name: 'yellow'}
  153.       - {irc: 1, game: "\u00C2\u00A7f", name: 'foreground'}
Add Comment
Please, Sign In to add comment