-
Notifications
You must be signed in to change notification settings - Fork 25
Multi server Support
Animosity edited this page Mar 2, 2011
·
1 revision
You can define multiple bots (IRC server connections) to use by replicating the fields which share the same indentation level as - nickname. For example, see the below configuration snippet of the bots section - there are two sets of server information there. "BotOne" will connect to EsperNet and "BotTwo" will connect to GameSurge - you can link multiple channels across multiple servers to your Minecraft world quite easily this way!
bots:
- nickname: 'BotOne'
server: 'irc.esper.net'
port: 6667
userident: 'CraftIRC2.0'
serverpass: ''
ssl: false
timeout: 5000
message-delay: 1000
command-prefix: '!'
admin-prefixes: ['~','&','@','%']
ignored-users: []
auth:
method: 'nickserv'
username: ''
password: ''
channels:
- name: '#testchannel'
password: ''
admin: true
#This tag targets only this channel.
tag: 'ppp'
#Allow IRC color codes in messages to be converted to Minecraft colors; Set to false to just remove them.
chat-colors: true
#Enables Permissions prefixes and suffixes for this channel (iChat-format colors are supported).
name-colors: true
events:
game-to-irc:
all-chat: true
joins: true
quits: true
kicks: true
bans: true
irc-to-game:
all-chat: true
joins: true
parts: true
quits: true
irc-to-irc:
all-chat: true
joins: true
parts: true
quits: true
chat-colors: false
name-colors: false
on-join:
on-connect:
- 'PRIVMSG YourHandle :I live again!'
- nickname: 'BotTwo'
server: 'irc.gamesurge.net'
port: 6667
userident: 'CraftIRC2.0'
serverpass: ''
ssl: false
timeout: 5000
message-delay: 1000
command-prefix: '!'
admin-prefixes: ['~','&','@','%']
ignored-users: []
auth:
method: 'nickserv'
username: ''
password: ''
channels:
- name: '#testchannel'
password: ''
admin: true
#This tag targets only this channel.
tag: 'testchannel2'
#Allow IRC color codes in messages to be converted to Minecraft colors; Set to false to just remove them.
chat-colors: true
#Enables Permissions prefixes and suffixes for this channel (iChat-format colors are supported).
name-colors: true
events:
game-to-irc:
all-chat: true
joins: true
quits: true
kicks: true
bans: true
irc-to-game:
all-chat: true
joins: true
parts: true
quits: true
irc-to-irc:
all-chat: true
joins: true
parts: true
quits: true
chat-colors: false
name-colors: false
on-join:
on-connect:
#- 'PRIVMSG Animosity :I live again!'