OK, basics first:
There are two kinds of groups, local and global.
Global groups are created here, and are usually SERVERNAME
; local groups are created on your server, and are of the form LOCAL.GROUPNAME
People are added to global groups from the group control panel on this board, by the moderator of the group (usually whoever requested the group's creation).
People are added to local groups by the server admin using the /setgroup
command or adding the group name manually in the userdb
file (pointed to by the -userdb option in bzfs).
There are three default groups, which can never be removed, but can have their permissions changed:
LOCAL.ADMIN: full priviledges, just like using /password.
VERIFIED: has authenticated himself with the correct password
Permissions from both kinds of groups are set by editing the groupdb
file (pointed to by the -groupdb option in bzfs). The format of this file is:
GROUP: PERMISSION [PERMISSION [PERMISSION ...]]]
Code: Select all
LOCAL.TRUSTED: SETVARS KICK BAN PLAYERLIST
FRIENDLYSERVER.COPS: KICK BAN PLAYERLIST
LOCAL.COPS: KICK SHORTBAN PLAYERLIST
EVERYONE: SPAWN TALK ...
1. Create a userdb and groupdb file (they can be blank for now).
2. Enable the -userdb and -groupdb options for bzfs.
3. Add group permissions to your groupdb file, as seen above. Only bother defining EVERYONE, VERIFIED, or LOCAL.ADMIN if you want to change their permissions, usually the defaults are good enough and you can just add whatever groups you need. I only have two groups in my groupdb files, LOCAL.TRUSTED (for local cops) and DEVELOPERS (a global group for the devs).
4. Add users to any local groups you've created, either by editing the userdb file or using the /setgroup command.