📄 command_groups.conf
字号:
# ///////////////////////////////////////////////////////////////////////# ////////////// Command Groups Configuration File //////////////# ///////////////////////////////////////////////////////////////////////## Format of this file is simple. There are 8 different groups.## Each line must start with the group number followed by as many# commands as you wish.## Group '1' is common user commands and can be used by any user.## Rights to use commands in Groups '2' through '8' must be given# to a user using the /commandgroups or /cg command.## usage /cg <add|del|list> <username> [<groups>]## ie. /cg list pvpgnplayer <-- list the current command groups for user# ie. /cg add pvpgnplayer 234 <-- adds groups 2, 3, & 4 to user# ie. /cg del pvpgnplayer 24 <-- deletes groups 2 & 4 from user## If the following commands were done, pvpgnplayer would have access# to commands in groups 1 & 3## Commands not listed in this file will be deactivated by the server## FILE MODE:# Add the following line to your user file to get access to all groups:# "BNET\\auth\\command_groups"="255"## For regualar users to be able to use the regualr commands make sure to# use the updated 'bnetd_default_user' file## SQL MODE:# Issue the following commands to get access to all groups:# ALTER TABLE BNET ADD COLUMN auth_command_groups VARCHAR(128) default '1';# UPDATE BNET SET auth_command_groups='255' WHERE uid='youruserid'# # For regular users to be able to use the reqular commands# issue the following command:# UPDATE BNET SET auth_command_groups='1' WHERE uid='0'## <group> <command> [<command2> <command3> <...>]# ////////////////////////////////////////////////# ///// Regular commands usable by all users /////# ////////////////////////////////////////////////1 /c /clan1 /f /friends1 /me1 /msg /whisper /w /m /r /reply1 /status /users /lusers1 /who /whois /whereis /where /whoami1 /beep /nobeep1 /version /copyright /warrenty /license1 /uptime /stats /astat /time1 /channel /join /rejoin1 /away /dnd /ignore /squelch /unignore /unsquelch1 /watch /unwatch /watchall /unwatchall1 /news /games /channels /chs /admins1 /logout /quit /exit1 /ladderinfo1 /timer /quota1 /help1 /mail1 /motd1 /tos1 /bitsinfo1 /latency /ping /p1 /topic# /////////////////////////////# ///// Operator commands /////# /////////////////////////////## -- These commands require the user to be one of the following:# # -- Server Admin - admin status set to true - use --> /admin +<username># -- can /aop users for any channel# -- can /op & /deop users for any channel# -- can /kick /ban & /unban users for any channel# -- can /vop users for any channel# -- can /voice & /devoice users for any channel# -- Server Operator - operator status set to true - use --> /operator +<username># -- can /op & /deop users for any channel# -- can /kick /ban & /unban users for any channel# -- can /voice & /devoice users for any channel# -- Channel Admin - admin starus for channel set to true - use --> /aop <username># -- can /aop users for the channel they are admin of# -- can /op & /deop users for the channel they are admin of# -- can /kick /ban & /unban users for the channel they are admin of# -- can /vop users for the chnnel they are admin of# -- can /voice & /devoice users for the channel they are admin of# -- Channel Operator - operator status for channel set to true - use --> /op <username># -- can /op & /deop users for the channel they are operator of# -- can /kick /ban & /unban users for the channel they are operator of# -- can /voice & /devoice users for the channel they are operator of## -- You must be in the channel you wish to give or take Channel Operator or # Channel Admin status too or from. ** /aop /op & /deop **# -- P.S. You may now have more than one operator and/or admin per channel.# -- No need to make everyone Server Admins.1 /kick /ban /unban /op /deop /aop /voice /devoice /vop /devop /tmpop /moderate# ////////////////////////////////# ///// Commands with limits /////# ////////////////////////////////## -- Although set to Group '1', these command have the following limitations for users.## -- /admin-con & /admin-addr /admin-chpass are not real commands.# # -- Without 'enable_conn_all = true' in bnetd.conf, only users with access to # /admin-con may use the /con or /connections.1 /connections /con# -- Without 'hide_addr = false' in bnetd.conf, only users with access to# /admin-addr will see IP Numbers.1 /games /finger /gameinfo# -- Users may use /chpass on themselves, but require access to# /admin-chpass to change others.# -- Users may use /netinfo on themselves, but require access to# /admin-addr to see others info.1 /netinfo /chpass# -- /admin-con & /admin-addr /admin-chpass are not real commands.# -- Access to these commands gives more info for the following commands:# /connections /con /games /finger /gameinfo /netinfo /chpass# as described above.6 /admin-con /admin-addr /admin-chpass# //////////////////////////////////////////# ///// Command Groups Access Required /////# //////////////////////////////////////////## -- All the following do not require Server Admin Status.# -- They are all locked out for regular users and require access to the Group to Use.# -- Use the /cg command to assign groups to users.2 /realmann /ann /announce3 /serverban /ipban4 /kill /killsession /addacct /lockacct /unlockacct5 /ladderactivate# 5 /rank_all_accounts # -- Access to group '6' allows users to not only make others Server Admins & Server Operators# but will allow them to make themselves Server Admin & Server Operator.6 /operator /admin /flag /tag7 /set /commandgroups /cg /clearstats8 /shutdown /rehash# //////////////////////////////////////# ///// End of Command Groups File /////# //////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -