⚠️ Yet Another Warning System [YAWS] (User Warning and Punishment System)

(7)
(82)
You can always read the reviews or discuss this product
Stable
2.0.2
  • Hotfix for an error that would occour when using a preset name thats just a number, alongside preset names that were normal strings.
  • This comes with the unfortunate side effect of not having your presets in the UI sorted alphabetically anymore. I tried to work around this, but it seems the code behind SortedPairs is really weird and to be quite frank I'm not sure of a way to not do it like how I have here. Sorry.
Stable
2.0.1
  • Fix a small issue with messages and lua refreshing.
  • Add a check to ensure a reason/points value is there before being able to submit a warning - not an actual serious issue if your worried about this, it just caused a client error nothing else.
Stable
2.0.0

It is EXTREMELY recommended to reinstall the entire addon from scratch - Your in-game settings will still work but all file based setting files have been changed or modified. Same goes for all core files you might've modified.


Sorry for this update taking so long to finish for so little shit lol

  • Completely revamped translation system. Translations are no longer found in the files (except English) and are now found in https://github.com/LivacoNew/Addon-Translations/tree/master/YAWS - This means translations can be made/updated without an addon updating, meaning less hassle for your devs :) This also means anyone can contribute a translation for YAWS without too much hassle.
  • Change the net message rate limit model. Instead of one request then a 0.25 second cooldown, it's now if they make 5 requests in a single second, they get a 3 second cooldown. If you wish to edit these values to make it more strict or lenient, you can do so in the sv_config.lua file, same one that the Database settings is in.
  • Added a "API" for developers to hook into. See https://yaws.livaco.dev/ for docs.
  • Added an Admin Setting to send a chat message to any admin with the "View Others Warnings" permission when a player with any active points join.
  • Added better error messages for async function calls.
  • Added the ability to edit punishments and presets.
  • Added a version check on startup to check if YAWS is outdated. If it is, it will display a warning in the console.
  • Added a setting that allows you to change the full message color, for if your running a white chatbox and need dark text.
  • Added a small warning to people converting from SlownLS's warning system about missing player data.
  • Made backup drop files lowercase, and moved them into data/yaws_backups for people who don't like clutter.
  • Fixed some weird things happening with some user settings. Would love to expand on this but I wrote this change a month ago and now have zero clue what that said weird behaviour was.
  • Fixed a DarkRP bug where players with nicknames weren't being updated properly
  • Fixed an error with warning a player through chat/console commands
  • Fixed a query missing a string escape.
  • Fixed an edge case of the context menu causing errors with disconnecting players.
  • Fixed the timestamp on copying warning logs being wrong.
  • Fixed the on join message being fired before the client had the server's settings, causing the prefix to be wrong.
  • Fixed an issue where lua refreshing would cause gamemode specific punishments to break.
  • Fonts now update on screen resoluton size changes. Thanks OnScreenSizeChanged!
  • Removed all unnessasary surface.GetTextSize calls when there was a draw.SimpleText call right fucking above it.
  • Fixed the YAWS.UI.CutoffText lag with some good o'l temparary caching. How can such a small function can cause fps to drop by 10; I have absolutely zero idea, but no one complained about it until I noticed it myself and now it's fixed so whatever.
  • Changed the default password for the discord webhook as a better example of the security you should have on it.
  • Shit ton more optimisations and fixes I've forgotten about.
  • A whole butt ton of UI changes:
  • Fixed massive amounst of scaling issues with the UI on non 1920x1080 resolutions, particularly going up. Sorry to everyone that put up with that tiny mess, it's for the most part fixed now hopefully.
  • Add icons throughout the UI to improve accessability and visuals. Some of these can be toggled on/off in the user settings.
  • Added a option to enable colorblind text guides for improved accessability.
  • Added placeholder displays to any listing panels that don't have results. Here's an example: https://upload.livaco.dev/u/gLkXBFjAuf.jpg versus when nothing is found: https://upload.livaco.dev/u/9mqcBMQ6rU.jpg
  • Changed the warning viewing to an expandable card based display. You can however swap back to the old table view in the user settings. These cards have more information, and actually display the fucking time!
  • The warning page is now pagnated. Before, it would send the past 30 (i think) warnings. Now, you can view all a player's warnings, and just scroll through pages of them instead. This also comes with the benefit of better network performance.
  • Added scrolley capabilities to the side tab panels for better expandability.
  • Added a YAWS info page to help people get support and find out what version of the addon they're using more easily (This will also warn you if your version is outdated). This tab is only visible to the owner of the addon and no one else, so don't worry that your precious personalisation for your server is lost, people will still think the warning system is just for your server and that your a awesome server owner!! :)
  • Categorised the settings in both the Admin Settings and User Settings. They are now part of accordians, with very fancy chevrons that im super fucking proud of ngl :)
  • Make a new color picker thats more "sleek" of a layout.
  • Permissions tab look a tad better now.
  • Added flags to the language selector.
  • Finally sorted the punishments tab by points.
  • Made it so the presets combo box is disabled when warning a player without presets on a server.
  • Made the top of the Players tab a actual panel.
  • Punishments list now looks better. More information and stuff.
  • Gave presets the same treatment as punishments.
  • Made combo boxes look a little nicer.
  • Modified some of the icons to be a bit more "uniform" stroke size.
  • The warning player popup is now a proper "modal".
  • Viewing a warning from a table/id search is also now a modal.
  • Put a shadow above the close button which i've been told looks good.

