This wiki is archived and useful information is being migrated to the main bzflag.org website

Setting up a group file

From BZFlagWiki
Revision as of 17:35, 2 March 2008 by Win Xp (Talk | contribs)

Jump to: navigation, search

Getting started with group files

Before we make a group file, we need to know what a group file is, and how to use it.

What is a group file?

The first thing we should probably clear up is, "what is a global group?".

Simply put, a global group is a group of people that have special permissions. The owner of the group can add or remove people from the group, and then give them special permissions in a group file. These permissions can range anywhere from being able to speak, to all administrator permissions.

Request A Group

In order to use global groups, you obviously need a group to add people to. You can request them here on BZBB. Please follow the current naming convention when asking for a group, which works like this: organization.level. For example, if I owned a server called "bzflagserver", and I wanted to have jradmin, admin, and sradmin groups, the names of those groups would be bzflagserver.jradmin, bzflagserver.admin, and bzflagserver.sradmin.

Possible Permissions

To give people permissions, you first need to know which are available. A list of possible permissions are available on the Server Permissions page. Read through that page, and familiarize yourself with the group permissions, it will come in handy later.

How do I add people to my group?

Once you've had your group created, you need to add people to it. This can be done by going to the "Usergroups" link on BZBB. From here, you can select which group you want to add people to by clicking on the drop-down menu and then clicking "View Information". Once in the control panel for your group, you can add people by typing their names in the box next to the "Add Member" button at the bottom of the page. Then click "Add Member", and the user will be added to the group. Repeat this until you have added all the members that you want. Remember, you can always come back later and add more.

Configuring a server to use your groups

Once the group files have been created, and you've added people to them, they can now be used on a server.

This is done through the use of a group file, which is a text file. A group file lists the groups you use at your server, and their Server Permissions. Here is a sample group file:

gu.league: talk spawn clientquery adminmessagesend actionmessage poll vote
gu.admin: talk spawn clientquery adminmessagesend adminmessagerecieve ban kick antiban antikick actionmessage poll vote
gu-league.admin: *gu.admin