搜索
查看: 1575|回复: 3

adminmod 2.50.56a问题[求助]

[复制链接]
发表于 2003-9-29 01:37:05 | 显示全部楼层 |阅读模式 来自 中国–贵州–黔东南苗族侗族自治州–凯里市
winxp系统
users.ini好象没有被加载,在users.ini中设定的参数没起作用
设置了=PW=字符保护,但任何人都能在服务器中使用带有=PW=的ID
请大家帮忙看看什么原因
下面这句是users.ini的设置:

=PW=:PWonly:16384


下面这是adminmod.cfg的参数设置:

// (Note: For CVARS that are set to either "on" or "off," 0=off and 1=on) //
echo Executing Admin Mod config file


// Used by the TFC plugin only. If enabled, an attempt to switch
// teams will be rejected if it would unbalance the teams
// (0=disabled, 1=enabled)
admin_balance_teams 0

// If you are using bots with admin mod you can set this to 1
// It will protect bots from receiving client commands which
// would crash your server.
// (0=disabled, 1=enabled)
admin_bot_protection 0

// This is the message displayed to everyone after connecting.
admin_connect_msg "Welcome to ZYCS-1.5 Create By Pizinet..."

// This controls the availability of weapon restriction in CS.
// (0=disabled, 1=enabled)
admin_cs_restrict 0

// This will produce debugging messages in your logs which can
// be used to troubleshoot problems. Not recommended for general use.
// (0=disabled, 1=enabled)
admin_debug 0

// Determines whether or not the fun commands are allowed by default.
// If not on by default, the admin can still turn it on when wanted.
// (0=disabled, 1=enabled)
admin_fun_mode 0

// Enable to get special effects with certain commands
// like teleport or slap.
// (0=disabled, 1=enabled)
admin_fx 0

// If enabled, people who are gagged (not allowed to "say") will be
// unable to change their name while gagged
// (0=disabled, 1=enabled)
admin_gag_name 0

// If enabled, people who are gagged will not be able to use
// the say_team command.
// (0=disabled, 1=enabled)
admin_gag_sayteam 0

// Makes the admin with the highest access level the only admin in power.
// Example: if multiple admins are present, only the one with the highest
// access level will have admin access.
// (0=disabled, 1=enabled)
admin_highlander 0

// If admin_ignore_immunity is enabled, ACCESS_IMMUNITY is
// ignored and does nothing.
// (0=disabled, 1=enabled)
admin_ignore_immunity 0


// This file specifies which script plugins get loaded.  
// It should be relative from the <mod> directory
admin_plugin_file "addons/adminmod/config/plugin.ini"

// The time (in seconds) during which an admin can reconnect after
// disconnecting without resetting his password in the setinfo line.
admin_reconnect_timeout 300

// Message displayed to users who try to execute commands that
// they don't have the appropriate access rights for.
admin_reject_msg  "You do not have access to this command."

// How often, in seconds, the repeat_message should be shown on
// the screen during the game. Minimum value is 15 seconds.
// So, a value of 600 = 10 minutes between messages.
admin_repeat_freq 600

// Message that is show to everyone on the server every
// ten minutes by the message plugin.
admin_repeat_msg  "This server is using Admin Mod"

// The old verbosity.  Defines how commands are announced to the players
// clients in the form: "[ADMIN] <user> used command <command>"
// 0=all commands announced in chat with the admin name
// 1=all commands announced in chat, but without the admin name
// 2=most commands not announced at all (except "cheat" commands)
admin_quiet 0

// This file is used to store configuration data across maps
// and even across server restarts.
admin_vault_file  "addons/adminmod/config/vault.ini"


// If enabled, a hlds_ld-style map vote will automatically
// start five minutes before the end of a map.
// (0=disabled, 1=enabled)
admin_vote_autostart 0

// If set to on status (1), when a vote is in progress all
// players will see the votes of other players as they vote.
// (0=disable, 1=enabled)
admin_vote_echo 0

// Number of seconds that must elapse after start of the map,
// or the end of another vote, before another hlds_ld-style
// map vote can be called.
admin_vote_freq 600

// Controls how many times the current map can be
// extended for thirty minutes
admin_vote_maxextend 0

// Percent of players who have to vote for a map to get it
// to win a hlds_ld-style map vote.
admin_vote_ratio 60

// Ability to make clients execute commands
// (0=disabled, 1=enabled)
allow_client_exec 0


