Skip to content
Alfie Day edited this page Dec 18, 2015 · 1 revision

SourceIRC currently only supports using hostmasks for recognizing admins, but it supports multiple auth backends and I do plan on adding more. If you don't know what a hostmask is, read this page. You can usually find your hostmask by typing /whois yournick where yournick is your nickname, but this doesn't work for all clients.

Once you've figured out what your hostmask is, edit gamedir/sourcemod/configs/sourceirc.cfg, and add a line in the Hostmasks section. Your hostname followed by a list of SourceMod style permission flags. The permissions are exactly the same as the SourceMod ones, so you can find meanings for all the flags at the SourceMod adding admins page once you've added yourself, restart your server or reload sourceirc-hostmasks using the sm plugins reload command. Use the help command again and you should have access to alot more commands.

Example:

"Access"
{
    "Hostmasks"
    {
        "Yournick!YourIdent@yourdomain.com" "z"
        "Azelphur!azelphur@azelphur.com"    "z" // Magically enables all flags for me
        "*!*@azelphur.com"    "z" // Magically enables all flags for anyone with an azelphur.com hostname
    }
}

Clone this wiki locally