2019-01-31 07:37:23 +02:00
# Setting up Appservice IRC (optional)
2020-02-08 12:02:03 +02:00
The playbook can install and configure [matrix-appservice-irc ](https://github.com/matrix-org/matrix-appservice-irc ) for you.
2019-01-31 07:37:23 +02:00
2020-02-08 12:02:03 +02:00
See the project's [documentation ](https://github.com/matrix-org/matrix-appservice-irc/blob/master/HOWTO.md ) to learn what it does and why it might be useful to you.
2019-01-31 07:37:23 +02:00
You'll need to use the following playbook configuration:
```yaml
2019-01-31 17:58:45 +02:00
matrix_appservice_irc_enabled: true
2019-06-19 11:28:58 +02:00
matrix_appservice_irc_ircService_servers:
irc.example.com:
name: "ExampleNet"
port: 6697
ssl: true
sasl: false
allowExpiredCerts: false
sendConnectionMessages: true
botConfig:
enabled: true
nick: "MatrixBot"
joinChannelsIfNoUsers: true
privateMessages:
enabled: true
federate: true
dynamicChannels:
enabled: true
createAlias: true
published: true
joinRule: public
groupId: +myircnetwork:localhost
federate: true
aliasTemplate: "#irc_$CHANNEL"
membershipLists:
enabled: false
floodDelayMs: 10000
global:
ircToMatrix:
initial: false
incremental: false
matrixToIrc:
initial: false
incremental: false
matrixClients:
userTemplate: "@irc_$NICK"
displayName: "$NICK (IRC)"
joinAttempts: -1
ircClients:
nickTemplate: "$DISPLAY[m]"
allowNickChanges: true
maxClients: 30
idleTimeout: 10800
reconnectIntervalMs: 5000
concurrentReconnectLimit: 50
lineLimit: 3
2019-01-31 07:37:23 +02:00
```
2019-02-28 11:51:09 +02:00
You then need to start a chat with `@irc_bot:YOUR_DOMAIN` (where `YOUR_DOMAIN` is your base domain, not the `matrix.` domain).