你添加自己为管理员是在admins_simple最下面添加"你的名字" "99:z" "你的密码",你再起一行"你好友的名字" "99:z" "你的密码"最后,你朋友进你开的主机时,也得需要setinfo _XXX XXX,你要是忘了XXX是什么,可以看看autoexec.cfg里的内容。
设置自己为管理员需要修改addons\sourcemod\configs里的admins_simple,在最下面添加"管理员名称" "99:z" "管理员密码",然后保存为UTF-8格式,再打开core,修改"PassInfoVar" 后面的数值,比如"PassInfoVar" "_管理员密码",记得123前面必须有个_,同样也是保存为UTF-8格式或者试试以下方法:
//复制下面的代码到新文档后,把文档后缀改为ini
//设置管理员:
//把最下面 "改名处" 里的内容改为你游戏里的名字或者SteamID保存.
//打开你的游戏目录\left4dead2\cfg\Autoexec.cfg文件,添加setinfo _123 123这一行后保存即可
//如果没有Autoexec.cfg文件自己行创建一个添加内容即可。
//
// READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES
//
// For each admin, you need three settings:
// "identity" "permissions" "password"
//
// For the Identity, you can use a SteamID or Name. To use an IP address, prepend a ! character.
// For the Permissions, you can use a flag string and an optional password.
//
// PERMISSIONS:
// Flag definitions are in "admin_levels.cfg"
// You can combine flags into a string like this:
// "abcdefgh"
//
// If you want to specify a group instead of a flag, use an @ symbol. Example:
// "@Full Admins"
//
// You can also specify immunity values. Two examples:
// "83:abcdefgh" //Immunity is 83, flags are abcdefgh
// "6:@Full Admins" //Immunity is 6, group is "Full Admins"
//
// Immunity values can be any number. An admin cannot target an admin with
// a higher access value (see sm_immunity_mode to tweak the rules). Default
// immunity value is 0 (no immunity).
//
// PASSWORDS:
// Passwords are generally not needed unless you have name-based authentication.
// In this case, admins must type this in their console:
//
// setinfo "KEY" "PASSWORD"
//
// Where KEY is the "PassInfoVar" setting in your core.cfg file, and "PASSWORD"
// is their password. With name based authentication, this must be done before
// changing names or connecting. Otherwise, SourceMod will automatically detect
// the password being set.
//
////////////////////////////////
// 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
//
////////////////////////////////
//管理员设置:权限有99:z(最高) 90:z(一般类似会员)
"改名处" "99:z" "123
left4dead2\addons\sourcemod\configs的admins_simple.ini文件是设置管理员的,打开以后往下拉.例如把前边的名字换成你游戏的名字,后边的99:z和256不要改,256是密码!
改好后你用你输入的名字建房就是管理员了,杀戮这插件的管理员功能是按V,如果建房d出的话!每次再建房前在控制台输入setinfo
_256
256之后再建图就可以了
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)