/[LeafOK_CVS]/pvpgn-1.7.4/conf/command_groups.conf
ViewVC logotype

Contents of /pvpgn-1.7.4/conf/command_groups.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Tue Mar 6 13:35:51 2007 UTC (19 years ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -0 lines
Update

1 # ///////////////////////////////////////////////////////////////////////
2 # ////////////// Command Groups Configuration File //////////////
3 # ///////////////////////////////////////////////////////////////////////
4 #
5 # Format of this file is simple. There are 8 different groups.
6 #
7 # Each line must start with the group number followed by as many
8 # commands as you wish.
9 #
10 # Group '1' is common user commands and can be used by any user.
11 #
12 # Rights to use commands in Groups '2' through '8' must be given
13 # to a user using the /commandgroups or /cg command.
14 #
15 # usage /cg <add|del|list> <username> [<groups>]
16 #
17 # ie. /cg list pvpgnplayer <-- list the current command groups for user
18 # ie. /cg add pvpgnplayer 234 <-- adds groups 2, 3, & 4 to user
19 # ie. /cg del pvpgnplayer 24 <-- deletes groups 2 & 4 from user
20 #
21 # If the following commands were done, pvpgnplayer would have access
22 # to commands in groups 1 & 3
23 #
24 # Commands not listed in this file will be deactivated by the server
25 #
26 # FILE MODE:
27 # Add the following line to your user file to get access to all groups:
28 # "BNET\\auth\\command_groups"="255"
29 #
30 # For regualar users to be able to use the regualr commands make sure to
31 # use the updated 'bnetd_default_user' file
32 #
33 # SQL MODE:
34 # Issue the following commands to get access to all groups:
35 # ALTER TABLE BNET ADD COLUMN auth_command_groups VARCHAR(128) default '1';
36 # UPDATE BNET SET auth_command_groups='255' WHERE uid='youruserid'
37 #
38 # For regular users to be able to use the reqular commands
39 # issue the following command:
40 # UPDATE BNET SET auth_command_groups='1' WHERE uid='0'
41 #
42
43 # <group> <command> [<command2> <command3> <...>]
44
45 # ////////////////////////////////////////////////
46 # ///// Regular commands usable by all users /////
47 # ////////////////////////////////////////////////
48
49 1 /c /clan
50 1 /f /friends
51 1 /me
52 1 /msg /whisper /w /m /r /reply
53 1 /status /users /lusers
54 1 /who /whois /whereis /where /whoami
55 1 /beep /nobeep
56 1 /version /copyright /warrenty /license
57 1 /uptime /stats /astat /time
58 1 /channel /join /rejoin
59 1 /away /dnd /ignore /squelch /unignore /unsquelch
60 1 /watch /unwatch /watchall /unwatchall
61 1 /news /games /channels /chs /admins
62 1 /logout /quit /exit
63 1 /ladderinfo
64 1 /timer /quota
65 1 /help
66 1 /mail
67 1 /motd
68 1 /bitsinfo
69 1 /latency /ping /p
70 1 /topic
71
72 # /////////////////////////////
73 # ///// Operator commands /////
74 # /////////////////////////////
75 #
76 # -- These commands require the user to be one of the following:
77 #
78 # -- Server Admin - admin status set to true - use --> /admin +<username>
79 # -- can /aop users for any channel
80 # -- can /op & /deop users for any channel
81 # -- can /kick /ban & /unban users for any channel
82 # -- can /vop users for any channel
83 # -- can /voice & /devoice users for any channel
84 # -- Server Operator - operator status set to true - use --> /operator +<username>
85 # -- can /op & /deop users for any channel
86 # -- can /kick /ban & /unban users for any channel
87 # -- can /voice & /devoice users for any channel
88 # -- Channel Admin - admin starus for channel set to true - use --> /aop <username>
89 # -- can /aop users for the channel they are admin of
90 # -- can /op & /deop users for the channel they are admin of
91 # -- can /kick /ban & /unban users for the channel they are admin of
92 # -- can /vop users for the chnnel they are admin of
93 # -- can /voice & /devoice users for the channel they are admin of
94 # -- Channel Operator - operator status for channel set to true - use --> /op <username>
95 # -- can /op & /deop users for the channel they are operator of
96 # -- can /kick /ban & /unban users for the channel they are operator of
97 # -- can /voice & /devoice users for the channel they are operator of
98 #
99 # -- You must be in the channel you wish to give or take Channel Operator or
100 # Channel Admin status too or from. ** /aop /op & /deop **
101 # -- P.S. You may now have more than one operator and/or admin per channel.
102 # -- No need to make everyone Server Admins.
103
104 1 /kick /ban /unban /op /deop /aop /voice /devoice /vop /devop /tmpop /moderate
105
106 # ////////////////////////////////
107 # ///// Commands with limits /////
108 # ////////////////////////////////
109 #
110 # -- Although set to Group '1', these command have the following limitations for users.
111 #
112 # -- /admin-con & /admin-addr /admin-chpass are not real commands.
113 #
114 # -- Without 'enable_conn_all = true' in bnetd.conf, only users with access to
115 # /admin-con may use the /con or /connections.
116
117 1 /connections /con
118
119 # -- Without 'hide_addr = false' in bnetd.conf, only users with access to
120 # /admin-addr will see IP Numbers.
121
122 1 /games /finger /gameinfo
123
124 # -- Users may use /chpass on themselves, but require access to
125 # /admin-chpass to change others.
126 # -- Users may use /netinfo on themselves, but require access to
127 # /admin-addr to see others info.
128
129 1 /netinfo /chpass
130
131 # -- /admin-con & /admin-addr /admin-chpass are not real commands.
132 # -- Access to these commands gives more info for the following commands:
133 # /connections /con /games /finger /gameinfo /netinfo /chpass
134 # as described above.
135
136 6 /admin-con /admin-addr /admin-chpass
137
138 # //////////////////////////////////////////
139 # ///// Command Groups Access Required /////
140 # //////////////////////////////////////////
141 #
142 # -- All the following do not require Server Admin Status.
143 # -- They are all locked out for regular users and require access to the Group to Use.
144 # -- Use the /cg command to assign groups to users.
145
146 2 /realmann /ann /announce
147
148 3 /serverban /ipban
149
150 4 /kill /killsession /addacct /lockacct /unlockacct
151
152 5 /ladderactivate
153 # 5 /rank_all_accounts
154
155 # -- Access to group '6' allows users to not only make others Server Admins & Server Operators
156 # but will allow them to make themselves Server Admin & Server Operator.
157
158 6 /operator /admin /flag /tag
159
160 7 /set /commandgroups /cg /clearstats
161
162 8 /shutdown /rehash
163
164 # Extended games list command
165 6 /games_ext /charstatus
166
167 # //////////////////////////////////////
168 # ///// End of Command Groups File /////
169 # //////////////////////////////////////

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1