Editing Setting up a group file

Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: Server migration

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
==Getting started with group files==
 
==Getting started with group files==
  
Before one creates a group file, one needs to know what a group file is, and how to use it.
+
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?===
 
===What is a group file?===
  
The first thing one should clear up is, "what is a global group?".
+
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.
 
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.
Line 11: Line 11:
 
===Request A Group===
 
===Request A Group===
  
In order to use global groups, one obviously needs a group to add people to. one can request them [http://my.bzflag.org/bb/viewtopic.php?f=93&t=16016 here on BZBB]. Please follow the current naming convention when asking for a group, which works like this: '''organization.level'''. For example, if one wants a server called "BZFlagserver", and would like to have cop, admin, and trustedadmin groups, the names of those groups would be '''BZFLAGSERVER.COP''', '''BZFLAGSERVER.ADMIN''', and '''BZFLAGSERVER.TRUSTEDADMIN'''.
+
In order to use global groups, you obviously need a group to add people to. You can request them [http://my.bzflag.org/bb/viewtopic.php?f=93&t=16016 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 cop, admin, and trustedadmin groups, the names of those groups would be '''bzflagserver.cop''', '''bzflagserver.admin''', and '''bzflagserver.trustedadmin'''.
  
 
===Possible Permissions===
 
===Possible Permissions===
  
To give people permissions, one first needs to know which are available. A list of possible permissions are available on the [[Server Permissions]] page. One should read through that page, and familiarize oneself with the group permissions, as it will come in handy later.
+
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 does one add people to ones group?===
+
===How do I add people to my group?===
  
Once one has had ones group created, one needs to add people to it. This can be done by going to the [http://my.bzflag.org/bb/ucp.php "User Control Panel"] link on BZBB. From there, one must click on "Usergroups" tab, and then click on the side item labeled "Manage groups". This will show all of the groups that one is a leader of. One must click on "Manage users" next to the group one wishes to manage.
+
Once you've had your group created, you need to add people to it. This can be done by going to the [http://my.bzflag.org/bb/ucp.php "User Control Panel"] link on BZBB. From there, click on "Usergroups" tab, and then click on the side item labeled "Manage groups". This will show all of the groups that you are a leader of. Click "Manage users" next to the group you wish to manage.
  
It will then list all of the users that are currently in the group. There may be several pages of users depending on how many members exist. One can remove members by placing clicking the check by their name, then selecting "Remove member from group", and clicking "Submit".
+
It will then list all of the users that are currently in the group. There may be several pages of users depending on how many members exist. You can remove members by placing clicking the check by their name, then selecting "Remove member from group", and clicking "Submit".
  
To add members to ones group, one must type their names (one per line) in the box at the bottom of the page and click "Submit". If one is unsure of their exact name, one can use the "Find a member" link.
+
To add members to your group, type their names (one per line) in the box at the bottom of the page and click "Submit". If you are unsure of their exact name, you can use the "Find a member" link.
  
==Configuring a server to use groups==
+
==Configuring a server to use your groups==
  
===Giving ones groups different permissions===
+
===Giving your groups different permissions===
  
Once the group files have been created, and one has added people to them, they can now be used on a server.  
+
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 one can use at ones server, and their [[Server Permissions]]. Here is a sample group file:
+
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:
  
  EXAMPLE.LEAGUE: talk spawn clientquery adminmessagesend actionmessage poll vote
+
  gu.league: talk spawn clientquery adminmessagesend actionmessage poll vote
  EXAMPLE.ADMIN: talk spawn clientquery adminmessagesend adminmessagerecieve ban kick antiban antikick actionmessage poll vote
+
  gu.admin: talk spawn clientquery adminmessagesend adminmessagerecieve ban kick antiban antikick actionmessage poll vote
  EXAMPLE-LEAGUE.ADMIN: *EXAMPLE.ADMIN
+
  gu-league.admin: *gu.admin
  
 
Here's a quick explanation of what these lines do.
 
Here's a quick explanation of what these lines do.
  
  EXAMPLE.LEAGUE: talk spawn clientquery adminmessagesend actionmessage poll vote
+
  gu.league: talk spawn clientquery adminmessagesend actionmessage poll vote
  
This allows everyone in the '''EXAMPLE.LEAGUE''' group to be able to talk, spawn, use the clientquery command, send admin messages, use /me, to poll, and to vote.
+
This allows everyone in the '''gu.league''' group to be able to talk, spawn, use the clientquery command, send admin messages, use /me, to poll, and to vote.
  
  EXAMPLE-LEAGUE.ADMIN: *EXAMPLE.ADMIN
+
  gu-league.admin: *gu.admin
  
This gives everyone in '''EXAMPLE-LEAGUE.ADMIN''' the same permissions as '''EXAMPLE.ADMIN'''.
+
This gives everyone in '''gu-league.admin''' the same permissions as '''gu.admin'''.
  
Once one has created ones group file, save it. Remember where the group file is located, since one will need it later.
+
Once you've created your group file, save it. Remember where the group file is located, since we'll need it later.
  
===Making the server use the group file ===
+
===Making your server use the group file ===
  
One obviously needs to reference to the group file somewhere. This is done through the conf, or configuration file that one uses to run ones server. Open up the conf, and add a line like this, to make the server use the group file:
+
You obviously need to reference to the group file somewhere. This is done through the conf, or configuration file that you use to run your server. Open up the conf, and add a line like this, to make the server use the group file:
  
 
  -groupdb /the/path/to/the/groupfile.txt
 
  -groupdb /the/path/to/the/groupfile.txt
  
The groupfile can have whatever extension one wants, one must just make sure that one has the complete path specified after '''-groupdb'''. If there are spaces in the path, it is best to surround it with quotes.  
+
The groupfile can have whatever extension you want, just make sure that you have the complete path specified after '''-groupdb'''. If there are spaces in the path, it is best to surround it with quotes.  
  
===Testing ones groups===
+
===Testing your groups===
  
To make sure everything is working properly, one must log into ones server and run the command '''/groupperms'''. It will list all the groups, and their permissions currently in use.
+
To make sure everything is working properly, log into your server run the command '''/groupperms'''. It will list all the groups, and their permissions currently in use.
  
 
===Updating group permissions===
 
===Updating group permissions===
  
If one wants to change the group permissions without restating ones server, ones can simply add the wanted permissions to the group file, save it, and then run a '''/reload''' at the server. All group permissions will be reloaded.
+
If you want to change the group permissions without restating your server, you can simply add the wanted permissions to the group file, save it, and then run a '''/reload''' at the server. All group permissions will be reloaded.
  
 
==See also==
 
==See also==

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)