Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #######################################
- #### CraftIRC 3 configuration file ####
- #######################################
- settings:
- #These tags identify built-in endpoints (for the paths: section). Other endpoints may be provided by plugins.
- minecraft-tag: 'minecraft' #A basic game-side endpoint (a chat plugin may provide better functionality).
- cancelled-tag: 'cancelled' #Cancelled chat is sent here (and nothing else).
- console-tag: 'BossMajor' #The minecraft server console.
- #Set this to true to have CraftIRC cancel all minecraft chat if no other plugin is doing it.
- cancel-chat: false
- #IRC commands start with this, for example '.players' (it's not part of the command name though)
- command-prefix: './'
- #Output a LOT of crap to the console in case you're having problems or are a plugin developer.
- debug: false
- #Console commands that can be called by an admin using .cmd/.c in an admin channel
- console-commands: ['reload', 'save-all']
- #Delay before allowing these event types to be relayed (prevent startup flood)
- hold-after-enable: {chat: 0, joins: 0, quits: 0, kicks: 0, bans: 0}
- #How long in seconds before attempting a reconnect/rejoin when a connection/join fails.
- retry-delay: 10
- #Bind to a specific IP address in your server.
- #bind-address: 127.0.0.1
- #Default formatting templates used in all messages. Plugins may require you to add more.
- formatting:
- #### VARIABLES AND COLORS (from colormap): %name% (as in %message% or %yellow%). Different events provide different variables.
- #### IRC FORMATTING: %b% %u% %r% %o% %k% %kNUM% (NUM is 0 to 15); Do the same as CTRL+key in mIRC (%o% uses'foreground')
- #==========Classic formatting==========
- from-game:
- chat: '<%red%%sender%%o%> %message%'
- private: '<%red%%sender%%o%> %message%'
- action: '%blue%* %sender%%o% %message%'
- join: '%green%+ join%o%: %yellow%%sender%'
- quit: '%red%- part%o%: %yellow%%sender%'
- kick: '%red%- part%o%: %yellow%%sender%'
- admin: '%yelow%%sender% %o%%message%'
- generic: '%message%'
- from-irc:
- chat: '%yellow%<IRC> %o%<%red%%sender%%o%> %message%'
- private: '%yellow%<IRC> <%sender%> %message%'
- action: '%yellow%<IRC> %blue%* %sender% %o%%message%'
- join: '%yellow%<IRC> %green%+ join%o%: %yellow%%sender%'
- part: '%yellow%<IRC> %red%- part%o%: %yellow%%sender%'
- quit: '%yellow%<IRC> %red%- part%o%: %yellow%%sender%'
- kick: '%yellow%<IRC> %red%- part%o%: %yellow%%sender%'
- nick: '%yellow%<IRC> %blue%* %sender% %o%is now known as %blue%%message%'
- from-plain:
- #======================================
- #==========Colorful formatting=========
- #from-game:
- # chat: '<%prefix%%sender%%suffix%%o%> %message%'
- # private: '%prefix%%sender%%suffix%%o% whispers> %message%'
- # action: '%purple%* %prefix%%sender%%suffix%%purple% %message%'
- # join: '%darkgrey%[%sender% connected]'
- # quit: '%darkgrey%[%sender% disconnected]'
- # kick: '%red%[%sender% was KICKED (%message%)]'
- # generic: '%darkgrey%%message%'
- # admin: '%prefix%%sender%%suffix% to online admins> %message%'
- #from-irc:
- # chat: '%grey%[%srcChannel%]%foreground% <%ircPrefix%%sender%> %message%'
- # private: '%grey%[IRC]%foreground% %sender% whispers> %message%'
- # action: '%grey%[%srcChannel%]%purple% * %ircPrefix%%sender% %message%'
- # join: '%grey%[%srcChannel%]%darkgreen% * Joins: %sender%'
- # part: '%grey%[%srcChannel%]%darkgreen% * Parts: %sender%'
- # quit: '%grey%[%srcChannel%]%blue% * Quits: %sender%'
- # kick: '%grey%[%srcChannel%]%darkgreen% * %sender% was kicked by %ircModPrefix%%moderator%'
- # nick: '%grey%[%srcChannel%]%darkgreen% * %sender% is now known as %message%'
- # generic: '%grey%%message%'
- #======================================
- # ******************* IRC BOTS/SERVERS AND CHANNELS ******************* [CHANGES REQUIRED]
- # Every bot connects to one IRC server and can contain any amount of channels.
- # Every channel is a communication endpoint.
- bots:
- - nickname: 'MrChat-'
- server: 'dualityfps.org'
- port: 1234
- userident: 'Rizden' #Username/ident, anything you want
- serverpass: 'Esperden' #This isn't the nickserv password
- ssl: false
- #Prevent flood by setting a delay (in ms) between messages to IRC and a maximum queue size.
- message-delay: 1000
- queue-size: 5
- #Who's considered an admin within a channel?
- admin-prefixes: ['@', '%']
- #Ignore a user by nickname in this server. For greater flexibility use path filters (see further below).
- ignored-users: []
- #If the bot's nickname is registered, put the authentication info here.
- auth:
- method: 'nickserv'
- username: ''
- password: ''
- #Send raw IRC commands to the server every time I connect.
- on-connect:
- # - 'PRIVMSG MyBoss :I live again!'
- ## Channels for this bot to join. ##
- channels:
- - name: '#Rizden'
- password: ''
- #Identifies this channel's endpoint (for the paths: section).
- tag: 'rizden1'
- #Send raw IRC commands to the server every time I join this channel.
- on-join:
- - 'PRIVMSG #Rizden Realm Of Rizden Now Online!'
- - nickname: 'smb-'
- server: 'dualityfps.org'
- port: 1234
- userident: 'SMBCraft' #Username/ident, anything you want
- serverpass: 'Windows' #This isn't the nickserv password
- ssl: false
- #Prevent flood by setting a delay (in ms) between messages to IRC and a maximum queue size.
- message-delay: 1000
- queue-size: 5
- #Who's considered an admin within a channel?
- admin-prefixes: ['@', '%']
- #Ignore a user by nickname in this server. For greater flexibility use path filters (see further below).
- ignored-users: []
- #If the bot's nickname is registered, put the authentication info here.
- auth:
- method: 'quakenet'
- username: ''
- password: ''
- #Send raw IRC commands to the server every time I connect.
- on-connect:
- # - 'PRIVMSG MyBoss :I live again!'
- channels:
- - name: '#Rizden'
- password: ''
- #Identifies this channel's endpoint (for the paths: section).
- tag: 'rizden2'
- #Send raw IRC commands to the server every time I join this channel.
- on-join:
- - 'PRIVMSG #Rizden Realm Of Rizden Now Online!'
- # ******************* COMMUNICATION PATHS ******************* [CHANGES REQUIRED]
- # Declare here a path for every pair of endpoints between which you want messages to flow.
- # For each path you can filter the messages sent by event type or contents.
- # Paths are one-way, so you must declare A to B and B to A if you want a two-way channel.
- paths:
- - source: 'minecraft' #
- target: 'rizden1' #
- - source: 'rizden1' # These are endpoint tags
- target: 'minecraft' #
- #Every path can contain a list of filters. Use for swearword censorship, blocking by user, etc.
- filters:
- #Each filter contains regular expressions for formatting variables. This one ignores commands (.TEXT)
- - message: '^\.[^ ]+'
- #Every path can override the formatting strings defined in settings.formatting .
- formatting:
- # chat: '[%srcChannel%] <%sender%> %message%'
- # join: '[%srcChannel%] * Joins: %sender%'
- #Every path can override the attributes block from default-attributes (see below).
- attributes:
- # admin: false
- # ...
- #A path can inherit missing attributes from another existing path rather than from default-attributes.
- #base: {source: 'minecraft', target: 'changeme'}
- #The disable flag allows you to disable a path temporarily without removing it from the configuration file.
- disable: false
- - source: 'minecraft' #
- target: 'rizden2' #
- - source: 'rizden2' # These are endpoint tags
- target: 'minecraft' #
- #Every path can contain a list of filters. Use for swearword censorship, blocking by user, etc.
- filters:
- #Each filter contains regular expressions for formatting variables. This one ignores commands (.TEXT)
- - message: '^\.[^ ]+'
- #Every path can override the formatting strings defined in settings.formatting .
- formatting:
- # chat: '[%srcChannel%] <%sender%> %message%'
- # join: '[%srcChannel%] * Joins: %sender%'
- #Every path can override the attributes block from default-attributes (see below).
- attributes:
- # admin: false
- # ...
- #A path can inherit missing attributes from another existing path rather than from default-attributes.
- #base: {source: 'minecraft', target: 'changeme'}
- #The disable flag allows you to disable a path temporarily without removing it from the configuration file.
- disable: false
- - source: 'BossMajor' # These are endpoint tags
- target: 'rizden1' #
- - source: 'BossMajor' # These are endpoint tags
- target: 'rizden2' #
- # ******************* DEFAULT PATH ATTRIBUTES ******************* [CHANGES REQUIRED]
- # If an attribute isn't defined in a path, these are used.
- # If an attribute isn't defined here either, it defaults to 'false'.
- default-attributes:
- #Disables all communication paths. No message will be sent anywhere.
- #If you don't set this to false, CraftIRC may not work!
- disable: false
- #Every event type (they're the same as the names in settings.formatting) can be enabled or disabled here.
- #In addition, commands (such as those handled by other plugins) may require you to define extra attributes.
- attributes:
- chat: true
- action: true
- join: true
- part: true
- nick: true
- quit: true
- kick: true
- private: true
- command: true
- say: true
- generic: true
- console: true
- custom: true
- #Admin commands and /admins! can only be sent through a path where admin is set to true
- admin: true
- #True: Colors will be converted. False: Colors will be stripped.
- colors: true
- # ******************* COLOR CONVERSION MAP *******************
- # Here you can assign 3-tuples with names, IRC colors and Minecraft colors.
- # You must never repeat a name, an irc color or a minecraft color in more than one 3-tuple.
- # Use %colorname% in a formatting string to have the correct color show up in the message.
- colormap:
- - {irc: 0, game: "\u00A70", name: 'background'}
- - {irc: 2, game: "\u00A71", name: 'navy'}
- - {irc: 3, game: "\u00A72", name: 'darkgreen'}
- - {irc: 10, game: "\u00A73", name: 'teal'}
- - {irc: 5, game: "\u00A74", name: 'maroon'}
- - {irc: 6, game: "\u00A75", name: 'purple'}
- - {irc: 7, game: "\u00A76", name: 'orange'}
- - {irc: 15, game: "\u00A77", name: 'grey'}
- - {irc: 14, game: "\u00A78", name: 'darkgrey'}
- - {irc: 12, game: "\u00A79", name: 'blue'}
- - {irc: 9, game: "\u00A7a", name: 'green'}
- - {irc: 11, game: "\u00A7b", name: 'cyan'}
- - {irc: 4, game: "\u00A7c", name: 'red'}
- - {irc: 13, game: "\u00A7d", name: 'magenta'}
- - {irc: 8, game: "\u00A7e", name: 'yellow'}
- - {irc: 1, game: "\u00A7f", name: 'foreground'}
Add Comment
Please, Sign In to add comment