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

Difference between revisions of "Sample Group File"

From BZFlagWiki
Jump to: navigation, search
Line 1: Line 1:
{|
+
<nowiki>#</nowiki> An excellent groupdb builder exists at this location  http://groupdb.links-clan.net/<br>
|
+
<nowiki>#</nowiki> In this example everyone in the SAMPLE.ADMIN group also gets the permissions<br>
<nowiki>#</nowiki> An excellent groupdb builder exists at this location  http://groupdb.links-clan.net/
+
<nowiki>#</nowiki> of SAMPLE.COP, because of the *SAMPLE.COP entry which adds the permissions<br>
 
+
<nowiki>#</nowiki> of SAMPLE.COP to SAMPLE.ADMIN, and everyone in the SAMPLE.OWNER<br>
<nowiki>#</nowiki> In this example everyone in the SAMPLE.ADMIN group also gets the permissions
+
<nowiki>#</nowiki> group gets the permissions of SAMPLE.ADMIN (including the SAMPLE.COP) permissions<br>
<nowiki>#</nowiki> of SAMPLE.COP, because of the *SAMPLE.COP entry which adds the permissions
+
<nowiki>#</nowiki> because of the *SAMPLE.ADMIN entry.<br>
<nowiki>#</nowiki> of SAMPLE.COP to SAMPLE.ADMIN, and everyone in the SAMPLE.OWNER
+
<nowiki>#</nowiki> group gets the permissions of SAMPLE.ADMIN (including the SAMPLE.COP) permissions
+
<nowiki>#</nowiki> because of the *SAMPLE.ADMIN entry.
+
 
   
 
   
 
SAMPLE.COP:+FLAGHISTORY +KICK +KILL +BANLIST +PLAYERLIST +POLL +VETO +PRIVATEMESSAGE +ACTIONMESSAGE +ADMINMESSAGESEND +ADMINMESSAGERECEIVE +IDLESTATS +SPAWN +TALK +SAY +MUTE +UNMUTE +ANTIBAN +ANTIPOLL +ANTIPOLLBAN +ANTIPOLLKICK +ANTIDEREGISTER +REJOIN +SAY +MATCHSTART +MATCHEND +MATCHCONFIG +FLAGMASTER
 
SAMPLE.COP:+FLAGHISTORY +KICK +KILL +BANLIST +PLAYERLIST +POLL +VETO +PRIVATEMESSAGE +ACTIONMESSAGE +ADMINMESSAGESEND +ADMINMESSAGERECEIVE +IDLESTATS +SPAWN +TALK +SAY +MUTE +UNMUTE +ANTIBAN +ANTIPOLL +ANTIPOLLBAN +ANTIPOLLKICK +ANTIDEREGISTER +REJOIN +SAY +MATCHSTART +MATCHEND +MATCHCONFIG +FLAGMASTER
Line 17: Line 14:
 
MUTE: !TALK
 
MUTE: !TALK
 
    
 
    
<nowiki>#</nowiki> There are 2 "default" groups which are on every server they are
+
<nowiki>#</nowiki> There are 2 "default" groups which are on every server they are<br>
<nowiki>#</nowiki> EVERYONE and VERIFIED. EVERYONE is, well, everyone, including
+
<nowiki>#</nowiki> EVERYONE and VERIFIED. EVERYONE is, well, everyone, including<br>
<nowiki>#</nowiki> those in other groups. VERIFIED are users who have Globally Identified,
+
<nowiki>#</nowiki> those in other groups. VERIFIED are users who have Globally Identified,<br>
<nowiki>#</nowiki> also including those in other groups. You may include them in
+
<nowiki>#</nowiki> also including those in other groups. You may include them in<br>
<nowiki>#</nowiki> your group file. Permissions can be prefixed by one of 3 symbols +, -.
+
<nowiki>#</nowiki> your group file. Permissions can be prefixed by one of 3 symbols +, -.<br>
<nowiki>#</nowiki>
+
<nowiki>#</nowiki><br>
<nowiki>#</nowiki> +PERM adds the permission
+
<nowiki>#</nowiki> +PERM adds the permission<br>
<nowiki>#</nowiki> -PERM removes a permission
+
<nowiki>#</nowiki> -PERM removes a permission<br>
<nowiki>#</nowiki> !PERM denies a permission, even if you inherit it from one of the other
+
<nowiki>#</nowiki> !PERM denies a permission, even if you inherit it from one of the other<br>
<nowiki>#</nowiki>  groups you belong to  
+
<nowiki>#</nowiki>  groups you belong to <br>
<nowiki>#</nowiki>
+
<nowiki>#</nowiki><br>
<nowiki>#</nowiki> If the permission has no symbol + is assumed. If there is a conflict in perms
+
<nowiki>#</nowiki> If the permission has no symbol + is assumed. If there is a conflict in perms<br>
<nowiki>#</nowiki> between groups a person belongs to the order of presidence (from lowest to highest)
+
<nowiki>#</nowiki> between groups a person belongs to the order of presidence (from lowest to highest)<br>
<nowiki>#</nowiki> is -, +, !.  This means if there is a -PERM and +PERM, the permissions that the
+
<nowiki>#</nowiki> is -, +, !.  This means if there is a -PERM and +PERM, the permissions that the<br>
<nowiki>#</nowiki> user gets is +PERM. On the other hand if there is a +PERM and a !PERM the user
+
<nowiki>#</nowiki> user gets is +PERM. On the other hand if there is a +PERM and a !PERM the user<br>
<nowiki>#</nowiki> is denied that PERM. The order in which the permissions are in the group file
+
<nowiki>#</nowiki> is denied that PERM. The order in which the permissions are in the group file<br>
<nowiki>#</nowiki> is not important.  
+
<nowiki>#</nowiki> is not important. <br>
<nowiki>#</nowiki>
+
<nowiki>#</nowiki><br>
<nowiki>#</nowiki> The line below removes all of the default permissions from the EVERYONE group and then
+
<nowiki>#</nowiki> The line below removes all of the default permissions from the EVERYONE group and then<br>
<nowiki>#</nowiki> gives them back TALK and SPAWN.
+
<nowiki>#</nowiki> gives them back TALK and SPAWN.<br>
<nowiki>#</nowiki>  
+
<nowiki>#</nowiki> <br>
<nowiki>#</nowiki> EVERYONE: -ALL +SPAWN +TALK  
+
<nowiki>#</nowiki> EVERYONE: -ALL +SPAWN +TALK <br>
<nowiki>#</nowiki>
+
<nowiki>#</nowiki><br>
|}
+
 
 
[[Category:Server]]
 
