admin.cfg の設定
基本的に 0=無効、1=有効です。
※重要※
下の設定記述をコピーして実際の設定ファイルに貼り付ける場合は
説明部分(青字)は使用しないでください。トラブルの原因になります。
戻る
// AMX configuration file
// File location: $moddir/addons/amx
// To use with admin.amx and admincmd.amx plugins
// amx_admin < name|ip|wonid > < password > < access > < flags >
// Flags:
// a - disconnect player on invalid password
// b - clan tag
// c - this is authid/wonid
// d - this is ip
// e - password is not checked (only name/ip/wonid needed)
// Access:
// a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
// b - reservation (can join on reserved slots)
// c - amx_kick command
// d - amx_ban and amx_unban commands
// e - amx_slay and amx_slap commands
// f - amx_map command
// g - amx_cvar command (not all cvars will be available)
// h - amx_cfg command
// i - amx_chat and other chat commands
// j - amx_vote and other vote commands
// k - access to sv_password cvar (by amx_cvar command)
// l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
// m - custom level A (for additional plugins)
// n - custom level B
// o - custom level C
// p - custom level D
// q - custom level E
// r - custom level F
// s - custom level G
// t - custom level H
// u - menu access
// z - user
// Example of admin account configuration
amx_admin "Player" "my_password" "abcdefghijklmnopqrstu" "a"
管理者およびユーザーの権限設定。
@
A
B C
amx_admin < name|ip|wonid > < password > < access > < flags >
@--名前、IPアドレス、WONIDの3種類で指定可能。
A--@で指定した人がJOINするのに必要なパスワード
B--アクセスレベルの指定。a-zまでの権限を指定する(複数指定可能)
アクセスレベルの説明
a - kick、ban(接続拒否)、slay(殺す)、slap(ダメージを与える)、
その他周りに影響を与えるようなコマンドがすべて使用不可
b -
リザーブスロット(予約席)にJOIN可能
c - amx_kick コマンド使用可能
d - amx_ban and amx_unban コマンド使用可能
e - amx_slay and amx_slap コマンド使用可能
f - amx_map コマンド使用可能
g - amx_cvar コマンド使用可能 (設定可能なCVARは限られている)
h - amx_cfg コマンド使用可能
i - amx_chat およびその他の chat
コマンド使用可能
j - amx_vote およびその他の vote
コマンド使用可能
k - amx_cvar を使って sv_password を変更可能
l - amx_cvar を使って amx_rcon と rcon_password
を使用可能
m - カスタムレベルA
(外部のプラグインで使用するためのレベル)
n - カスタムレベルB
o - カスタムレベルC
p - カスタムレベルD
q - カスタムレベルE
r - カスタムレベルF
s - カスタムレベルG
t - カスタムレベルH
u - Adminメニューにアクセス可能
z - ユーザー設定レベル?(未確認です)
Cオプション
a -
パスワードが間違っていたら接続を拒否する
b - @をクランタグとして認識する
c - @をWONID/AUTHIDとして認識する
d - @をIPアドレスとして認識する
e -
パスワードのチェックをしない(@が名前・IP・WONIDのいずれかでのみ使用可能)
// Default access
amx_default_access "j"
amx_adminで特定していないプレイヤーがJOINしたときの権限指定。
(上の例ではレベル「j」なので、amx_voteやamx_votemapのみ使用可能。)
// Name of setinfo which should store the password on client
// f.e. with current settings admin should have line in his config: setinfo _pw hello
amx_password_field "_pw"
管理者権限でJOINするために、クライアント側のconfig.cfgに管理者パスワードを記述するときの変数指定。
(上記例では、仮に hage
という管理者がクライアントマシンからJOINするとして、サーバーのadmin.cfg内に
amx_admin "hage"
"testpass" "abcdefghijklmnopqrstu" "a"
と記述し、クライアント側のconfig.cfgに
setinfo "_pw" "testpass"
と記述すれば、hage はAdmin権限でJOINすることが可能になります。
// Mode of logging to the server
// 2 - kick all players not on list
// 1 - normal mode
// 0 - disable logging, players won't be checked (and access won't be set)
amx_mode 1
// Show admins activity
// 0 - disabled
// 1 - show without admin nick
// 2 - show with nick
amx_show_activity 0
Admin権限をもつ管理者がサーバーにアクセスしているかどうかを表示する
(未確認)
// Some info displaying and frequency of scrolling message in sec.
amx_scrollmsg "Welcome to CS Hageoyaji Server" 300
スクロールメッセージ(画面下部に流れるメッセージ)の内容と表示間隔(秒)
// Frequency of information messages in sec.
amx_freq_imessage 180
インフォメーションメッセージの表示間隔(秒)
// Plain information messages
amx_imessage "Welcome to CS Hageoyaji Server" "255100000"
amx_imessage "This server is using AMX\nVisit http://amxmod.net" "000100255"
プレインインフォメーションメッセージ(画面中央に浮かび上がるメーッセージ)
の内容と表示色
// Set chat-flood protection
amx_flood_time 0.75
// Kicking rules to keep reservered slots free
// 0 - don't kick anyone and keep reserved slots only for players with reservation
// 1 - kick by shortest playing time
// 2 - kick by worst ping
// 3 - don't kick anyone and put on remaining reserved slots only players with reservation
amx_reservation 3
// Amount for reserved slots
amx_reserved_slots 2
予約スロット数
// Time remaining displaying
// a - display text
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
残り時間のアナウンス設定
a - テキスト表示
b - 音声でアナウンス
c - 「remaining」という言葉を付け加えない(音声アナウンス設定時のみ機能)
d - 「hours/minutes/seconds」という言葉を付け加えない(音声アナウンス設定時のみ機能)
e -
残り時間がセットした時間を過ぎても、表示・アナウンスを続ける
// Minimum delay in seconds between two voting sessions
amx_vote_delay 30
1度行われたvoteコマンドから次のvoteコマンドが使用可能になるまでの最小時間(秒)
// How long voting session go on
amx_vote_time 10
voteの投票時間(分?)(未確認)
// Display who votes for what
amx_vote_answers 1
誰がどちらに投票したかを表示する
// Some ratios for voting success
amx_votekick_ratio 0.40
amx_voteban_ratio 0.40
amx_votemap_ratio 0.60
amx_vote_ratio 0.02
voteが成功するための得票率
// Stats settings
// For stats settings use amx_statscfg admin command
amx_statscfg 1
// Announce "say thetime" and "say timeleft" with voice
amx_time_voice 1
thetimeコマンドとtimeleftコマンドを使った時に音声でもアナウンスする
// List of maps for nextmap chooser plugin (all maps are merged)
amx_nextmapch de_dust de_dust2 de_aztec
amx_nextmapch cs_deagle5 honey_arena3_dx de_rats_2001
amx_nextmapch cs_rats2_final2 mindmaze
//amx_nextmapch de_desktop de_aztec3_b1
ラウンド終了間際、自動的に次のマップを投票するメニューを表示する
(1行に設定したマップの中から1つを選ぶメニューになる)
複数行記述可能
(※mapchooser.amxを使用時のみ)
// Max. time to which map can be extended
amx_extendmap_max 90
マップ時間延長の最大時間
(※mapchooser.amxを使用時のみ)
(上記のamx_nextmapchを使用しない場合にのみ機能する)
// Step for each extending
amx_extendmap_step 15
戻る