- Added support for ServerGuard permissions
- Warning a player by steamid will now check if that player is connected to the server and notify them properly as well as kick/ban them if appropriate.
- Removed a redundant line of code setting up the convars.
- Added an option to clear a player's active warnings when they are banned by AWarn so that if/when they are unbanned they come back with a clean slate. Warnings don't get deleted, just the active warning count is reset to 0. This can be toggled on or off in the options menu.
UPDATE (Bug Fixes)
Couple small things
- Fixed inaccurate display when players join with warnings showing their active warnings instead of their total warnings. This caused it to maybe say "Player joins the server with (0) total warnings.
- Fixed an error with the ban total limit being one less than what you had set it to in the options. Example: If you have banning enabled and the warning limit for bans set to 4, it would ban them at 3 warnings.
- Added MySQL support!
- See main post description or readme file inside of addon for info on how to set up MYSQL support!
- MySQL is disabled by default.
Fixed some display bugs with showing warnings in chat not being converted properly with the new system.
- Added a requested feature to be able to right click a warning and copy the warning reason to clipboard.
**** Rewrote the settings system. Back when I wrote AWarn2 clientside replicated convars weren't working so I wrote my own system but it was buggy for some people. I rewrote it to use convars. This doesn't affect how you use the script, but should make it MUCH less buggy for people who would lose or have their settings revert randomly!
- Fixed some permission issues with the admin mod compatibility.
- Changed how net messages are initialized to hopefully address some loading issues people have been having.
- Changed the Decay Rate slider to accept values up to 43,200 minutes (1 Month) The max value used to be 100. This should allow server owners to set warning decay rates greater than 100 minutes using the options menu.
Fixed a potential display bug with kick/warning thresholds.
Added support for Maestro Permissions. See main page description for how to set this up.
awarn_deletewarnings awarn_deletewarningsid
can now be called from a dedicated server console (from server with lua too). This enables third party addons to access these functions for whatever reason.
+Added Hook Callbacks -Descriptions in the main post.