[[Category:Server]]

Revision as of 17:24, 18 March 2007

# An excellent groupdb builder exists at this location http://groupdb.links-clan.net/
# In this example everyone in the SAMPLE.ADMIN group also gets the permissions
# of SAMPLE.COP, because of the *SAMPLE.COP entry which adds the permissions
# of SAMPLE.COP to SAMPLE.ADMIN, and everyone in the SAMPLE.OWNER
# group gets the permissions of SAMPLE.ADMIN (including the SAMPLE.COP) permissions
# because of the *SAMPLE.ADMIN entry.

SAMPLE.COP:+FLAGHISTORY +KICK +KILL +BANLIST +PLAYERLIST +POLL +VETO +PRIVATEMESSAGE +ACTIONMESSAGE +ADMINMESSAGESEND +ADMINMESSAGERECEIVE +IDLESTATS +SPAWN +TALK +SAY +MUTE +UNMUTE +ANTIBAN +ANTIPOLL +ANTIPOLLBAN +ANTIPOLLKICK +ANTIDEREGISTER +REJOIN +SAY +MATCHSTART +MATCHEND +MATCHCONFIG +FLAGMASTER

SAMPLE.ADMIN: *SAMPLE.COP +BAN +UNBAN

SAMPLE.OWNER: *SAMPLE.ADMIN +BAN +UNBAN +SETVAR +SHUTDOWNSERVER

MUTE: !TALK

# There are 2 "default" groups which are on every server they are
# EVERYONE and VERIFIED. EVERYONE is, well, everyone, including
# those in other groups. VERIFIED are users who have Globally Identified,
# also including those in other groups. You may include them in
# your group file. Permissions can be prefixed by one of 3 symbols +, -.
#
# +PERM adds the permission
# -PERM removes a permission
# !PERM denies a permission, even if you inherit it from one of the other
# groups you belong to
#
# If the permission has no symbol + is assumed. If there is a conflict in perms
# between groups a person belongs to the order of presidence (from lowest to highest)
# is -, +, !. This means if there is a -PERM and +PERM, the permissions that the
# user gets is +PERM. On the other hand if there is a +PERM and a !PERM the user
# is denied that PERM. The order in which the permissions are in the group file
# is not important.
#
# The line below removes all of the default permissions from the EVERYONE group and then
# gives them back TALK and SPAWN.
#
# EVERYONE: -ALL +SPAWN +TALK
#