This update contains security fixes. Make sure you install it!
- (SECURITY FIX) Fixed a security issue where if a player had both the View UI and the Use Custom Reasons permission, they could warn anyone on the server regardless of the Create Warning permission.
- Added the ability to copy a warnings ID via the context menu.
- Added the ability to search via a specific Warning ID by using the console command "yaws {warning id}. This is useful for warning appeals or something.
- Added a "Usergroup Change" punishment - allows you to change a users usergroup on warnings.
WARNING: THIS WILL NOT WORK WITH ULX DUE TO IT'S LACK OF CAMI COMPLIANCE.- This will only work on ULX with ULIb 2.80 installed. As of writing this, you'll need to manually download the latest version from their github as their workshop version hasn't updated.
- Added a option to enable a background blur on the UI. Image.
- Linked the knowledgebase guide for setting up a Discord Relay inside the config file, as I realised saying "follow the guide" is kinda vauge.
- A couple of other small bug fixes and code tweaks.
sv_punishments.lua has been changed. You will need to reconfigure it.
sv_discord.lua has been changed but none of the actual configuration variables have been changed, so you can still use the old ones.
Language files have changed. If you are using a custom one, ensure you update it.
- Added a console command for warning players and opening the UI: "yaws help". Works the same way as !warn.
- Added a message that gets sent to the user whenever a warning of theirs is removed.
- Added bLogs support.
- Changed the jail punishment to actually use minutes for ULX support. This time it's correct I promise.
- Fix a quick fuckery with net message debugs.
Language files have changed. If you are using a custom one, ensure you update it.
Configs remain untouched. You can reuse those.
- Added German Translation thanks to https://www.gmodstore.com/users/kehn
- Fix up some code for warning players.
- Fix a text error in punishments where jailing was said to be in seconds but is in minutes.
- Fix a issue with a misnamed hook for deducting warnings.
- Remove a couple useless debug print.
I'm aware theres still quite a few suggested features I still need to implement. I apologise for taking so long, school is hitting hard and I'm tryna take a break from doing massive amounts of Garry's Mod stuff at the moment.
Regular updates will return soon™.
- Fix for an error relating to admin notes.
- Fix for punshiments triggering at the wrong point counts.
- Added conversion of data support for AWarn 3. Use yaws_convert in the console to use it.
- Added a "Jail" punishment type. Suggested by
90texas - Added the ability for an admin with the "delete warning" permission to delete all a players warnings with a single click. Suggested by
©Supreme - Added a new hook to ensure full CAMI compliance.
- Added a Turkish translation, courtesy of Higamato.
- Re-added a commented out check to prevent players from warning themselves.
- Fix SAM admin mod support, moving it over to support their new API.
- Fix for admin notes displaying "NULL" instead of nothing when they haven't got any.
- Fix for another players points sometimes displaying as -0 instead of 0
- A few other minor bug fixes and changes.
The sh_punshiments.lua config file has been updated. You will have to re-configure it!
- Hotfix for some issues with translations.
- Added a setting for marking all a players points as inactive on punishment. Thanks to
©Supreme for suggesting this. - Fix a quick issue with Nutscript and chat boxes. Thanks to
Snoopi for making me test for this. - Fix a huge issue with point deductions where they were being dealt with in a really dumb way.
- Fix for a hook issue with loading languages.
- Couple of quick optimisations.
- Removed a useless function in cl_ui_colors.lua
Initial release.