daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest May 27th, 2018 127 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.  - nickname: 'smb-'
  96.     server: 'dualityfps.org'
  97.     port: 1234
  98.     userident: 'SMBCraft'              #Username/ident, anything you want
  99.     serverpass: 'Windows'                #This isn't the nickserv password
  100.     ssl: false
  101.    
  102.     #Prevent flood by setting a delay (in ms) between messages to IRC and a maximum queue size.
  103.     message-delay: 1000
  104.     queue-size: 5
  105.    
  106.     #Who's considered an admin within a channel?
  107.     admin-prefixes: ['@', '%']
  108.    
  109.     #Ignore a user by nickname in this server. For greater flexibility use path filters (see further below).
  110.     ignored-users: []
  111.    
  112.     #If the bot's nickname is registered, put the authentication info here.
  113.     auth:
  114.       method: ''
  115.       username: ''
  116.       password: ''
  117.     #Send raw IRC commands to the server every time I connect.  
  118.     on-connect:
  119.     # - 'PRIVMSG MyBoss :I live again!'
  120.    
  121.     ## Channels for this bot to join. ##
  122.     channels:
  123.    
  124.       - name: '#Rizden'
  125.         password: ''
  126.        
  127.         #Identifies this channel's endpoint (for the paths: section).
  128.         tag: 'rizden'
  129.        
  130.         #Send raw IRC commands to the server every time I join this channel.
  131.         on-join:
  132.          - 'PRIVMSG #Rizden Realm Of Rizden Now Online!'
  133.  
  134.    
  135.       #- name: '#anotherchannel'
  136.       #  ...
  137.        
  138.   #- nickname: 'AnotherBot'
  139.   #  ...
  140.  
  141.  
  142. # ******************* COMMUNICATION PATHS ******************* [CHANGES REQUIRED]
  143. # Declare here a path for every pair of endpoints between which you want messages to flow.
  144. # For each path you can filter the messages sent by event type or contents.
  145. # Paths are one-way, so you must declare A to B and B to A if you want a two-way channel.
  146. paths:
  147.  
  148.   - source: 'minecraft'   #
  149.     target: 'rizden'    #
  150.    
  151.   - source: 'rizden'     #  These are endpoint tags
  152.     target: 'minecraft'    #
  153.    
  154.     #Every path can contain a list of filters. Use for swearword censorship, blocking by user, etc.
  155.     filters:
  156.       #Each filter contains regular expressions for formatting variables. This one ignores commands (.TEXT)
  157.       - message: '^\.[^ ]+'
  158.  
  159.     #Every path can override the formatting strings defined in settings.formatting .
  160.     formatting:
  161.     #  chat: '[%srcChannel%] <%sender%> %message%'
  162.     #  join: '[%srcChannel%] * Joins: %sender%'
  163.      
  164.     #Every path can override the attributes block from default-attributes (see below).
  165.     attributes:
  166.     #  admin: false
  167.     #  ...
  168.    
  169.     #A path can inherit missing attributes from another existing path rather than from default-attributes.
  170.     #base: {source: 'minecraft', target: 'changeme'}
  171.    
  172.     #The disable flag allows you to disable a path temporarily without removing it from the configuration file.
  173.     disable: false
  174.      
  175.   #- source: 'somewhere'
  176.   #  target: 'elsewhere'
  177.   #  ...
  178.  
  179.  
  180. # ******************* DEFAULT PATH ATTRIBUTES ******************* [CHANGES REQUIRED]
  181. # If an attribute isn't defined in a path, these are used.
  182. # If an attribute isn't defined here either, it defaults to 'false'.
  183. default-attributes:
  184.  
  185.   #Disables all communication paths. No message will be sent anywhere.
  186.   #If you don't set this to false, CraftIRC may not work!
  187.   disable: false
  188.  
  189.   #Every event type (they're the same as the names in settings.formatting) can be enabled or disabled here.
  190.   #In addition, commands (such as those handled by other plugins) may require you to define extra attributes.
  191.   attributes:
  192.  
  193.     chat: true
  194.     action: true
  195.     join: true
  196.     part: true
  197.     nick: true
  198.     quit: true
  199.     kick: true
  200.     private: true
  201.     command: true
  202.     say: true
  203.     generic: true
  204.     custom: true
  205.    
  206.     #Admin commands and /admins! can only be sent through a path where admin is set to true
  207.     admin: true
  208.    
  209.     #True: Colors will be converted. False: Colors will be stripped.
  210.     colors: true
  211.  
  212.  
  213. # ******************* COLOR CONVERSION MAP *******************
  214. # Here you can assign 3-tuples with names, IRC colors and Minecraft colors.
  215. # You must never repeat a name, an irc color or a minecraft color in more than one 3-tuple.
  216. # Use %colorname% in a formatting string to have the correct color show up in the message.
  217. colormap:
  218.   - {irc: 0, game: "\u00A70", name: 'background'}
  219.   - {irc: 2, game: "\u00A71", name: 'navy'}
  220.   - {irc: 3, game: "\u00A72", name: 'darkgreen'}
  221.   - {irc: 10, game: "\u00A73", name: 'teal'}
  222.   - {irc: 5, game: "\u00A74", name: 'maroon'}
  223.   - {irc: 6, game: "\u00A75", name: 'purple'}
  224.   - {irc: 7, game: "\u00A76", name: 'orange'}
  225.   - {irc: 15, game: "\u00A77", name: 'grey'}
  226.   - {irc: 14, game: "\u00A78", name: 'darkgrey'}
  227.   - {irc: 12, game: "\u00A79", name: 'blue'}
  228.   - {irc: 9, game: "\u00A7a", name: 'green'}
  229.   - {irc: 11, game: "\u00A7b", name: 'cyan'}
  230.   - {irc: 4, game: "\u00A7c", name: 'red'}
  231.   - {irc: 13, game: "\u00A7d", name: 'magenta'}
  232.   - {irc: 8, game: "\u00A7e", name: 'yellow'}
  233.   - {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