// When set to 0, and debug is enabled, Admin Mod passwords
// will not be logged in cleartext.
amv_log_passwords 0


// Private server option. If enabled, only users listed in
// users_file or ips_file are allowed to access the server.
amv_private_server 0

// The message displayed to users who do not get granted
// access to a private server
amv_prvt_kick_message ""


// The time during which an admin can recoonect to the server into
// a *different* slot than before without loosing his admin access rights.
// Maximum is 90 seconds.
amv_reconnect_time 0


// Defines the max time length in seconds of voting process.
amv_vote_duration 30

// Default access rights for players not in the users.ini file.
// (See documentation for access levels and information)
default_access 0

// Whether to use encrypted passwords or not.
// 0: disabled
// 1: encrypt using Unix crypt() (Linux ONLY)
// 2: encrypt using MD5 hash
// 3: encrypt using MySQL PASSWORD() (MySQL ONLY)
encrypt_password 0

// If enabled, the scripting file functions have read
// access to files
// (0=disabled, 1=enabled)
file_access_read 0

// If enabled, the scripting file functions have write
// access to files
// (0=disabled, 1=enabled)
file_access_write 0

// Declares priority IPs that are allowed to take a
// reserved spot (if any are set up) without a password.
ips_file ips.ini

// Ratio of players who must vote 'yes' to a kick for
// it to be successful.
kick_ratio 60

// Ratio of players who must vote 'yes' to a map change
// for it to be successful.
map_ratio 80

// List of maps people are allowed to vote for. 0 to disable.
// Disable to enable all maps and use list from mapcycle.txt.
maps_file 0

// The file (relative to the <mod> dir) that
// reserved models are loaded from. 0 to disable.
models_file 0

// The message shown to someone who gets kicked for
// trying to use a reserved model.
models_kick_msg "[ADMIN] That model is reserved on this server."

// The message shown to someone who gets kicked for
// trying to use a reserved nickname.
nicks_kick_msg "[ADMIN] That name is reserved on this server."

// Password_field...first password of the setinfo line
// If password_field is "_pw-AdminMod", the setinfo will be
// setinfo "_pw-AdminMod" "password-in-users.ini"
password_field _pw-home

// If pretty_say is enabled, centersay() fades in
// and out and does some other tricks.
// (0=disabled, 1=enabled)
pretty_say 1


// Controls how many (number) of the server's slots are reserved.  
// This is useful only if reserve_type, below, is either 0 or 2.
reserve_slots 1

// Custom message given to clients trying to connect who do not have
// a reserved slots, when no public slots are free
reserve_slots_msg "There are no public slots available on the server."

// This controls how reserve slots work on the server. See documentation.
reserve_type 1

// If enabled, names are compared to those who have privileges
// with regular expressions.
// (0=disabled, 1=enabled)
use_regex 0

// The file in which you define your admins, their passwords
// and the access levels that they are assigned to.
users_file "addons/adminmod/config/users.ini"

// The minimum number of seconds allowed between votes
// called with the vote() (admin_vote functions) scripting function.
// If 0 or disabled, the vote() scripting function is disabled.
vote_freq 180

// Location of word filter file. 0 to disable, or something
// like "wordlist.txt" if enabled
words_file 0
 楼主| 发表于 2003-9-30 10:58:05 | 显示全部楼层 来自 中国–贵州–黔东南苗族侗族自治州–凯里市

Re: adminmod 2.50.56a问题[求助]

:confused: :confused:

不可能没有朋友知道啊
回复

使用道具 举报

发表于 2003-9-30 13:37:12 | 显示全部楼层 来自 中国–广东–深圳
我知道。呵呵,你这个只是禁止=PW=这个完整的名字,而不是含有这个的名字。

明白了?
回复

使用道具 举报

 楼主| 发表于 2003-9-30 17:35:48 | 显示全部楼层 来自 中国–贵州–黔东南苗族侗族自治州–凯里市
最初由 kindzhon 发表
我知道。呵呵,你这个只是禁止=PW=这个完整的名字,而不是含有这个的名字。

明白了?


不会啊,在users.ini里的完整设置是这样的:

=PW=yy:password:65535
=PW=:PWonly:16384

另一个服务器里我就是这样设定的,所有人想改带有=PW=***的名字时,如果在users.ini里没有给他赋予相应的权限就会被kick。只不过是linux系统!
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表