In this part I’ll discuss how to configure the AMX Mod X plugin. amxx.cfg
is the configuration file of AMX Mod X. We can find this file in the cstrike\addons\amxmodx\configs folder.
I’ll recommend Wordpad to open this file. If you open this file using Wordpad
you can see various lines already written there. Some lines are started with
double front slash (i.e. //) some lines are written normally. Those lines which
are started with double front slash, they are comment lines (Used to make some
comment). And those line which are written normally are the plugin Cvars. You
can change the values of Cvars if you need otherwise don’t change the values.
Now I’ll discuss all the plugin Cvars one by one.
1. echo
Using this Cvar plugin print some information in server console. Default
value is Executing AMX Mod X Configuration File.
Don’t change this value.
Default: echo Executing AMX Mod X Configuration File
2. amx_default_access
This
Cvar determines for which access flag this plugin will be applicable. (I’ll
discuss about Access Flags in detail in my next blog How to add admin). Default
value is z i.e. all users. Datatype is string.
Syntax: amx_default_access
<access flag>
Default: amx_default_access
"z"
3. amx_password_field
This
Cvar determines which will be the Name of setinfo (password field) which should
store a password on a client (I’ll also discuss about password field in detail in my next
blog How to add admin). Default value is _pw. Datatype is string.
Syntax: amx_password_field
<password field>
Default: amx_password_field
"_pw"
4. amx_mode
This
Cvar sets mode of logging to the server. There are 3 values. 0, 1 & 2. 0
will disable the logging, players won’t be checked and access won’t be set. 1
normal mode which obey flags set in account. 2 will kick all players not on
list. Default value is 1. Datatype integer.
Syntax: amx_mode
<0 or 1 or 2>
Default: amx_mode 1
5. amx_show_activity
This
Cvar determines admin activity will be visible or not from normal users’ end.
There are 3 values. 0, 1 & 2. Set 0 to disable this facility. 1 to show
activity without admin name. 2 to show activity with admin name. Default value
is 2. Datatype integer.
Syntax: amx_show_activity
<0 or 1 or 2>
Default: amx_show_activity
2
6. amx_scrollmsg
This
Cvar sets text and frequency in seconds of scrolling message. First parameter
is you message datatype is string last parameter is frequency in second datatype
is integer.
Syntax:
amx_scrollmsg
"<your message>" <int value>
Defeult:
amx_scrollmsg
"Welcome to %hostname% -- This server is using AMX Mod X" 600
7.
amx_imessage
This Cvar
sets central colours message. There are two parameters first one is message
datatype is string last parameter is colour in RRRGGGBBB format datatype is
string. You can write many imessage but you have to write them in separate line.
One line for one message.
Syntax: amx_imessage "<your
message>" "<colour code in RRRGGGBBB>"
Default: amx_imessage "Welcome
to %hostname%" "000255100"
amx_imessage "This server is using AMX
Mod X\nVisit http://www.amxmodx.org" "000100255"
8. amx_freq_imessage
This
Cvar sets frequency in seconds of coloured messages i.e. imessage. Default
value is 180. Datatype is integer.
Syntax: amx_freq_imessage
<int value>
Default:
amx_freq_imessage
180
Note:
If you use more than one imessage, they will shuffle after the given frequency
i.e. after displaying the 1st message it will wait frequency time
(default 180 sec) then 2nd message will display again it will wait frequency
time then 3rd message again it will wait for frequency time and so
on.
9. amx_plmenu_bantimes
This
Cvar sets ban times for the main ban menu (in seconds). Default values are 0 5
10 15 30 45 60. Datatype array.
Syntax:
amx_plmenu_bantimes
[<ban time(s) in seconds>]
Default:
amx_plmenu_bantimes
0 5 10 15 30 45 60
Note:
Use 0 for permanent ban.
10. amx_plmenu_slapdmg
This
Cvar sets slap damage amounts for the main slap menu. Slay is automatically
inserted as the first option. Default values are 0 1 5. Datatype is array.
Syntax:
amx_plmenu_slapdmg
[<damage amount(s)>]
Default: amx_plmenu_slapdmg
0 1 5
11. amx_flood_time
This
plugin sets how fast players can chat (in seconds). Default value is 0.75.
Datatype is float.
Syntax:
amx_flood_time
<float value>
Default:
amx_flood_time
0.75
12. amx_reservation
This
Cvar sets no of slots will be reserved by server. Default value is 0, datatype
is integer.
Syntax:
amx_reservation
<int value>
Default:
amx_reservation
0
13. amx_hideslots
This
Cvar determines whether server will hide slots from public players or not. Set
0 to disable this option, 1 to enable. If you enable this option and server is
full you have to connect manually by using console command connect. Default
value is 0. Datatype Boolean.
Syntax:
amx_hideslots
<0|1>
Default:
amx_hideslots
0
14. amx_time_display
This
Cvar sets flags for remaining time display. Datatype is array. In every array
element it takes two argument flag type & time in seconds. There are 5
types of flags. Set a to display remaining time on bottom of screen, b to use
voice i.e. you can hear remaining time via voice over, c to don’t add “remaining”
in voice (helpful in countdown time), d to don’t add “hours/minutes/seconds” in
voice (helpful in countdown time), e to show/speak if current time is less than
set in parameter. You can use many flag type together. You can also pass many
parameter together. Default value is "ab
1200" "ab 600" "ab 300" "ab 180" "ab
60" "bcde 11"
Syntax:
amx_time_display
["<flag type(s)> <time in second>"]
Default:
amx_time_display
"ab 1200" "ab 600" "ab 300" "ab 180"
"ab 60" "bcde 11"
Note:
First argument “ab 1200” i.e. server will print a message at bottom of screen as
well as players will get a voice message that 20 minutes remaining. Now look at
the last argument “bcde 11” i.e. due to c and d flag “remaining” and “hours/minutes/seconds” will be removed
from voice, a countdown timer will start from 10 seconds, for b flag players will
get printed countdown timer at bottom of server screen.
15. amx_time_voice
This
Cvar determines whether to announce "say thetime" and "say
timeleft" with voice or not. Set 0 to disable this option, 1 to enable.
Default value is 1. Datatype is Boolean.
Syntax:
amx_time_voice
<0|1>
Default:
amx_time_voice
1
16. amx_vote_delay
This
Cvar sets the delay between two voting session. Default value is 10 i.e. 10
second. Datatype is integer.
Syntax:
amx_vote_delay
<int value>
Datatype:
amx_vote_delay
10
17. amx_vote_time
This
Cvar sets how long a voting will last. Default value is 10 i.e. 10 second.
Datatype in integer.
Syntax:
amx_vote_time
<int value>
Default: amx_vote_time 10
18. amx_vote_answers
This
Cvar helps to display who votes for what option. Set to 0 to disable, 1 to
enable. Default value is 1. Datatype is Boolean.
Syntax:
amx_vote_answers
<0|1>
Default: amx_vote_answers
1
19. amx_votekick_ratio
This
Cvar sets minimum ratio for a player kick vote to be successful. Default value
is 0.40 i.e. only 40%. Datatype is float.
Syntax:
amx_votekick_ratio
<0-1>
Default:
amx_votekick_ratio
0.40
20.
amx_voteban_ratio
This
Cvar sets minimum ratio for a player ban vote to be successful. Default value
is 0.40 i.e. only 40%. Datatype is float.
Syntax:
amx_voteban_ratio
<0-1>
Default:
amx_voteban_ratio
0.40
21. amx_votemap_ratio
This
Cvar sets minimum ratio for a map change vote to be successful. Default value
is 0.40 i.e. only 40%. Datatype is float.
Syntax:
amx_votemap_ratio
<0-1>
Default:
amx_votemap_ratio
0.40
22. amx_vote_ratio
This
Cvar sets minimum ratio for a general vote to be successful. Default value is
0.02 i.e. only 2%. Datatype is float.
Syntax:
amx_vote_ratio
<0-1>
Default:
amx_vote_ratio
0.02
23. amx_extendmap_max
This
Cvar sets maximum map extension time in second. Default value is 90. Datatype
is integer.
Syntax:
amx_extendmap_step
<int value>
Datatype:
amx_extendmap_step
15
24. amx_extendmap_step
This
Cvar determines maximum step no of extend map Cvar. In other words you can say
step no means maximum no of times you can use extenedmap Cvar without changing
a particular map. Default value is 15. Datatype is integer.
Syntax:
amx_extendmap_step
<int value>
Default:
amx_extendmap_step
15
25. amx_client_languages
This
Cvar determines whether clients will able to set their language (AMX Mod X
plugin’s language) or not. Set 0 to disable client language, 1 to enable.
Default value is 1. Datatype is Boolean.
Syntax:
amx_client_languages
<0|1>
Default:
amx_client_languages
1
26. amx_debug
This
Cvar sets plugin debugging mode. Set 0 to disable plugin debugging, 1 to debug
plugins with "debug" option in plugins.ini are put into debug mode, 2
to put all plugins in debug mode. Note - debug mode will affect JIT performance.
Default value is 1. Datatype is integer.
Syntax:
amx_debug
<0|1|2>
Default:
amx_debug
1
27. amx_mldebug
This
Cvar sets Plugin Multilingual Debug. To debug a language put its 2 letter code
between quotes ("en", "de", etc). Default value is ""
i.e. debugging is disabled. Datatype is String.
Syntax:
amx_mldebug
"<2 letter language
code >"
Default:
amx_mldebug
""
28.
csstats_rank
This Cvar determines the player ranking
mode. Set value 0 to ranking by players’ nick, 1 to ranking by players’
Authentic ID, 2 to ranking using IP address of players. Default value is 1.
Datatype is integer.
Syntax: csstats_rank <0|1|2>
Default: csstats_rank 1
29. csstats_maxsize
This
Cvar determines the maximum size of stats file. Default value is 3500. Datatype
is integer.
Syntax:
csstats_maxsize
<int value>
Default:
csstats_maxsize
3500
30. csstats_rankbots
This
Cvar determines Whether or not to rank bots with csstats. Set to 1 to rank
bots, 0 otherwise. Default value is 0. Datatype is Boolean.
Syntax:
csstats_rankbots
<0|1>
Default:
csstats_rankbots
0
31. amx_statsx_duration
This
Cvar determines the Duration of HUD-statistics in second. Default value is
12.0. Datatype is float.
Syntax:
amx_statsx_duration
<float value>
Default:
amx_statsx_duration
12.0
32. amx_statsx_freeze
This
Cvar determines HUD-statistics display limit relative round freeze end Negative
time will clear the HUD-statistics before the round freeze time has ended.
Default value is -2.0. Datatype float.
Syntax:
amx_statsx_freeze
<float value>
Default:
amx_statsx_freeze
-2.0
These
are the default Cvars you can also add 3nd party plugin Cvars in this file. Let
us consider you have installed dp_test & updatehint plugin. (I’ve already
discussed about these plugins in my previous blog “How to allow non-steamers in your server”). There are two Cvars in updatehint plugin one for displaying URL
another to set frequency of displaying. You can just add these lines. uh_url
"store.steampowered.com/app/10"
and uh_interval
180 but remember one line for one Cvar.
Hope this post will help you. If you have any question feel
free to ask. You can post your question(s) in comment section I’ll answer them.
You can also post your valuable comments. Thank you.
No comments :
Post a Comment