2007-04-13 20:21:51 +00:00
|
|
|
// AMX Mod X Configuration File
|
2004-07-29 11:55:14 +00:00
|
|
|
echo Executing AMX Mod X Configuration File
|
|
|
|
|
|
|
|
// Default access for all non admin players (see users.ini for access details)
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: "z"
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_default_access "z"
|
|
|
|
|
|
|
|
// Name of setinfo which should store a password on a client (you should change this)
|
2007-04-13 20:21:51 +00:00
|
|
|
// Note: Always prefix the field with an underscore (aka: "_")
|
2004-07-29 11:55:14 +00:00
|
|
|
// (Example: setinfo _pw "password")
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: "_pw"
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_password_field "_pw"
|
|
|
|
|
|
|
|
// Mode of logging to a server
|
|
|
|
// 0 - disable logging, players won't be checked (and access won't be set)
|
|
|
|
// 1 - normal mode which obey flags set in accounts
|
|
|
|
// 2 - kick all players not on list
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 1
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_mode 1
|
|
|
|
|
|
|
|
// Show admins activity
|
|
|
|
// 0 - disabled
|
|
|
|
// 1 - show without admin name
|
|
|
|
// 2 - show with name
|
2013-07-20 09:39:51 +00:00
|
|
|
// 3 - show name only to admins, hide name from normal users
|
|
|
|
// 4 - show name only to admins, show nothing to normal users
|
|
|
|
// 5 - hide name only to admins, show nothing to normal users
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 2
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_show_activity 2
|
|
|
|
|
|
|
|
// Frequency in seconds and text of scrolling message
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600
|
|
|
|
|
|
|
|
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default values: "Welcome to %hostname%" "000255100"
|
|
|
|
// "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255"
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_imessage "Welcome to %hostname%" "000255100"
|
|
|
|
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"
|
|
|
|
|
|
|
|
// Frequency in seconds of colored messages
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 180
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_freq_imessage 180
|
|
|
|
|
2008-03-30 21:23:01 +00:00
|
|
|
// Ban times for the main ban menu (amx_banmenu)
|
|
|
|
// Use 0 for permanent ban
|
|
|
|
// Default values: 0 5 10 15 30 45 60
|
|
|
|
amx_plmenu_bantimes 0 5 10 15 30 45 60
|
|
|
|
|
2013-08-16 16:49:55 +00:00
|
|
|
// Max temporary ban time (admins with ADMIN_BAN_TEMP access can't ban more than this time)
|
|
|
|
// time in minutes, 60 is 1 hour, 120 is 2 hours, 1440 is 1 day, and 10080 is 1 week
|
|
|
|
// Default value: 4320 aka 3 days
|
|
|
|
amx_tempban_maxtime 4320
|
|
|
|
|
2008-03-30 21:23:01 +00:00
|
|
|
// Slap damage amounts for the main slap menu (amx_slapmenu)
|
2013-08-23 23:14:54 +00:00
|
|
|
// Slay is automaticall inserted as the last option
|
2008-03-30 21:23:01 +00:00
|
|
|
// Default values: 0 1 5
|
|
|
|
amx_plmenu_slapdmg 0 1 5
|
|
|
|
|
2004-07-29 11:55:14 +00:00
|
|
|
// Set in seconds how fast players can chat (chat-flood protection)
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 0.75
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_flood_time 0.75
|
|
|
|
|
2007-08-05 10:41:10 +00:00
|
|
|
// Amount of slots to reserve.
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 0
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_reservation 0
|
|
|
|
|
2007-08-05 10:41:10 +00:00
|
|
|
// If you set this to 1, you can hide slots on your server.
|
|
|
|
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 0
|
2006-01-07 01:04:07 +00:00
|
|
|
amx_hideslots 0
|
|
|
|
|
2004-07-29 11:55:14 +00:00
|
|
|
// Displaying of time remaining
|
|
|
|
// a - display white text on bottom
|
|
|
|
// 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 in parameter
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
2007-04-26 14:20:19 +00:00
|
|
|
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
|
|
|
|
|
2007-04-13 20:21:51 +00:00
|
|
|
// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
|
|
|
|
//
|
|
|
|
// Default value: 1
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_time_voice 1
|
|
|
|
|
|
|
|
// Minimum delay in seconds between two voting sessions
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 10
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_vote_delay 10
|
|
|
|
|
|
|
|
// How long voting session goes on
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 10
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_vote_time 10
|
|
|
|
|
2007-04-13 20:21:51 +00:00
|
|
|
// Display who votes for what option, set to 0 to disable, 1 to enable.
|
|
|
|
//
|
|
|
|
// Default value: 1
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_vote_answers 1
|
|
|
|
|
|
|
|
// Some ratios for voting success
|
2007-04-13 20:21:51 +00:00
|
|
|
|
|
|
|
// Default value: 0.40
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_votekick_ratio 0.40
|
2007-04-13 20:21:51 +00:00
|
|
|
|
|
|
|
// Default value: 0.40
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_voteban_ratio 0.40
|
2007-04-13 20:21:51 +00:00
|
|
|
|
|
|
|
// Default value: 0.40
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_votemap_ratio 0.40
|
2007-04-13 20:21:51 +00:00
|
|
|
|
|
|
|
// Default value: 0.02
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_vote_ratio 0.02
|
|
|
|
|
|
|
|
// Max. time to which map can be extended
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 90
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_extendmap_max 90
|
|
|
|
|
|
|
|
// Step for each extending
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 15
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_extendmap_step 15
|
|
|
|
|
2014-09-28 15:41:48 +00:00
|
|
|
// Server language in ISO 639-1 format
|
|
|
|
// Please see data/lang/languages.txt file for a list of supported languages
|
|
|
|
//
|
|
|
|
// Default value: en
|
|
|
|
amx_language "en"
|
|
|
|
|
2007-04-13 20:21:51 +00:00
|
|
|
// If you set this to 0, clients cannot chose their language, instead they use
|
|
|
|
// whatever language the server is configured to use.
|
|
|
|
//
|
|
|
|
// Default value: 1
|
|
|
|
amx_client_languages 1
|
|
|
|
|
2014-09-28 15:41:48 +00:00
|
|
|
// If you set this to 0, clients will not see a message about amx_langmenu when they join the server
|
|
|
|
//
|
|
|
|
// Default value: 1
|
|
|
|
amx_language_display_msg 1
|
|
|
|
|
2014-09-28 15:48:16 +00:00
|
|
|
// If you set this to 0, clients will not see a message about amx_help when they join the server
|
|
|
|
//
|
|
|
|
// Default value: 1
|
|
|
|
amx_help_display_msg 1
|
|
|
|
|
2017-09-01 13:23:49 +00:00
|
|
|
// Time to wait (in seconds) before displaying a message about amx_help to a client once joined the server
|
|
|
|
//
|
|
|
|
// Default value: 15
|
|
|
|
amx_help_display_msg_time 15
|
|
|
|
|
2014-09-28 15:48:16 +00:00
|
|
|
// Amount of commands per amx_help page
|
|
|
|
//
|
|
|
|
// Default value: 10
|
|
|
|
amx_help_amount_per_page 10
|
|
|
|
|
2007-04-13 20:21:51 +00:00
|
|
|
// Plugin Debug mode
|
|
|
|
// 0 - No debugging (garbage line numbers)
|
|
|
|
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
|
|
|
|
// 2 - All plugins are put in debug mode
|
|
|
|
// Note - debug mode will affect JIT performance
|
|
|
|
//
|
|
|
|
// Default value: 1
|
|
|
|
amx_debug 1
|
|
|
|
|
|
|
|
// Plugin MultiLingual Debug
|
|
|
|
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
|
|
|
|
// "" means disabled
|
|
|
|
//
|
|
|
|
// Default value: ""
|
|
|
|
amx_mldebug ""
|
|
|
|
|
|
|
|
//
|
|
|
|
// Beginning of Counter-Strike package specific configurations.
|
|
|
|
//
|
|
|
|
|
2004-07-29 11:55:14 +00:00
|
|
|
// Rank mode
|
|
|
|
// 0 - by nick
|
|
|
|
// 1 - by authid
|
|
|
|
// 2 - by ip
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 1
|
2004-07-29 11:55:14 +00:00
|
|
|
csstats_rank 1
|
|
|
|
|
|
|
|
// Max size of the stats file
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 3500
|
2004-07-29 11:55:14 +00:00
|
|
|
csstats_maxsize 3500
|
|
|
|
|
2007-04-13 20:21:51 +00:00
|
|
|
// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.
|
|
|
|
//
|
|
|
|
// Default value: 0
|
|
|
|
csstats_rankbots 0
|
|
|
|
|
2004-07-29 11:55:14 +00:00
|
|
|
// Duration of HUD-statistics
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: 12.0
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_statsx_duration 12.0
|
|
|
|
|
|
|
|
// HUD-statistics display limit relative round freeze end
|
|
|
|
// Negative time will clear the HUD-statstics before the round freeze time has ended
|
2007-04-13 20:21:51 +00:00
|
|
|
//
|
|
|
|
// Default value: -2.0
|
2004-07-29 11:55:14 +00:00
|
|
|
amx_statsx_freeze -2.0
|
2004-08-22 10:53:49 +00:00
|
|
|
|
Overhaul Restrict Weapons plugin - part 1 (#347)
* Restmenu: Use CS_OnBuyAttempt forward to detect any buy attempt - part 1
- Removed any useless code which won't be needed anymore with forward. A lot!
* Restmenu: Use CS_OnBuyAttempt forward to detect any buy attempt - part 2
- Added the actual forward
- Because of forward passing a CSI_* constant, it's needed to refactor how is saved a blocked item. Not fully implemented everywhere because menu is going to be refactored later as well.
* Restmenu: Replace findAliasId() by cs_get_item_id()
* Restmenu: Use cvar pointers
* Restmenu: Refactor menu - part 1
Purpose:
- Convert old menus to new menus.
- Instead of having one menu with several pages, having one main menu (item types) and sub-menus (items list). More readable, more easy to naviguate and no pagination.
- Move hardcoded strings to ML
* Restmenu: Refactor menu - part 2
Purpose:
- Convert old menus to new menus.
- Instead of having one menu with several pages, having one main menu (item types) and sub-menus (items list). More readable, more easy to naviguate and no pagination.
- Move hardcoded strings to ML
- Minor visual improvements
* Restmenu: Refactor podbot stuff
- Factorized code
- Used a more direct way to set restrictions
* Restmenu: Refactor load/save config file
- Used new file natives
- Moved harcoded message header to ML
- QoL: saved restricted items will be grouped per type
- Cleaned up few things
* Restmenu: Refactor amx_restrict command
- Minor improvements on how are retrieved/handled arguments from command.
- Same as menu, it displays first classes list, then it lists associated items. No more pagination.
- Minor visual changes.
* Restmenu: Remove unused stuffs
* Restmenu: Move more harcoded messages to ML
* Restmenu: Move MAPSETTINGS define to cvar
- Don't forget me in changelog
- There is room for improvements but for now keep the same behavior
* Restmenu: Add some consistency, no code change
- Renamed some variables
- Changed functions order
- Removed extra spaces
- Fixed leading tabs
* Restmenu: Use inline formatting at various places
* Restmenu: Make command descriptions multilingual for player
* Restmenu: Refresh opened menus if the command is used to save/load/set.
Also, I've removed the renaming of "exit" item because it was misleading as it returns MENU_EXIT when it's named with "back" and handling the action wiht that doesn't make much sense.
* Restmenu: Adjust minor things (consistency, readability, safety)
* Restmenu: Show the current category when items are listed through the command
* Restmenu: Display admin activity on loading/saving
+ load: reset blocked items only if file has been loaded
+ load: ignored if no arguments
+ save: added a silly fix because of the cvars
2017-08-05 08:45:29 +00:00
|
|
|
// Sets whether Restrict Weapons plugin should use a configuration file per map or or not.
|
|
|
|
// If enabled, the file format is: weaprest_mapname.ini (e.g. weaprest_de_dust.ini).
|
|
|
|
// -
|
|
|
|
// Default value: 0
|
|
|
|
amx_restrmapsettings 0
|
|
|
|
|
2021-12-06 02:38:49 +00:00
|
|
|
// Performance monitor
|
|
|
|
//
|
|
|
|
// If function executed more than amx_perflog_ms milliseconds
|
|
|
|
// print plugin and function name to current amxmodx log file.
|
|
|
|
//
|
|
|
|
// Time in milliseconds
|
|
|
|
// Default value: 1.0
|
|
|
|
//
|
|
|
|
amx_perflog_ms 1.0
|