adminmod.cfg の設定
基本的に 0=無効、1=有効です。("off"=無効、"on"=有効 でも機能します)
※重要※
下の設定記述をコピーして実際の設定ファイルに貼り付ける場合は
説明部分(青字)は使用しないでください。トラブルの原因になります。
戻る
echo Executing Admin Mod config file
この設定ファイルをロードしたときにサーバーのコンソール画面に表示するメッセージ
admin_balance_teams 0
TFC(チームフォートレスクラシック)プラグイン専用?(未確認)
admin_bot_protection 0
サーバーでBOTを使用する場合は1にする
admin_connect_msg "Welcome to [ASEAN]'s CS Server"
プレイヤーが接続する時に表示するメッセージ
admin_cs_restrict 0
武器の制限をする
admin_debug 0
デバッグ用メッセージをログに記録する。(サーバーにトラブルがあったときのみ使用する)
admin_fun_mode 0
funモードをデフォルトで使用するかどうかの設定
// Enable to get special effects with certain commands
// like teleport or slap.
// (0=disabled, 1=enabled)
admin_fx 0
admin_gag_name 0
gagコマンドでチャット不可能になったプレイヤーは名前変更も不可になる。
admin_gag_sayteam 0
gagコマンドでチャット不可能になったプレイヤーはチームチャットも出来なくなる。
admin_highlander 0
Admin権限を持つ人が複数いた場合、最もアクセスレベルの高い人にだけAdmin権限を持たせるようにする。
admin_ignore_immunity 0
これを1にすると、ACCESS_IMMUNITYは無視され、何もしません。
admin_plugin_file "addons/adminmod/config/plugin.ini"
adminmod用プラグインを設定するファイル「plugin.ini」のパスを指定する。
admin_reconnect_timeout 300
Adminがパスワードをリセットせずにサーバーから切断した場合、パス入力無しに再接続できる時間の設定。(単位:秒)
admin_reject_msg "You do not have access to this command."
権限を持っていないユーザーがコマンドを実行した場合に表示するメッセージ
admin_repeat_freq 600
repeat_msg を表示するインターバル時間の設定(単位:秒)
admin_repeat_msg "Welcome to [ASEAN]'s CS Server"
表示するメッセージの設定
admin_quiet 0
Adminコマンドを実行した時に、クライアント側に表示する形式の設定。
0=すべてのコマンドを[ADMIN]タグ付きで表示する。
1=すべてのコマンドを[ADMIN]タグは無しで表示する。(名前とコマンドのみ)
2=すべてのコマンドを表示しない(チートコマンドは表示される)
// This file is used to store configuration data across maps
// and even across server restarts.
admin_vault_file "addons/adminmod/config/vault.ini"
admin_vote_autostart 0
hlds_ldスタイルのvotemapを自動的にマップ終了5分前に始める。
admin_vote_echo 0
1にすると各プレイヤーの投票状況(vote)が表示される。
// 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
admin_vote_maxextend 0
マップの30分延長コマンドを何回行うことができるかの設定
admin_vote_ratio 60
admin_vote_mapでの可決に必要な得票率。(単位:パーセント)
allow_client_exec 1
クライアントでもコマンドを実行させる設定。(通常1にしておいてください)
// When set to 0, and debug is enabled, Admin Mod passwords
// will not be logged in cleartext.
amv_log_passwords 0
amv_private_server 0
users.ini と ips.ini の設定により許可されているクライアントしか接続できなくなる。
amv_prvt_kick_message 0
プライベートサーバーモード時、アクセス拒否したクライアントにメッセージを表示する。
amv_reconnect_time 0
Admin権限を持つ人がその権限を失わずに、別のスロットへ再接続することが出来る時間の設定。(単位:秒)
amv_vote_duration 30
votemapの投票時間の設定。(単位:秒)
default_access 1
users.ini ファイルにより許可されていない人をアクセス可能にする。
(これを0にするとusers.ini ファイルに書いていない人以外はアクセスできなくなります)
encrypt_password 0
暗号化されたパスワードを使用する。(LINUXでのみ有効)
file_access_read 0
スクリプトファイルの読み込みを可能にする。
file_access_write 0
スクリプトファイルの書き込みを可能にする。
//help_file "addons/adminmod/config/admin_help.cfg"
この設定は古いスクリプトでのみ使用します。最近のスクリプトでは必要ありません。(通常はコメントにしておいてください)
// Declares priority IPs that are allowed to take a
// reserved spot (if any are set up) without a password.
ips_file 0
kick_ratio 60
voteでのkick可決に必要な得票率。(単位:パーセント)
map_ratio 80
votemapでの可決に必要な得票率。(単位:パーセント)
maps_file ("ファイル名" or 0)
votemap で選択できるマップ一覧リストファイルを指定する。0にすると、mapcycle.txtに記述されているすべてのマップを選択できる。
// 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 reserved slots available on the server."
// This controls how reserve slots work on the server. See documentation.
reserve_type 2
// NOTE: If you have "admin_plugin_file" set above, this CVAR is ignored.
// Define the path to the script file here, if you don't want
// to use the plugin system.
// script_file "cstrike/addons/adminmod/scripts/admin.amx"
// If enabled, names are compared to those who have privileges
// with regular expressions.
// (0=disabled, 1=enabled)
use_regex 0
users_file "addons/adminmod/config/users.ini"
ユーザーごとのアクセスレベルを設定するファイル 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