Advertisement
Guest User

Untitled

a guest
Aug 13th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.54 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.  
  4.   ####  bots and channels (unless overriden in the bot or channel scope).
  5.  
  6.  
  7.  
  8.   #The prefix for the IRC-side bot commands; Can be overriden in the bot scope.
  9.  
  10.   command-prefix: '.'
  11.  
  12.  
  13.  
  14.   #You probably don't need this.
  15.  
  16.   debug: false
  17.  
  18.  
  19.  
  20.   console-commands: ['reload', 'save-all']
  21.  
  22.  
  23.  
  24.   ignored-prefixes:
  25.     irc: ['!']
  26.  
  27.     game: []
  28.  
  29.    
  30.  
  31.   #Delay in milliseconds for these game events to be ignored after the plugin is enabled (prevents initial flood burst).
  32.  
  33.   hold-after-enable:
  34.     chat: 0
  35.  
  36.     joins: 0
  37.  
  38.     quits: 0
  39.  
  40.     kicks: 0
  41.  
  42.     bans: 0
  43.  
  44.    
  45.  
  46.   formatting:
  47.     #### Formatting for the messages relayed by the plugin. You can override all formatting strings in the bot or channel
  48.  
  49.     ####  scope (within a formatting: block). In irc-to-irc, the target channel controls the format strings.
  50.  
  51.     ####     VARIABLES (may be blank depending on the context): %sender% %message% %moderator% %srcChannel% %trgChannel% %world%
  52.  
  53.     ####     IF YOU'RE RUNNING Permissions: %prefix% %suffix% %modPredix% %modSuffix% (game-to-irc only)
  54.  
  55.     ####     IRC FORMATTING: %b% %u% %r% %o% %k% %kNUM% (NUM is 0 to 15); Do the same as CTRL+key in mIRC
  56.  
  57.     ####     GAME COLORS: §NUM (NUM is 1 to f); Do not use in the end of a line
  58.  
  59.     ####     EASY COLORS: Use the names defined in the colormap: block, such as %blue% %foreground% %yellow% etc.
  60.  
  61.     game-to-irc:
  62.       chat: '%prefix%%sender%%k%> %message%'
  63.  
  64.       action: '* %prefix%%sender%%k%> %message%'
  65.  
  66.       joins: '[%prefix%%sender%%k%> connected]'
  67.  
  68.       quits: '[%prefix%%sender%%k%> disconnected]'
  69.  
  70.       kicks: '[%moderator% KICKED %sender% (%message%)]'
  71.  
  72.       bans: '[%moderator% BANNED %sender% (%message%)]'
  73.  
  74.     irc-to-game:
  75.       chat: '[§2IRC§f] §2%sender%§f: %message%'
  76.  
  77.       action: '[§2IRC§f] * %sender% %message%'
  78.  
  79.       joins: '[§2IRC§f] * Joins: §2%sender%§f'
  80.  
  81.       parts: '[§2IRC§f] * Parts: §2%sender%§f'
  82.  
  83.       quits: '[§2IRC§f] * Quits: §2%sender%§f'
  84.  
  85.       kicks: '[§2IRC§f] * §2%sender%§f was kicked by %moderator%'
  86.  
  87.       nicks: '[§2IRC§f] * §2%sender%§f is now known as %message%'
  88.  
  89.     irc-to-irc:
  90.       chat: '[%srcChannel%] <%sender%> %message%'
  91.  
  92.       action: '[%srcChannel%] * %sender% %message%'
  93.  
  94.       joins: '[%srcChannel%] * Joins: %sender%'
  95.  
  96.       parts: '[%srcChannel%] * Parts: %sender%'
  97.  
  98.       quits: '[%srcChannel%] * Quits: %sender% (%message%)'
  99.  
  100.       kicks: '[%srcChannel%] * %sender% was kicked by %moderator% (%message%)'
  101.  
  102.       nicks: '[%srcChannel%] * %sender% is now known as %message%'
  103.  
  104.     custom:
  105.       #Custom blocks define custom variables you can use within formatting strings
  106.  
  107.       botname: ''
  108.  
  109.       network: ''
  110.  
  111.  
  112.  
  113.   # Optional: Bind to a non-default local address    
  114.  
  115.   # bind-address: 127.0.0.1
  116.  
  117.  
  118.  
  119.   events:
  120.     #### Turn different types of messages on and off here. cancelled-chat only exists in the global scope; The remaining
  121.  
  122.     ####  events can be redefined in the bot or channel scopes (within an events: block). In irc-to-irc, the source
  123.  
  124.     ####  channel controls the events.
  125.  
  126.     game-to-irc:
  127.       # If you use other chat plugins, you probably want to set cancelled-chat: true
  128.  
  129.       cancelled-chat: false
  130.  
  131.       all-chat: false
  132.  
  133.       joins: true
  134.  
  135.       quits: true
  136.  
  137.       kicks: true
  138.  
  139.       bans: true
  140.  
  141.     irc-to-game:
  142.       all-chat: false
  143.  
  144.       joins: false
  145.  
  146.       parts: false
  147.  
  148.       quits: false
  149.  
  150.       kicks: false
  151.  
  152.       nicks: true
  153.  
  154.     irc-to-irc:
  155.       all-chat: false
  156.  
  157.       joins: false
  158.  
  159.       parts: false
  160.  
  161.       quits: false
  162.  
  163.       kicks: false
  164.  
  165.       nicks: false
  166.  
  167.      
  168.  
  169.   #Tags allow you to target messages to all the channels within a scope. The global scope contains all channels.
  170.  
  171.   tag: 'all'
  172.  
  173.      
  174.  
  175. bots:
  176.   #### A list of bots; You should only need one bot for each IRC server (the same bot can join multiple channels).
  177.  
  178.   ####  Settings that apply to all channels of a bot should be defined in a bot's node. The dash in the third
  179.  
  180.   ####  column starts a new bot.
  181.  
  182.  
  183.  
  184.   - nickname: 'HPSBot'
  185.  
  186.     server: 'efnet.xs4all.nl'
  187.  
  188.     port: 6667
  189.  
  190.     userident: 'hps'
  191.  
  192.     serverpass: ''
  193.  
  194.     ssl: false
  195.  
  196.    
  197.  
  198.     #Delay between messages helps prevent triggering server-side flood protections (milliseconds)
  199.  
  200.     message-delay: 1000
  201.  
  202.    
  203.  
  204.     #Types of IRC users that are considered admins within an admin channel (has no effect in normal channels)
  205.  
  206.     #admin-prefixes: ['@', '%']
  207.  
  208.     admin-prefixes: ['@']
  209.  
  210.    
  211.  
  212.     #Ignore users in this server by nickname
  213.  
  214.     ignored-users: []
  215.  
  216.    
  217.  
  218.     #Tags allow you to target messages to all the channels within a scope.
  219.  
  220.     tag: 'efnet'
  221.  
  222.    
  223.  
  224.     formatting:
  225.       custom:
  226.         botname: 'HPSBot'
  227.  
  228.         network: 'efnet'
  229.  
  230.    
  231.  
  232.     #Services authentication of the bot's nickname goes here. The username may not be required.
  233.  
  234.     #Available methods: 'none', 'nickserv', 'gamesurge', 'quakenet'
  235.  
  236.     auth:
  237.       method: 'none'
  238.  
  239.       username: ''
  240.  
  241.       password: ''
  242.  
  243.  
  244.  
  245.     #List here raw IRC commands you want the bot to perform after it connects to the server
  246.  
  247.     on-connect:
  248.     # - 'PRIVMSG MyBoss :I live again!'
  249.  
  250.    
  251.  
  252.     channels:
  253.       #### A list of channels; Define here all the channels you want this bot to join. Settings that apply to a single
  254.  
  255.       ####  channel can be defined in the channel node. A dash in the 7th column starts a new channel.
  256.  
  257.      
  258.  
  259.       - name: '#mcHPS'
  260.  
  261.         password: ''
  262.  
  263.        
  264.  
  265.         #In admin channels, admins can use console commands (when this feature is supported) and be send emergency
  266.  
  267.         # notices from users.
  268.  
  269.         admin: false
  270.  
  271.        
  272.  
  273.         #This tag targets only this channel.
  274.  
  275.         tag: 'mcHPS'
  276.  
  277.        
  278.  
  279.         #Allow IRC color codes in messages to be converted to Minecraft colors; Set to false to just remove them.
  280.  
  281.         chat-colors: true
  282.  
  283.        
  284.  
  285.         #Enables Permissions prefixes and suffixes for this channel (iChat-format colors are supported).
  286.  
  287.         name-colors: true
  288.  
  289.        
  290.  
  291.         #List here raw IRC commands you want the bot to perform after it joins this channel.
  292.  
  293.         on-join:
  294.         # - 'PRIVMSG #mcHPS :I am back!'
  295.  
  296.        
  297.  
  298.       - name: '#mcHPSO'
  299.  
  300.         password: ''
  301.  
  302.         admin: true
  303.  
  304.         tag: 'mcHPSO'
  305.  
  306.         chat-colors: true
  307.  
  308.         name-colors: true
  309.  
  310.         on-join:
  311.         # - 'PRIVMSG #mcHPS-o :I am back!'
  312.  
  313.      
  314.  
  315. colormap:
  316.   #### Map colors to your taste here; Make sure each irc, game and name appears once and only once.
  317.  
  318.   ####  The color 'foreground' *must* exist and will be used as the default by certain features.
  319.  
  320.  
  321.  
  322.   - {irc: 0, game: 0', name: 'background'}
  323.  
  324.   - {irc: 2, game: 1', name: 'navy'}
  325.  
  326.   - {irc: 3, game: 2', name: 'darkgreen'}
  327.  
  328.   - {irc: 10, game: 3', name: 'teal'}
  329.  
  330.   - {irc: 5, game: 4', name: 'maroon'}
  331.  
  332.   - {irc: 6, game: 5', name: 'purple'}
  333.  
  334.   - {irc: 7, game: 6', name: 'orange'}
  335.  
  336.   - {irc: 15, game: 7', name: 'grey'}
  337.  
  338.   - {irc: 14, game: 8', name: 'darkgrey'}
  339.  
  340.   - {irc: 12, game: 9', name: 'blue'}
  341.  
  342.   - {irc: 9, game: '§a', name: 'green'}
  343.  
  344.   - {irc: 11, game: '§b', name: 'cyan'}
  345.  
  346.   - {irc: 4, game: '§c', name: 'red'}
  347.  
  348.   - {irc: 13, game: '§d', name: 'magenta'}
  349.  
  350.   - {irc: 8, game: '§e', name: 'yellow'}
  351.  
  352.   - {irc: 1, game: '§f', name: 'foreground'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement