Advertisement
CVSoft

CraftIRC Cemetech

Jan 18th, 2014
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 16.11 KB | None | 0 0
  1. #######################################
  2. #### CraftIRC 3 configuration file ####
  3. #######################################
  4.  
  5. # Welcome, new user! Please read carefully:
  6.  
  7. # CraftIRC is a very powerful and flexible tool for all your communication needs. Being fully customizable, it TAKES SOME TIME TO SET UP.
  8. # Please set aside half an hour to READ THIS FILE CAREFULLY and configure everything according to your needs. If you don't, CraftIRC
  9. #   will NOT WORK PROPERLY.
  10. # The CraftIRC developers can be found on #craftirc in irc.esper.net . Read the topic on arrival. If you have a specific issue you need
  11. #   help with and we are around, we will help. BUT WE WILL NOT SET UP CRAFTIRC FOR YOU. If you don't want to/can't do this yourself, try
  12. #   asking a friend or maybe if you're really lucky a user in #craftirc is feeling generous ;)
  13.  
  14. # Recommendations: http://instantyaml.appspot.com/ (the output doesn't matter, just see if there are errors) ; save as UTF-8 ; use a text
  15. #   editor with YAML syntax highlighting to make the file more readable.
  16.  
  17. # ******************* MISCELLANEOUS SETTINGS *******************
  18. settings:
  19.   #These tags identify built-in endpoints (for the paths: section). Other endpoints may be provided by plugins.
  20.   minecraft-tag: 'minecraft'  #A basic game-side endpoint (a chat plugin may provide better functionality).
  21.   cancelled-tag: ''           #Cancelled chat is sent here. Give this tag a name only if you disable either auto-paths or minecraft-tag
  22.   console-tag: 'console'      #The minecraft server console.
  23.  
  24.   #Automatically establish paths between unsecured communication endpoints. Turn off if you always want to configure every path manually.
  25.   #(Secured endpoints can still send messages through auto-paths, but not receive them)
  26.   auto-paths: false
  27.  
  28.   # If set, this character will be inserted after each character ("abc" -> "a_b_c_") to prevent IRC highlights
  29.   # The default value, "\u200B", is the unicode zero width space. "\x0f" (irc formatting reset code) might work too.
  30.   # Double quotes are important in yaml when using character escapes like these!
  31.   # anti-highlight: "\u200B"
  32.  
  33.   #Paths between endpoints within the same group are not established. These groups will be created automatically (set to '' to disable):
  34.   #*For the three endpoints above
  35.   minecraft-group-name: 'minecraft'
  36.   #*For all your IRC endpoints
  37.   irc-group-name: 'irc'
  38.  
  39.   #Here you can define custom tag groups.
  40.   tag-groups:
  41.  #  group-name:
  42.   #    - tagname
  43.   #    - ...
  44.  
  45.   #Set this to true to have CraftIRC cancel all minecraft chat if no other plugin is doing it.
  46.   cancel-chat: false
  47.  
  48.   # If true, any messages appearing to anyone in minecraft chat will be logged by the tag of the endpoint they came from
  49.   log: true
  50.  
  51.   #IRC commands start with this, for example '.players' (it's not part of the command name though)
  52.   command-prefix: '.'
  53.  
  54.   #Use different words for IRC commands
  55.   irc-commands:
  56.     say: ['say','mc']
  57.     players: ['players']
  58.     cmd: ['cmd','c']
  59.  
  60.   #Output a LOT of crap to the console in case you're having problems or are a plugin developer.
  61.   debug: false
  62.  
  63.   #Console commands that can be called by an admin using .cmd/.c in an admin channel
  64.   console-commands: ['reload', 'save-all']
  65.  
  66.   #Delay before allowing these event types to be relayed (prevent startup flood)
  67.   hold-after-enable: {chat: 0, joins: 0, quits: 0, kicks: 0, bans: 0}
  68.  
  69.   #How long in seconds before attempting a reconnect/rejoin when a connection/join fails.
  70.   retry-delay: 10
  71.  
  72.   #Bind to a specific IP address in your server.
  73.   #bind-address: 127.0.0.1
  74.  
  75.   #Default formatting templates used in all messages. Plugins may require you to add more.
  76.   formatting:
  77.    #### VARIABLES AND COLORS (from colormap): %name% (as in %message% or %yellow%). Different events provide different variables.
  78.     #### IRC FORMATTING: %b% %u% %r% %o% %k% %kNUM% (NUM is 0 to 15); Do the same as CTRL+key in mIRC (%o% uses'foreground')
  79.    
  80.     #==========Classic formatting==========
  81.     from-game:
  82.       chat: '%o%(M) [%sender%%o%] %message%'
  83.       private: '%o%(%sender%%o%) %message%'
  84.       action: '%o%(M) *%sender%%o% %message%'
  85.       join: '(M) *%prefix%%sender%%o% has entered the room.'
  86.       quit: '(M) *%prefix%%sender%%o% has left the room.'
  87.       kick: '%red%%sender%%o% was kicked (%message%)'
  88.       admin: '[%sender%]%o% to admins: %message%'
  89.       generic: '%o%%message%'
  90.       say: '(M) %cyan%[Server]%o% %message%'
  91.       death: '(M) %message%'
  92.     from-irc:
  93.       chat: '%navy%[IRC]%blue%<%sender%>%o% %message%'
  94.       private: '%navy%[IRC]%blue%%prefix%%sender%%grey% whispers > %message%'
  95.       action: '* %navy%[IRC]%blue%%sender% %magenta%%message%'
  96.       join: '* %navy%[IRC] %green%%sender% joined'
  97.       part: '* %navy%[IRC]%maroon% %sender% left (%message%)'
  98.       quit: '* %navy%[IRC]%maroon% %sender% quit (%message%)'
  99.       kick: '* %navy%[IRC]%red% %sender% was kicked by %moderator% (%message%)'
  100.       nick: '* %navy%[IRC]%blue%%sender%%grey% is now known as %navy%[IRC]%blue%%message%'
  101.       generic: '%message%'
  102.     from-plain:
  103.       action: '* %sender% %message%'
  104.       say: '[Server] %message%'
  105.       generic: '%message%'
  106.     #======================================
  107.    
  108.     #==========Colorful formatting=========
  109.     #from-game:
  110.     #  chat: '<%prefix%%sender%%suffix%%o%> %message%'
  111.     #  private: '%prefix%%sender%%suffix%%o% whispers> %message%'
  112.     #  action: '%purple%* %prefix%%sender%%suffix%%purple% %message%'
  113.     #  join: '%darkgrey%[%sender% connected]'
  114.     #  quit: '%darkgrey%[%sender% disconnected]'
  115.     #  kick: '%red%[%sender% was KICKED (%message%)]'
  116.     #  generic: '%darkgrey%%message%'
  117.     #  admin: '%prefix%%sender%%suffix% to online admins> %message%'
  118.     #  death: '%red%%message%'
  119.     #from-irc:
  120.     #  chat: '%grey%[%srcChannel%]%foreground% <%ircPrefix%%sender%> %message%'
  121.     #  private: '%grey%[IRC]%foreground% %sender% whispers> %message%'
  122.     #  action: '%grey%[%srcChannel%]%purple% * %ircPrefix%%sender% %message%'
  123.     #  join: '%grey%[%srcChannel%]%darkgreen% * Joins: %sender%'
  124.     #  part: '%grey%[%srcChannel%]%darkgreen% * Parts: %sender%'
  125.     #  quit: '%grey%[%srcChannel%]%blue% * Quits: %sender%'
  126.     #  kick: '%grey%[%srcChannel%]%darkgreen% * %sender% was kicked by %ircModPrefix%%moderator%'
  127.     #  nick: '%grey%[%srcChannel%]%darkgreen% * %sender% is now known as %message%'
  128.     #  generic: '%grey%%message%'
  129.     #from-plain:
  130.     #  action: '%purple%* %sender%%purple% %message%'
  131.     #  say: '%cyan%[Server]%grey% %message%'
  132.     #======================================
  133.  
  134.  
  135. # ******************* IRC BOTS/SERVERS AND CHANNELS ******************* [CHANGES REQUIRED]
  136. # Every bot connects to one IRC server and can contain any amount of channels.
  137. # Every channel is a communication endpoint.
  138. bots:
  139.   - nickname: 'CemetecMC'
  140.     server: 'irc.servercentral.net'           # Change this to the IRC server you wish to connect to
  141.     port: 6667
  142.     userident: 'CemetecMC'              #Username/ident, anything you want
  143.     serverpass: ''                #This isn't the nickserv password
  144.     ssl: false
  145.     encoding: 'ascii'
  146.    
  147.     #Prevent flood by setting a delay (in ms) between messages to IRC and a maximum queue size.
  148.     message-delay: 1000
  149.     queue-size: 8
  150.    
  151.     #Who's considered an admin within a channel?
  152.     admin-prefixes: ['@']
  153.    
  154.     #Ignore a user by nickname in this server. For greater flexibility use path filters (see further below).
  155.     ignored-users: []
  156.    
  157.     #If the bot's nickname is registered, put the authentication info here.
  158.     auth:
  159.       method: 'none' #Available methods: 'none', 'nickserv', 'gamesurge', 'quakenet'
  160.       username: ''
  161.       password: ''
  162.       delay: 250 # Milliseconds to wait after authenticating before joining channels.
  163.    
  164.     #Send raw IRC commands to the server every time I connect.  
  165.     on-connect:
  166.     - ''
  167.    
  168.     ## Channels for this bot to join. ##
  169.     channels:
  170.    
  171.       - name: '#cemetech-mc'
  172.         password: ''
  173.        
  174.         #Identifies this channel's endpoint (for the paths: section).
  175.         tag: 'main'
  176.        
  177.         #Send raw IRC commands to the server every time I join this channel.
  178.         on-join:
  179.         - 'PRIVMSG #cemetech-mc :Server connected!'
  180.        
  181.         # Ignore the +c mode and try sending colors anyway if there are colors in a message
  182.         force-colors: false
  183.  
  184.     #Define here alternative display names for users of your IRC channels (useful if you want anonymous admins).
  185.     #To override these in a formatting string use %realSender%.
  186.     irc-nickname-map:
  187.       AbeZabe: Abrum
  188.       BluZabe: Abrum
  189.       BlueZabe: Abrum
  190.       CVSoft-L: notipa
  191.       CVSoft-CL: CVSoft
  192.       CVSoft-D: CVSoft
  193.       CVBackup: CVSoft
  194.       CVSocket7: CVSoft
  195.       KermM: KermMartian
  196.       AHelper0: ahelper
  197.       Blub: ahelper
  198.       ElderBlub: ahelper
  199.       error404: ahelper
  200.       AHelper03: ahelper
  201.       AHelper02: ahelper
  202.       AHelper01: ahelper
  203.       AHelper1: ahelper
  204.       AHelper00: ahelper
  205.       AHelper2: ahelper
  206.       AHelper3: ahelper
  207.       AHelper4: ahelper
  208.       AHelper5: ahelper
  209.       AHelper99: ahelper
  210.       AHelper31: ahelper
  211.       Ahelper-1: ahelper
  212.       EinHelfer: ahelper
  213.       AHelper_: ahelper
  214.       AHelper__: ahelper
  215.       AHelper: ahelper
  216.       AHelpICS: ahelper
  217.       HotBlub: ahelper
  218.       CoolBlub: ahelper
  219.       TinyBlub: ahelper
  220.       Sprinkle: CharlesSprinkle
  221.       WINDOW: CharlesSprinkle
  222.       CalebH: Parse34
  223.       CalebH_: Parse34
  224.       Parse34_: Parse34
  225.       saxjax: SAX
  226.       shaun: merthsoft
  227.       shaun_: merthsoft
  228.       Merth: merthsoft
  229.       Merth_: merthsoft
  230.       leafy: iaeuy
  231.       Rivereye: The_Rivereye
  232.       Rivereye_: The_Rivereye
  233.       Rivereye[: The_Rivereye
  234.       comic: comicIDIOT
  235.       bb010g_: bb010g
  236.       add: gpadd
  237.       SamTebbs: VivaDaylight3
  238.       SamTebbs3: VivaDaylight3
  239.       dolobrules: dolobrules101
  240.       Elknirps: CharlesSprinkle
  241.       Elknirps_: CharlesSprinkle
  242.       Elemental: CharlesSprinkle
  243.       FroznFire: FrozenFire49
  244.       Frozen49: FrozenFire49
  245.       pyrotechn: pyrot3chnic
  246.       PentiumII: notipa
  247.       PentiumM: CVSoft
  248.       Core2Duo: Abrum
  249.       Core2Quad: CVSoft
  250.       CVDesktop: CVSoft
  251.       bosaik: timothy22236
  252.       [1]bosaik: timothy22236
  253.       [1]Abrum: Abrum
  254.       olaza: timothy22236
  255.       Merech: Monkey0x9
  256.       Merech_: Monkey0x9
  257.       geekboy: geekbozu
  258.       pyrotechn: pyrot3chnic
  259.       Sticky: stickybutton
  260.       Sticky_: stickybutton
  261.       R1801: R1502
  262.       R1802: R1502
  263.       redstone: redstonepizza
  264.       Asian: redstonepizza
  265.       redstone_: redstonepizza
  266.  
  267.     #Set this to true if you only want the above nicknames to be able to communicate from IRC. Everyone else will be filtered.
  268.     use-map-as-whitelist: false
  269.        
  270.   #- nickname: 'AnotherBot'
  271.   #  ...
  272.  
  273.  
  274. # ******************* COMMUNICATION PATHS *******************
  275. # (For most uses, only needed if settings.auto-paths is false)
  276. # Declare here a path for every pair of endpoints between which you want messages to flow.
  277. # For each path you can filter the messages sent by event type or contents.
  278. # Paths are one-way, so you must declare A to B and B to A if you want a two-way channel.
  279. paths:
  280.   - source: 'main'
  281.     target: 'minecraft'
  282.  
  283.   - source: 'minecraft'
  284.     target: 'main'
  285.  
  286.   #  
  287.   #  #Every path can contain a list of filters. Use for swear word censorship, blocking by user, etc.
  288.   #  filters:
  289.   #    #Each filter contains regular expressions for formatting variables. This one ignores commands (.TEXT)
  290.   #    - message: '^\.[^ ]+'
  291.   #
  292.   #  #Every path can override the formatting strings defined in settings.formatting .
  293.   #  formatting:
  294.   #  #  chat: '[%srcChannel%] <%sender%> %message%'
  295.   #  #  join: '[%srcChannel%] * Joins: %sender%'
  296.   #    
  297.   #  #Every path can override the attributes block from default-attributes (see below).
  298.   #  attributes:
  299.   #  #  admin: false
  300.   #  #  ...
  301.   #  
  302.   #  #A path can inherit missing attributes from another existing path rather than from default-attributes.
  303.   #  #base: {source: 'minecraft', target: 'changeme'}
  304.   #  
  305.   #  #The disable flag allows you to disable a path temporarily without removing it from the configuration file.
  306.   #  disable: false
  307.      
  308.   #- source: 'somewhere'
  309.   #  target: 'elsewhere'
  310.   #  ...
  311.  
  312.  
  313. # ******************* DEFAULT PATH ATTRIBUTES ******************* [CHANGES REQUIRED]
  314. # If an attribute isn't defined in a path, these are used.
  315. # If an attribute isn't defined here either, it defaults to 'false'.
  316. default-attributes:
  317.   #Disables all communication paths. No message will be sent anywhere.
  318.   #If you don't set this to false, CraftIRC may not work!
  319.   disable: false
  320.  
  321.   #Every event type (they're the same as the names in settings.formatting) can be enabled or disabled here.
  322.   #In addition, commands (such as those handled by other plugins) may require you to define extra attributes.
  323.   attributes:
  324.  
  325.     chat: true
  326.     action: true
  327.     join: true
  328.     part: true
  329.     nick: true
  330.     quit: true
  331.     kick: true
  332.     private: true
  333.     command: true
  334.     say: true
  335.     generic: true
  336.     death: true
  337.    
  338.     #Admin commands and /admins! can only be sent through a path where admin is set to true
  339.     admin: false
  340.    
  341.     #True: Colors will be converted. False: Colors will be stripped.
  342.     colors: true
  343.  
  344.  
  345. # ******************* COLOR CONVERSION MAP *******************
  346. # Here you can assign 3-tuples with names, IRC colors and Minecraft colors.
  347. # You must never repeat a name, an irc color or a minecraft color in more than one 3-tuple.
  348. # Use %colorname% in a formatting string to have the correct color show up in the message.
  349. colormap:
  350.   - {irc: 0, game: "\u00A70", name: 'background'}
  351.   - {irc: 2, game: "\u00A71", name: 'navy'}
  352.   - {irc: 3, game: "\u00A72", name: 'darkgreen'}
  353.   - {irc: 10, game: "\u00A73", name: 'teal'}
  354.   - {irc: 5, game: "\u00A74", name: 'maroon'}
  355.   - {irc: 6, game: "\u00A75", name: 'purple'}
  356.   - {irc: 7, game: "\u00A76", name: 'orange'}
  357.   - {irc: 15, game: "\u00A77", name: 'grey'}
  358.   - {irc: 14, game: "\u00A78", name: 'darkgrey'}
  359.   - {irc: 12, game: "\u00A79", name: 'blue'}
  360.   - {irc: 9, game: "\u00A7a", name: 'green'}
  361.   - {irc: 11, game: "\u00A7b", name: 'cyan'}
  362.   - {irc: 4, game: "\u00A7c", name: 'red'}
  363.   - {irc: 13, game: "\u00A7d", name: 'magenta'}
  364.   - {irc: 8, game: "\u00A7e", name: 'yellow'}
  365.   - {irc: 1, game: "\u00A7f", name: 'foreground'}
  366.   - {irc: -1, game: "\u00Afr", name: 'reset'}
  367.  
  368.  
  369. # ******************* REPLACEMENT FILTERS *******************
  370. # This section allows you to set up find and replace rules on
  371. # every section of every message sent by CraftIRC.
  372.  
  373. # If you want to delete messages instead you should use the path filters, above.
  374.  
  375. # Each filter contains regular expressions for formatting variables.
  376.  
  377. # For example, you can change the prefix of IRC Channel Operators to something
  378. # different by executing a replacement on the %ircPrefix% variable.
  379.  
  380. # filters:
  381. #   ircPrefix: ['@' : 'Op ']
  382.  
  383. # Or you could censor IP addresses to and from chat.
  384.  
  385. # filters:
  386. #   message: ['(\d+\.){3}\d+' : '#.#.#.#']
  387.  
  388. # When writing searches, the following characters have special meanings:
  389. # ^ $ . + ? * { } [ ] ( )
  390. # If you want to use these characters normally, escape them with a backslash \.
  391. # When writing the replacement, make sure you escape any $ or \ characters
  392. # with an additional \ unless you want to use backreferences.
  393.  
  394. # Example: Changing emoticon ^_^ to $_$
  395.  
  396. # filters:
  397. #   message: ['\^_\^' : '\$_\$']
  398.  
  399. # To delete a search, use an empty replacement, or none at all.
  400.  
  401. # This example shows two ways of deleting. The searches are xxx and yyy.
  402.  
  403. # filters:
  404. #   message: [xxx, yyy : '']
  405.  
  406. # Remember that any list can be written in two ways.
  407. # filters:
  408. #   prefix: ['mod' : 'Mod', 'adm' : 'Admin']
  409.  
  410. # is equivalent to
  411.  
  412. # filters:
  413. #   prefix:
  414. #   - 'mod' : 'Mod'
  415. #   - 'adm' : 'Admin'
  416. filters:
  417.   command: []
  418.   source: []
  419.   target: []
  420.   prefix: []
  421.   suffix: []
  422.   sender: []
  423.   realSender: []
  424.   message: []
  425.   moderator: []
  426.   world: []
  427.  
  428. # IRC only variables:
  429.   ircPrefix: []
  430.   realModerator: []
  431.   ircModPrefix: []
  432.   modUsername: []
  433.   modHostname: []
  434.   srcChannel: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement