From 4fc58e6afdbf65610883f6e6872ceb3352d80f9c Mon Sep 17 00:00:00 2001 From: Freeman-AM Date: Fri, 1 Sep 2017 15:23:49 +0200 Subject: [PATCH] Minor fixes in configs files. (#455) * Missing amx_help_display_msg_time var in amxx.cfg * Missing vars in CS DOD TFC and TS core.ini * Standardization to others file location comments in clcmds.ini * Missing account flag comments + typo errors in NS users.ini --- configs/clcmds.ini | 2 +- configs/cstrike/amxx.cfg | 5 +++++ configs/cstrike/core.ini | 36 ++++++++++++++++++++++-------------- configs/dod/core.ini | 37 ++++++++++++++++++++++--------------- configs/ns/amxx.cfg | 5 +++++ configs/ns/users.ini | 5 ++++- configs/tfc/core.ini | 36 ++++++++++++++++++++++-------------- configs/ts/core.ini | 36 ++++++++++++++++++++++-------------- 8 files changed, 103 insertions(+), 59 deletions(-) diff --git a/configs/clcmds.ini b/configs/clcmds.ini index e0c2f9e7..4de02832 100755 --- a/configs/clcmds.ini +++ b/configs/clcmds.ini @@ -1,5 +1,5 @@ ; Menu configuration file -; Default File location: $moddir/addons/amxmodx/configs/clcmds.ini +; File location: $moddir/addons/amxmodx/configs/clcmds.ini ; To use with Players Menu plugin ; NOTE: By default in all settings the access level is set to "u". diff --git a/configs/cstrike/amxx.cfg b/configs/cstrike/amxx.cfg index 2a77b267..a6fb7ba3 100755 --- a/configs/cstrike/amxx.cfg +++ b/configs/cstrike/amxx.cfg @@ -156,6 +156,11 @@ amx_language_display_msg 1 // Default value: 1 amx_help_display_msg 1 +// 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 + // Amount of commands per amx_help page // // Default value: 10 diff --git a/configs/cstrike/core.ini b/configs/cstrike/core.ini index ab40bc9a..f0d3a4ae 100755 --- a/configs/cstrike/core.ini +++ b/configs/cstrike/core.ini @@ -1,22 +1,25 @@ ; Configuration file for AMX Mod X -amxx_logs addons/amxmodx/logs -amxx_configsdir addons/amxmodx/configs -amxx_datadir addons/amxmodx/data -amxx_modules addons/amxmodx/configs/modules.ini -amxx_plugins addons/amxmodx/configs/plugins.ini -amxx_pluginsdir addons/amxmodx/plugins -amxx_modulesdir addons/amxmodx/modules -amxx_vault addons/amxmodx/data/vault.ini +amxx_logs addons/amxmodx/logs +amxx_configsdir addons/amxmodx/configs +amxx_datadir addons/amxmodx/data +amxx_modules addons/amxmodx/configs/modules.ini +amxx_plugins addons/amxmodx/configs/plugins.ini +amxx_pluginsdir addons/amxmodx/plugins +amxx_modulesdir addons/amxmodx/modules +amxx_vault addons/amxmodx/data/vault.ini ; It is important that "csstats" comes before "csstats_score" -csstats addons/amxmodx/data/csstats.dat -csstats_score addons/amxmodx/data/csstats.amxx +csstats addons/amxmodx/data/csstats.dat +csstats_score addons/amxmodx/data/csstats.amxx ; Logging mode ; 0 - no logging ; 1 - one logfile / day ; 2 - one logfile / map ; 3 - HL Logs -amxx_logging 1 +amxx_logging 1 + +; MySQL default timeout +mysql_timeout 60 ; Binary logging level ; add these up to get what you want @@ -27,10 +30,10 @@ amxx_logging 1 ; 8 - log all native params ; 16 - log internal function calls (only in debug mode) ; 32 - log line number accesses (only in debug mode) -bin_logging 49 +bin_logging 49 ; Maximum binary log size, in megs -max_binlog_size 20 +max_binlog_size 20 ; Plugin optimization flags - add these up to get what you want ; lowering these may stop crashes on very old CPUs @@ -39,4 +42,9 @@ max_binlog_size 20 ; 1 - float arithmetic ; 2 - float comparisons ; 4 - float rounding -optimizer 7 +optimizer 7 + +; Admin command flag manager +; 0 - enabled +; 1 - disabled +disableflagman 0 diff --git a/configs/dod/core.ini b/configs/dod/core.ini index c86b0a1b..2c41497e 100755 --- a/configs/dod/core.ini +++ b/configs/dod/core.ini @@ -1,23 +1,25 @@ ; Configuration file for AMX Mod X -amxx_logs addons/amxmodx/logs -amxx_configsdir addons/amxmodx/configs -amxx_datadir addons/amxmodx/data -amxx_modules addons/amxmodx/configs/modules.ini -amxx_plugins addons/amxmodx/configs/plugins.ini -amxx_pluginsdir addons/amxmodx/plugins -amxx_modulesdir addons/amxmodx/modules -amxx_vault addons/amxmodx/data/vault.ini +amxx_logs addons/amxmodx/logs +amxx_configsdir addons/amxmodx/configs +amxx_datadir addons/amxmodx/data +amxx_modules addons/amxmodx/configs/modules.ini +amxx_plugins addons/amxmodx/configs/plugins.ini +amxx_pluginsdir addons/amxmodx/plugins +amxx_modulesdir addons/amxmodx/modules +amxx_vault addons/amxmodx/data/vault.ini +; It is important that "dodstats" comes before "dodstats_score" +dodstats addons/amxmodx/data/dodstats.dat +dodstats_score addons/amxmodx/data/dodstats.amxx ; Logging mode ; 0 - no logging ; 1 - one logfile / day ; 2 - one logfile / map ; 3 - HL Logs -amxx_logging 1 +amxx_logging 1 -; It is important that "dodstats" comes before "dodstats_score" -dodstats addons/amxmodx/data/dodstats.dat -dodstats_score addons/amxmodx/data/dodstats.amxx +; MySQL default timeout +mysql_timeout 60 ; Binary logging level ; add these up to get what you want @@ -28,10 +30,10 @@ dodstats_score addons/amxmodx/data/dodstats.amxx ; 8 - log all native params ; 16 - log internal function calls (only in debug mode) ; 32 - log line number accesses (only in debug mode) -bin_logging 49 +bin_logging 49 ; Maximum binary log size, in megs -max_binlog_size 20 +max_binlog_size 20 ; Plugin optimization flags - add these up to get what you want ; lowering these may stop crashes on very old CPUs @@ -40,4 +42,9 @@ max_binlog_size 20 ; 1 - float arithmetic ; 2 - float comparisons ; 4 - float rounding -optimizer 7 +optimizer 7 + +; Admin command flag manager +; 0 - enabled +; 1 - disabled +disableflagman 0 diff --git a/configs/ns/amxx.cfg b/configs/ns/amxx.cfg index cdc5bba9..047fadf9 100755 --- a/configs/ns/amxx.cfg +++ b/configs/ns/amxx.cfg @@ -156,6 +156,11 @@ amx_language_display_msg 1 // Default value: 1 amx_help_display_msg 1 +// 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 + // Amount of commands per amx_help page // // Default value: 10 diff --git a/configs/ns/users.ini b/configs/ns/users.ini index 7ef776b9..2d7b59c7 100755 --- a/configs/ns/users.ini +++ b/configs/ns/users.ini @@ -4,7 +4,7 @@ ; Line starting with ; is a comment ; Access flags: -; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands) +; a - immunity (can't be kicked/banned/slayed/slapped and affected by other commmands) ; b - reservation (can join on reserved slots) ; c - amx_kick command ; d - amx_ban and amx_unban commands (permanent and temporary bans) @@ -34,6 +34,9 @@ ; c - this is steamid/wonid ; d - this is ip ; e - password is not checked (only name/ip/steamid needed) +; k - name or tag is case sensitive. eg: if you set it so the name "Ham" +; is protected and case sensitive (flags "k" only), then anybody +; can use the names "haM", "HAM", "ham", etc, but not "Ham" ; Password: ; Add to your autoexec.cfg: setinfo _pw "" diff --git a/configs/tfc/core.ini b/configs/tfc/core.ini index c6c7b085..9bc17193 100755 --- a/configs/tfc/core.ini +++ b/configs/tfc/core.ini @@ -1,22 +1,25 @@ ; Configuration file for AMX Mod X -amxx_logs addons/amxmodx/logs -amxx_configsdir addons/amxmodx/configs -amxx_datadir addons/amxmodx/data -amxx_modules addons/amxmodx/configs/modules.ini -amxx_plugins addons/amxmodx/configs/plugins.ini -amxx_pluginsdir addons/amxmodx/plugins -amxx_modulesdir addons/amxmodx/modules -amxx_vault addons/amxmodx/data/vault.ini +amxx_logs addons/amxmodx/logs +amxx_configsdir addons/amxmodx/configs +amxx_datadir addons/amxmodx/data +amxx_modules addons/amxmodx/configs/modules.ini +amxx_plugins addons/amxmodx/configs/plugins.ini +amxx_pluginsdir addons/amxmodx/plugins +amxx_modulesdir addons/amxmodx/modules +amxx_vault addons/amxmodx/data/vault.ini ; It is important that "tfcstats" comes before "tfcstats_score" -tfcstats addons/amxmodx/data/tfcstats.dat -tfcstats_score addons/amxmodx/data/tfcstats.amxx +tfcstats addons/amxmodx/data/tfcstats.dat +tfcstats_score addons/amxmodx/data/tfcstats.amxx ; Logging mode ; 0 - no logging ; 1 - one logfile / day ; 2 - one logfile / map ; 3 - HL Logs -amxx_logging 1 +amxx_logging 1 + +; MySQL default timeout +mysql_timeout 60 ; Binary logging level ; add these up to get what you want @@ -27,10 +30,10 @@ amxx_logging 1 ; 8 - log all native params ; 16 - log internal function calls (only in debug mode) ; 32 - log line number accesses (only in debug mode) -bin_logging 49 +bin_logging 49 ; Maximum binary log size, in megs -max_binlog_size 20 +max_binlog_size 20 ; Plugin optimization flags - add these up to get what you want ; lowering these may stop crashes on very old CPUs @@ -39,4 +42,9 @@ max_binlog_size 20 ; 1 - float arithmetic ; 2 - float comparisons ; 4 - float rounding -optimizer 7 +optimizer 7 + +; Admin command flag manager +; 0 - enabled +; 1 - disabled +disableflagman 0 diff --git a/configs/ts/core.ini b/configs/ts/core.ini index 8c409aa9..bff017d0 100755 --- a/configs/ts/core.ini +++ b/configs/ts/core.ini @@ -1,22 +1,25 @@ ; Configuration file for AMX Mod X -amxx_logs addons/amxmodx/logs -amxx_configsdir addons/amxmodx/configs -amxx_datadir addons/amxmodx/data -amxx_modules addons/amxmodx/configs/modules.ini -amxx_plugins addons/amxmodx/configs/plugins.ini -amxx_pluginsdir addons/amxmodx/plugins -amxx_modulesdir addons/amxmodx/modules -amxx_vault addons/amxmodx/data/vault.ini +amxx_logs addons/amxmodx/logs +amxx_configsdir addons/amxmodx/configs +amxx_datadir addons/amxmodx/data +amxx_modules addons/amxmodx/configs/modules.ini +amxx_plugins addons/amxmodx/configs/plugins.ini +amxx_pluginsdir addons/amxmodx/plugins +amxx_modulesdir addons/amxmodx/modules +amxx_vault addons/amxmodx/data/vault.ini ; It is important that "tsstats" comes before "tsstats_score" -tsstats addons/amxmodx/data/tsstats.dat -tsstats_score addons/amxmodx/data/tsstats.amxx +tsstats addons/amxmodx/data/tsstats.dat +tsstats_score addons/amxmodx/data/tsstats.amxx ; Logging mode ; 0 - no logging ; 1 - one logfile / day ; 2 - one logfile / map ; 3 - HL Logs -amxx_logging 1 +amxx_logging 1 + +; MySQL default timeout +mysql_timeout 60 ; Binary logging level ; add these up to get what you want @@ -27,10 +30,10 @@ amxx_logging 1 ; 8 - log all native params ; 16 - log internal function calls (only in debug mode) ; 32 - log line number accesses (only in debug mode) -bin_logging 49 +bin_logging 49 ; Maximum binary log size, in megs -max_binlog_size 20 +max_binlog_size 20 ; Plugin optimization flags - add these up to get what you want ; lowering these may stop crashes on very old CPUs @@ -39,4 +42,9 @@ max_binlog_size 20 ; 1 - float arithmetic ; 2 - float comparisons ; 4 - float rounding -optimizer 7 +optimizer 7 + +; Admin command flag manager +; 0 - enabled +; 1 - disabled +disableflagman 0