Features that were planned but abandoned, included here for transparency.

  • Editing Warnings: Technical reasons, too many things that would need to be fucked with.
  • DarkRP Demote Punishments: Couldn't find a function to do this - if there is one lemme know.
  • Factory Resetting: Waste of time, just wipe your db lmao.
  • Colorblind color palettes: Couldn't find anything on how to do this properly - if you know any proper resources for this lemme know.


Thanks for waiting for this update patiently. :)

Stable
1.3.6
  • Allows for warning for zero points, for those that want to give a "verbal" warning without actually punishing the player. Thanks to ANOMALY for the suggestion.
Stable
1.3.5
  • Fix for the grid element to prevent this from happening
Stable
1.3.4.1

Would help if I didn't forget about German

Sorry Germans :(

Stable
1.3.4

No, this isn't the 2.0.0 update

Merely some fixes with some missing translations in some languages. Sorry.

Stable
1.3.3
  • Fix with punishment stacking stuff.

Sorry for the really barebones fix updates. Turns out I'm a fucking spazzy retard that can't write code that works for shit that just needs to leave this website

Stable
1.3.2
  • Couple o small bug and error fixes.
Stable
1.3.1
  • Added seconds to any date formats used in the conversion backup script to help prevent collusions.
  • Add a safety check into the points system. No clue if this actually does anything as when I replied to the support ticket with the patch for them to test I never got a fucking reply, but imma assume it did.


This will be the last update for quite a while. While I will be actively working on another new update, it's going to be quite big and take a lot of work. Expect it soon, and if you want updates join my Discord Server!

Stable
1.3.0
  • Added a automated backup tool for people converting over their installs from other addons that don't know how to backup a database. Run "yaws_convert backup" to run it. This tool also auto-generates the DROP statements and dumps them into a txt file stored in garrysmod/data for you so you don't have to drop them manually. Image 1. Image 2.
  • Added conversion support for SlownLS's Warning System.
  • Added conversion support for BobsAdminToolKit
  • Added a "DarkRP Money" punishment that subtracts a players money when punished.
  • Added messages to all the punishments. Currently these will require manually changing the messages in the sv_punishments config file, however in the next update I will make it so you can change these in the punishments menu as a parameter.
  • Added a check for compatible admin systems on startup.
  • Fixed the conversion tool so that it also wipes the player information on beginning of conversion. This wasn't there before and was causing unique constraint failures on converting.
  • Fix some fucky behaviour for point recalculations when a warning is deleted.
  • Fix a couple of typos.
  • Replaced RealTime() to os.time() in the conversion tool timer to get a more accurate time of how long it takes to convert over.
  • Replace the warnings of ULX not supporting the usergroup punishment with instead a warning of an outdated ULIb not allowing it.
  • Updated the Turkish translation.


The sh_punshiments.lua config file has been updated. You will have to re-configure it!

Stable
1.2.1
  • Same as the last update but I actually bothered to update the rest of the langauges lol
Showing 12 of 35 total results
Search products...