- Changed the way the XP is saved in order to prevent data loss on server crash, map change, server restart, etc.
- Added a new setting USE_COMBINED_EVENTS that allows you to choose whether the feature of the plugin for using combined XP rewards for multiple events will be enabled.
- Added a new setting HUDINFO_OTHER_PLAYERS that allows players to see the HUD info of the player they're spectating when dead.
- Added a new forward crxranks_user_receive_xp that allows the XP to be modified by other plugins before the player receives it.
In order to update the plugin from the previous version without losing your .ini file changes, it is necessary to replace all files in the scripting folder (along with the ones in the include folder) and add the following lines in the [Settings] section in the configuration file:
PHP Code:
# If set to 1, XP rewards will be combined for specific events.
# For example: killing a player with a headshot will reward both "kill" and "headshot" XP rewards, rather than only "headshot".
USE_COMBINED_EVENTS = 1
# If set to 1, when dead, players will be able to see the HUD info of the player they are spectating.
# This setting will not work if HUDINFO_ALIVE_ONLY is set to 1.
HUDINFO_OTHER_PLAYERS = 0
__________________