mirror of
https://github.com/minetest-mods/irc.git
synced 2025-11-12 18:35:40 +01:00
1
Settings
Diego Martínez edited this page 2013-10-26 13:30:35 -07:00
All settings are changed in minetest.conf. If any of these settings
is not set, the default value is used.
irc.server(string, defaultirc.freenode.net) -- This is the IRC server the mod connects to.irc.channel(string, default##mt-irc-mod) -- The IRC channel to join.irc.interval(number, default2.0) -- This prevents the server from flooding. It should be at least2.0but can be higher. After four messages this much time must pass between folowing messages.irc.timeout(number, default60.0) -- Underlying socket timeout in seconds. This is the time before the system drops an idle connection.irc.nick(string, defaultMT-<server-id>) -- Nickname used by the "bot" for the in-game chat. "" is a random 32 bit number.irc.password(string, default empty) -- Password to use when connecting to the server.irc.NSPass(string, default empty) -- NickServ password. Don't use this if you use SASL authentication.irc.SASLPass(string, default empty) -- SASL password, same as nickserv password. You should use this instead of NickServ authentication if the server supports it.irc.SASLUser(string, defaultirc.nick) -- The SASL username. This should normaly be set to your main NickServ account name.irc.debug(boolean, default false) -- Whether to output debug information.irc.disable_auto_connect(boolean, default false) -- If false, the bot is connected by default. If true, a player with theirc_adminprivilege has to use the/irc_connectcommand to connect to the server.irc.disable_auto_join(boolean, default false) -- If false, players join the channel automatically upon entering the game. If true, each user must manually use the/joincommand to join the channel. In any case, the players may use the/partcommand to opt-out of being in the channel.