SHARE
TWEET

Untitled

a guest May 27th, 2018 231 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #######################################
  2. #### CraftIRC 3 configuration file ####
  3. #######################################
  4.  
  5. settings:
  6.  
  7.   #These tags identify built-in endpoints (for the paths: section). Other endpoints may be provided by plugins.
  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: 'BossMajor'      #The minecraft server console.
  11.  
  12.   #Set this to true to have CraftIRC cancel all minecraft chat if no other plugin is doing it.
  13.   cancel-chat: false
  14.  
  15.   #IRC commands start with this, for example '.players' (it's not part of the command name though)
  16.   command-prefix: './'
  17.  
  18.   #Output a LOT of crap to the console in case you're having problems or are a plugin developer.
  19.   debug: false
  20.  
  21.   #Console commands that can be called by an admin using .cmd/.c in an admin channel
  22.   console-commands: ['reload', 'save-all']
  23.  
  24.   #Delay before allowing these event types to be relayed (prevent startup flood)
  25.   hold-after-enable: {chat: 0, joins: 0, quits: 0, kicks: 0, bans: 0}
  26.  
  27.   #How long in seconds before attempting a reconnect/rejoin when a connection/join fails.
  28.   retry-delay: 10
  29.  
  30.   #Bind to a specific IP address in your server.
  31.   #bind-address: 127.0.0.1
  32.  
  33.   #Default formatting templates used in all messages. Plugins may require you to add more.
  34.   formatting:
  35.     #### VARIABLES AND COLORS (from colormap): %name% (as in %message% or %yellow%). Different events provide different variables.
  36.     #### IRC FORMATTING: %b% %u% %r% %o% %k% %kNUM% (NUM is 0 to 15); Do the same as CTRL+key in mIRC (%o% uses'foreground')
  37.    
  38.     #==========Classic formatting==========
  39.     from-game:
  40.       chat: '<%red%%sender%%o%> %message%'
  41.       private: '<%red%%sender%%o%> %message%'
  42.       action: '%blue%* %sender%%o% %message%'
  43.       join: '%green%+ join%o%: %yellow%%sender%'
  44.       quit: '%red%- part%o%: %yellow%%sender%'
  45.       kick: '%red%- part%o%: %yellow%%sender%'
  46.       admin: '%yelow%%sender% %o%%message%'
  47.       generic: '%message%'
  48.     from-irc:
  49.       chat: '%yellow%<IRC> %o%<%red%%sender%%o%> %message%'
  50.       private: '%yellow%<IRC> <%sender%> %message%'
  51.       action: '%yellow%<IRC> %blue%* %sender% %o%%message%'
  52.       join: '%yellow%<IRC> %green%+ join%o%: %yellow%%sender%'
  53.       part: '%yellow%<IRC> %red%- part%o%: %yellow%%sender%'
  54.       quit: '%yellow%<IRC> %red%- part%o%: %yellow%%sender%'
  55.       kick: '%yellow%<IRC> %red%- part%o%: %yellow%%sender%'
  56.       nick: '%yellow%<IRC> %blue%* %sender% %o%is now known as %blue%%message%'
  57.     from-plain:
  58.     #======================================
  59.    
  60.     #==========Colorful formatting=========
  61.     #from-game:
  62.     #  chat: '<%prefix%%sender%%suffix%%o%> %message%'
  63.     #  private: '%prefix%%sender%%suffix%%o% whispers> %message%'
  64.     #  action: '%purple%* %prefix%%sender%%suffix%%purple% %message%'
  65.     #  join: '%darkgrey%[%sender% connected]'
  66.     #  quit: '%darkgrey%[%sender% disconnected]'
  67.     #  kick: '%red%[%sender% was KICKED (%message%)]'
  68.     #  generic: '%darkgrey%%message%'
  69.     #  admin: '%prefix%%sender%%suffix% to online admins> %message%'
  70.     #from-irc:
  71.     #  chat: '%grey%[%srcChannel%]%foreground% <%ircPrefix%%sender%> %message%'
  72.     #  private: '%grey%[IRC]%foreground% %sender% whispers> %message%'
  73.     #  action: '%grey%[%srcChannel%]%purple% * %ircPrefix%%sender% %message%'
  74.     #  join: '%grey%[%srcChannel%]%darkgreen% * Joins: %sender%'
  75.     #  part: '%grey%[%srcChannel%]%darkgreen% * Parts: %sender%'
  76.     #  quit: '%grey%[%srcChannel%]%blue% * Quits: %sender%'
  77.     #  kick: '%grey%[%srcChannel%]%darkgreen% * %sender% was kicked by %ircModPrefix%%moderator%'
  78.     #  nick: '%grey%[%srcChannel%]%darkgreen% * %sender% is now known as %message%'
  79.     #  generic: '%grey%%message%'
  80.     #======================================
  81.  
  82.  
  83. # ******************* IRC BOTS/SERVERS AND CHANNELS ******************* [CHANGES REQUIRED]
  84. # Every bot connects to one IRC server and can contain any amount of channels.
  85. # Every channel is a communication endpoint.
  86. bots:
  87.  
  88.   - nickname: 'MrChat-'
  89.     server: 'dualityfps.org'
  90.     port: 1234
  91.     userident: 'Rizden'              #Username/ident, anything you want
  92.     serverpass: 'Esperden'                #This isn't the nickserv password
  93.     ssl: false
  94.    
  95.     #Prevent flood by setting a delay (in ms) between messages to IRC and a maximum queue size.
  96.     message-delay: 1000
  97.     queue-size: 5
  98.    
  99.     #Who's considered an admin within a channel?
  100.     admin-prefixes: ['@', '%']
  101.    
  102.     #Ignore a user by nickname in this server. For greater flexibility use path filters (see further below).
  103.     ignored-users: []
  104.    
  105.     #If the bot's nickname is registered, put the authentication info here.
  106.     auth:
  107.       method: 'nickserv'
  108.       username: ''
  109.       password: ''
  110.     #Send raw IRC commands to the server every time I connect.  
  111.     on-connect:
  112.     # - 'PRIVMSG MyBoss :I live again!'
  113.    
  114.     ## Channels for this bot to join. ##
  115.     channels:
  116.    
  117.       - name: '#Rizden'
  118.         password: ''
  119.        
  120.         #Identifies this channel's endpoint (for the paths: section).
  121.         tag: 'rizden1'
  122.        
  123.         #Send raw IRC commands to the server every time I join this channel.
  124.         on-join:
  125.          - 'PRIVMSG #Rizden Realm Of Rizden Now Online!'
  126.  
  127.    
  128.        
  129.  - nickname: 'smb-'
  130.     server: 'dualityfps.org'
  131.     port: 1234
  132.     userident: 'SMBCraft'              #Username/ident, anything you want
  133.     serverpass: 'Windows'                #This isn't the nickserv password
  134.     ssl: false
  135.  
  136.     #Prevent flood by setting a delay (in ms) between messages to IRC and a maximum queue size.
  137.     message-delay: 1000
  138.     queue-size: 5
  139.    
  140.     #Who's considered an admin within a channel?
  141.     admin-prefixes: ['@', '%']
  142.    
  143.     #Ignore a user by nickname in this server. For greater flexibility use path filters (see further below).
  144.     ignored-users: []
  145.    
  146.     #If the bot's nickname is registered, put the authentication info here.
  147.     auth:
  148.       method: 'quakenet'
  149.       username: ''
  150.       password: ''
  151.     #Send raw IRC commands to the server every time I connect.  
  152.     on-connect:
  153.     # - 'PRIVMSG MyBoss :I live again!'
  154.  
  155.     channels:
  156.    
  157.       - name: '#Rizden'
  158.         password: ''
  159.        
  160.         #Identifies this channel's endpoint (for the paths: section).
  161.         tag: 'rizden2'
  162.        
  163.         #Send raw IRC commands to the server every time I join this channel.
  164.         on-join:
  165.          - 'PRIVMSG #Rizden Realm Of Rizden Now Online!'
  166.  
  167. # ******************* COMMUNICATION PATHS ******************* [CHANGES REQUIRED]
  168. # Declare here a path for every pair of endpoints between which you want messages to flow.
  169. # For each path you can filter the messages sent by event type or contents.
  170. # Paths are one-way, so you must declare A to B and B to A if you want a two-way channel.
  171. paths:
  172.  
  173.   - source: 'minecraft'   #
  174.     target: 'rizden1'    #
  175.    
  176.   - source: 'rizden1'     #  These are endpoint tags
  177.     target: 'minecraft'    #
  178.    
  179.     #Every path can contain a list of filters. Use for swearword censorship, blocking by user, etc.
  180.     filters:
  181.       #Each filter contains regular expressions for formatting variables. This one ignores commands (.TEXT)
  182.       - message: '^\.[^ ]+'
  183.  
  184.     #Every path can override the formatting strings defined in settings.formatting .
  185.     formatting:
  186.     #  chat: '[%srcChannel%] <%sender%> %message%'
  187.     #  join: '[%srcChannel%] * Joins: %sender%'
  188.      
  189.     #Every path can override the attributes block from default-attributes (see below).
  190.     attributes:
  191.     #  admin: false
  192.     #  ...
  193.    
  194.     #A path can inherit missing attributes from another existing path rather than from default-attributes.
  195.     #base: {source: 'minecraft', target: 'changeme'}
  196.    
  197.     #The disable flag allows you to disable a path temporarily without removing it from the configuration file.
  198.     disable: false
  199.      
  200.   - source: 'minecraft'   #
  201.     target: 'rizden2'    #
  202.    
  203.   - source: 'rizden2'     #  These are endpoint tags
  204.     target: 'minecraft'    #
  205.    
  206.     #Every path can contain a list of filters. Use for swearword censorship, blocking by user, etc.
  207.     filters:
  208.       #Each filter contains regular expressions for formatting variables. This one ignores commands (.TEXT)
  209.       - message: '^\.[^ ]+'
  210.  
  211.     #Every path can override the formatting strings defined in settings.formatting .
  212.     formatting:
  213.     #  chat: '[%srcChannel%] <%sender%> %message%'
  214.     #  join: '[%srcChannel%] * Joins: %sender%'
  215.      
  216.     #Every path can override the attributes block from default-attributes (see below).
  217.     attributes:
  218.     #  admin: false
  219.     #  ...
  220.    
  221.     #A path can inherit missing attributes from another existing path rather than from default-attributes.
  222.     #base: {source: 'minecraft', target: 'changeme'}
  223.    
  224.     #The disable flag allows you to disable a path temporarily without removing it from the configuration file.
  225.     disable: false
  226.  
  227.   - source: 'BossMajor'     #  These are endpoint tags
  228.     target: 'rizden1'    #
  229.  
  230.   - source: 'BossMajor'     #  These are endpoint tags
  231.     target: 'rizden2'    #
  232.  
  233.  
  234. # ******************* DEFAULT PATH ATTRIBUTES ******************* [CHANGES REQUIRED]
  235. # If an attribute isn't defined in a path, these are used.
  236. # If an attribute isn't defined here either, it defaults to 'false'.
  237. default-attributes:
  238.  
  239.   #Disables all communication paths. No message will be sent anywhere.
  240.   #If you don't set this to false, CraftIRC may not work!
  241.   disable: false
  242.  
  243.   #Every event type (they're the same as the names in settings.formatting) can be enabled or disabled here.
  244.   #In addition, commands (such as those handled by other plugins) may require you to define extra attributes.
  245.   attributes:
  246.  
  247.     chat: true
  248.     action: true
  249.     join: true
  250.     part: true
  251.     nick: true
  252.     quit: true
  253.     kick: true
  254.     private: true
  255.     command: true
  256.     say: true
  257.     generic: true
  258.     console: true
  259.     custom: true
  260.    
  261.     #Admin commands and /admins! can only be sent through a path where admin is set to true
  262.     admin: true
  263.    
  264.     #True: Colors will be converted. False: Colors will be stripped.
  265.     colors: true
  266.  
  267.  
  268. # ******************* COLOR CONVERSION MAP *******************
  269. # Here you can assign 3-tuples with names, IRC colors and Minecraft colors.
  270. # You must never repeat a name, an irc color or a minecraft color in more than one 3-tuple.
  271. # Use %colorname% in a formatting string to have the correct color show up in the message.
  272. colormap:
  273.   - {irc: 0, game: "\u00A70", name: 'background'}
  274.   - {irc: 2, game: "\u00A71", name: 'navy'}
  275.   - {irc: 3, game: "\u00A72", name: 'darkgreen'}
  276.   - {irc: 10, game: "\u00A73", name: 'teal'}
  277.   - {irc: 5, game: "\u00A74", name: 'maroon'}
  278.   - {irc: 6, game: "\u00A75", name: 'purple'}
  279.   - {irc: 7, game: "\u00A76", name: 'orange'}
  280.   - {irc: 15, game: "\u00A77", name: 'grey'}
  281.   - {irc: 14, game: "\u00A78", name: 'darkgrey'}
  282.   - {irc: 12, game: "\u00A79", name: 'blue'}
  283.   - {irc: 9, game: "\u00A7a", name: 'green'}
  284.   - {irc: 11, game: "\u00A7b", name: 'cyan'}
  285.   - {irc: 4, game: "\u00A7c", name: 'red'}
  286.   - {irc: 13, game: "\u00A7d", name: 'magenta'}
  287.   - {irc: 8, game: "\u00A7e", name: 'yellow'}
  288.   - {irc: 1, game: "\u00A7f", name: 'foreground'}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top