Skip to content

A very simple IRC<->Terraria chat bridge for TShock.

License

Notifications You must be signed in to change notification settings

lemon-sh/IRCrarria

Repository files navigation

IRCrarria

A simple IRC<->Terraria chat bridge for TShock. Tested with .NET 6 and TShock 5.0.0.

Download

All releases (and pre-releases) are available here.

Installation and configuration

Important: After updating, make sure that your config file structure matches the config shown below to avoid errors! (it changes sometimes)

  1. Unzip the archive to the ServerPlugins directory of your TShock install
  2. Create ircrarria.toml in your TShock configuration directory (<tshock installation dir>/tshock) with the following contents:
[host]
hostname = "<IRC server hostname>"
port = 6697
ssl = true  # change to 'true' if you need TLS
skip_cert_validation = false  # DANGEROUS! Use only when absolutely required.
irc_log = false  # log incoming IRC lines to the server log file (for debugging)

[irc]
username = "ircrarria"
nickname = "ircrarria"
channel = "#terraria"
prefix = "t!"  # IRC command prefix

# OPTIONAL: specify *raw* IRC commands to run after the bot registers
connect_commands = [
  "PRIVMSG NickServ :identify topsecretpwd"
]

# OPTIONAL: Additional server info that will be shown when the 'serverinfo' command is used
[server_details]
"Server name" = "Lemon's Terraria Server"
"IP & Port" = "127.0.0.1:7777"
"this server is" = "very cool"
  1. Adjust the config to your needs
  2. Done!