Added a new setting EXIT_TO_MAIN that controls whether or not to go back to the main menu after exiting the group sub-menu.
Added a new skill "PROTECTION" that changes the amount of damage that the player receives - this is the exact opposite of the "DAMAGE" skill.
Added command /hudinfo that lets players enable/disable the HUD information.
Added native crxranks_has_user_hudinfo that checks whether a player has their HUD information enabled or disabled.
Added the ability to set an expiration date for the extras.
Added a new setting EXPIRATION_DATE_FORMAT that tells the plugin which date format to use with expiration date. By default, it's set to day.month.year.
Added a new setting EXPIRATION_DATE_BEHAVIOR that tells the plugin what to do when a specific extra has expired.
Added the standard *SPEC* prefix for spectators. It can be changed from the new SPEC_PREFIX setting.
# The standard spectator prefix.
SPEC_PREFIX = *SPEC*
# Date format for use with expiration dates where available in sections down below.
# For a list of valid parameters, see: http://www.cplusplus.com/reference/ctime/strftime/
EXPIRATION_DATE_FORMAT = %d.%m.%Y
# What to do when the date for a specific extra has expired?
# 0 = ignore the entire line
# 1 = put a "#" symbol in the beginning of the line
# 2 = remove the entire line from the file
# Note that when the setting is non-zero, the entire file will be rewritten after being read.
EXPIRATION_DATE_BEHAVIOR = 0
The name of the plugin is changed because its previous name (Win Messages) is no longer suitable as the plugin is used for more than only "win" messages. The names of the .sma and .ini files have also been changed, so be careful when updating.
The names of the .sma and .ini files have also been changed, so be careful when updating.
The same goes for the cvars, where the winmsg_ part is changed to gmsm_ in order to reflect the plugin's new name.
Added the ability to set different HUD coordinates for each message.
Changed the design of the configuration file - now you don't need to add # in front of every message, this symbol is now used for comments in the file.
The symbol for a random color value is changed from R to -1.
Added the ability to move a center message on a new line by using the %n symbol
Added an API which can be used to create sub-plugins. With this, it is now possible to create sub-plugins for knife skills/abilities.
Added cvar km_only_dead which allows you to prevent players from changing their knife while they're alive.
Added cvar km_select_message which allows you to disable the default message that is shown in chat when you select a knife. Use it if you want to add custom select messages that describe your knife skills.
Added cvar km_knife_only_skills. This cvar has no effect in the plugin itself, its purpose is to be used from sub-plugins in order to determine whether the knife skills will be active only when the player holds a knife (1) or with any weapon (0).
Added knife attribute SELECT_MESSAGE. This attribute can be added more than once and it will show a chat message (or multiple ones) when the knife is selected.
Added command crxknives_select that allows players to select a knife without using the menu. It requires the knife index (knife position in the menu starting from 0) as the first parameter.
Fixed saving and loading the selected knife after leaving the server.
Made it so if the cvar km_open_at_spawn is enabled, the menu won't be opened for players that don't have access to any knife according to their admin flags.
Added cvar km_admin_bypass which allows admins to have access to XP/level-restricted knives.
The update includes changes to all files except cshop_settings.inc. CustomShop.ini has changes only in the setting CSHOP_PREFIX and a new setting is added - CSHOP_SAVE_LIMIT.
You can now change every item settings through the cshop_edit command or the item configuration file, thanks to the new natives for registering item settings.
Added the command cshop_reset_points which will reset everyone's points.
Added an option to make the item limit save until the end of the map.
You can now add more than one access flag for the items.
Added new natives.
The plugin for the items is completely rewritten with the new API.
Minor fixes and optimization
You can now change the sounds for every knife.
Completely changed the way models are added in the configuration file.
The plugin will now include the user's ID as well.
Added an option to also show the SteamID.