求生之路 L4D 如何在CFG文件中添加自动识别OP权限指令
正确设定自己为管理员的方法:请按照以下步骤,打开所指的文件,进行添加修改或者把粗体部分直接复制到所指文件,注意名字要改成你的才行:F:\left 4 dead\left4dead\addons\sourcemod\configs
admins.cfg
* Example:
"BAILOPAN"
{
"auth" "steam"
"identity" "STEAM_0:1:16"
"flags" "abcdef"
}
*
*/
Admins
{
"auth" "AAAA"
"identity" "AAAA"
"flags" "abcdefgijklmn"
}
AAAA为管理员名称
F:\left 4 dead\left4dead\addons\sourcemod\configs
admins_simple.ini
// Examples: (do not put // in front of real lines, as // means 'comment')
//
// "STEAM_0:1:16" "bce" //generic, kick, unban for this steam ID, no immunity
// "!127.0.0.1" "99:z" //all permissions for this ip, immunity value is 99
// "BAILOPAN" "abc" "Gab3n" //name BAILOPAN, password "Gab3n": gets reservation, generic, kick
//
////////////////////////////////
"AAAA" "99:z" "xxx"
AAAA为管理员名称 99:z最高权限Z XXX为管理员密码
F:\left 4 dead\left4dead\addons\sourcemod\configs
core.cfg
* Password setinfo key that clients must set. You must change this in order for
* passwords to work, for security reasons.
*/
"PassInfoVar" "_XXX"
XXX为管理员密码 /**
F:\left 4 dead\left4dead\cfg
server.cfg添加
// 远程连接密码
rcon_password XXXF:\left 4 dead\left4dead\cfg
autoexec.cfg添加
setinfo _XXX XXX 完成后以你设置的名字进入游戏自己就是管理员了所有修改的文件需要另存为UTF-8格式请勿追问!