Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #######################################
- #### CraftIRC 3 configuration file ####
- #######################################
- <snipped lines...>
- #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: '(%sender%) %message%'
- private: '(%sender%) %message%'
- action: '* %sender% %message%'
- join: '[%sender% connected]'
- quit: '[%sender% disconnected]'
- kick: '[%sender% was KICKED (%message%)]'
- admin: '%sender% to online admins ->- %message%'
- generic: '%message%'
- dynmap: '([WEB] %ip%) %message%'
- say: '[Server] %message%'
- death: '%message%'
- <snipped lines...>
- # ******************* 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:
- channels:
- - name: '#c14minecraft'
- password: ''
- #Identifies this channel's endpoint (for the paths: section).
- tag: 'c14minecraft'
- #Send raw IRC commands to the server every time I join this channel.
- on-join:
- # - 'PRIVMSG:Howdy don't.'
- # Ignore the +c mode and try sending colors anyway if there are colors in a message
- force-colors: false
- #- name: '#anotherchannel'
- # ...
- <snipped lines...>
- # ******************* COMMUNICATION PATHS *******************
- # (For most uses, only needed if settings.auto-paths is false)
- # 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: 'c14minecraft'
- - source: 'c14minecraft' # These are endpoint tags
- target: 'minecraft' #
- - source: 'dynmap'
- target: 'c14minecraft'
- - source: 'c14minecraft'
- target: 'dynmap'
- <snipped lines...>
- # ******************* 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
- death: true
- dynmap: true
- #Admin commands and /admins! can only be sent through a path where admin is set to true
- admin: false
- #True: Colors will be converted. False: Colors will be stripped.
- colors: true
- <snipped lines...>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement