Debian Codegraph @

conf/command_groups.conf.in

raw
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 regular users to be able to use the regular 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 regular 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 /emote
52 1 /msg /whisper /w /m
53 1 /r /reply
54 1 /status /users /lusers
55 1 /who /whois /whereis /where /whoami
56 1 /beep /nobeep
57 1 /version /copyright /warranty /license
58 1 /uptime
59 1 /stats /astat
60 1 /time
61 1 /channel /join /j /rejoin
62 1 /away /dnd /ignore /unignore /squelch /unsquelch
63 1 /watch /unwatch /watchall /unwatchall
64 1 /news /games /channels /chs /admins
65 1 /logout /quit /exit
66 1 /ladderinfo
67 1 /timer /quota
68 1 /help /?
69 1 /mail
70 1 /motd
71 1 /tos
72 1 /latency /ping /p
73 1 /topic
74 1 /icon
75 1 /language /lang
76
77 # /////////////////////////////
78 # ///// Operator commands /////
79 # /////////////////////////////
80 #
81 # -- These commands require the user to be one of the following:
82 #
83 # -- Server Admin - admin status set to true - use --> /admin +<username>
84 # -- can /aop users for any channel
85 # -- can /op & /deop users for any channel
86 # -- can /kick /ban & /unban users for any channel
87 # -- can /vop users for any channel
88 # -- can /voice & /devoice users for any channel
89 # -- Server Operator - operator status set to true - use --> /operator +<username>
90 # -- can /op & /deop users for any channel
91 # -- can /kick /ban & /unban users for any channel
92 # -- can /voice & /devoice users for any channel
93 # -- Channel Admin - admin starus for channel set to true - use --> /aop <username>
94 # -- can /aop users for the channel they are admin of
95 # -- can /op & /deop users for the channel they are admin of
96 # -- can /kick /ban & /unban users for the channel they are admin of
97 # -- can /vop users for the chnnel they are admin of
98 # -- can /voice & /devoice users for the channel they are admin of
99 # -- Channel Operator - operator status for channel set to true - use --> /op <username>
100 # -- can /op & /deop users for the channel they are operator of
101 # -- can /kick /ban & /unban users for the channel they are operator of
102 # -- can /voice & /devoice users for the channel they are operator of
103 #
104 # -- You must be in the channel you wish to give or take Channel Operator or
105 # Channel Admin status too or from. ** /aop /op & /deop **
106 # -- P.S. You may now have more than one operator and/or admin per channel.
107 # -- No need to make everyone Server Admins.
108
109 1 /kick /ban /unban /op /deop /aop /voice /devoice /vop /devop /tmpop /moderate
110
111 # ////////////////////////////////
112 # ///// Commands with limits /////
113 # ////////////////////////////////
114 #
115 # -- Although set to Group '1', these command have the following limitations for users.
116 #
117 # -- /admin-con & /admin-addr /admin-chpass are not real commands.
118 #
119 # -- Without 'enable_conn_all = true' in bnetd.conf, only users with access to
120 # /admin-con may use the /con or /connections.
121
122 1 /connections /con
123
124 # -- Without 'hide_addr = false' in bnetd.conf, only users with access to
125 # /admin-addr will see IP Numbers.
126
127 1 /games /finger /gameinfo
128
129 # -- Users may use /chpass on themselves, but require access to
130 # /admin-chpass to change others.
131 # -- Users may use /netinfo on themselves, but require access to
132 # /admin-addr to see others info.
133
134 1 /netinfo /chpass
135
136 # -- /admin-con & /admin-addr /admin-chpass are not real commands.
137 # -- Access to these commands gives more info for the following commands:
138 # /connections /con /games /finger /gameinfo /netinfo /chpass
139 # as described above.
140
141 6 /admin-con /admin-addr /admin-chpass
142
143 # //////////////////////////////////////////
144 # ///// Command Groups Access Required /////
145 # //////////////////////////////////////////
146 #
147 # -- All the following do not require Server Admin Status.
148 # -- They are all locked out for regular users and require access to the Group to Use.
149 # -- Use the /cg command to assign groups to users.
150
151 2 /realmann
152 2 /ann /announce
153 2 /alert
154
155 3 /serverban /ipban
156 3 /ipscan
157
158 4 /kill
159 4 /lock /lockacct /unlock /unlockacct
160 4 /mute /muteacct /unmute /unmuteacct
161
162 5 /ladderactivate
163
164 # -- Access to group '6' allows users to not only make others Server Admins & Server Operators
165 # but will allow them to make themselves Server Admin & Server Operator.
166
167 6 /operator /admin /flag /tag
168 6 /log
169
170 7 /set
171 7 /commandgroups /cg
172 7 /clearstats
173
174 8 /shutdown /rehash /find /save
175
176
177 # //////////////////////////////////////
178 # ///// Commands for Debugging /////
179 # //////////////////////////////////////
180 #8 /killsession
181 #8 /addacct
182
183
184 # //////////////////////////////////////
185 # ///// End of Command Groups File /////
186 # //////////////////////////////////////