- Removed a debug message
- Increased the point cooldown bit count to 64 to allow for larger values.
- Increased the resolution of the circle on switches. The back ones will still look "low-poly" however this is a limitation of the built-in rounded box function in Garry's Mod I'm using.
- Fixed SquishLogs support always trying to run
- Fixed ULX punishment being wrong
- Fixed a typo in the permission check for the new join message
This update has translation changes. Translations may be temporarily unavailable until they are updated.
If you want to help out and contribute a translation, check out the translations github.
- Added SquishLogs support.
- Added an option to send a message to all admins when a player with admin notes joins.
- Fixed breaking player name searching in the chat last update.
- Fixed an issue where point warnings wouldn't send if join messages weren't enabled.
- Fixed an issue where you couldn't change the admin notes of someone registered only on another Server ID.
- Hotfix for my dyslexic ass mispelling superadmin inside a CAMI call. Thanks
Razor for finding this.
(reupload this time with the correct zip file)
This update has translation changes. Translations may be temporarily unavailable until they are updated.
If you want to help out and contribute a translation, check out the translations github.
- Added some options for right clicking on player cards.
- Added protection for if the language manifest json is invalid.
- Added the ability to use SteamID's in player targeting.
- Added the ability to remove all points at once on point deduction.
- Fixed SteamID searching with offline players being borked.
- Fixed some utter shite padding on warning cards.
- Fixed a wrong check causing the discord method config check to constantly fail to validate.
- Fixed a bit of poor grammar in the config check messages.
- Changed the log type for punishments failing to run from error to warn.
- Removed an unessasary check in the open command.
- Removed an unnessasary database hit with point deduction.
Webhook relay changes:
- Updated htaccess to only allow access to webhook.php
- Updated to EasyDiscordWebhook v2
- Fixed issue where trying to load a language not in the translation manifest would shit the bed. Now it'll just reset you to English.
This should fix the errors people not using English were getting with 2.2.0's release.
This update has translation changes. Translations may be temporarily unavailable until they are updated.
If you want to help out and contribute a translation, check out the translations github.
- Changed all punishments to be object based. The primary advantage with this is that addons can now natively support "punishment" types without any additional work from the user. Knowledgebase guides for how to implement and translate them using the new format are out.
- Made the permissions system fully CAMI compliant. CAMI is shipped, privilages are registered and will give access if either YAWS OR a CAMI addon is marking that usergroup as allowed.
- YAWS's Logic for this goes as following: If anything is giving the player permission to perform an action; it'll go through. This is being included here as CAMI doesn't allow admins mods to keep each other inthe loop on what permissions people have, they're all different. So, if someone is able to perform an action that they shouldn't be able to, that's why.
- Did a rework on how commands work, so that they are consistent and are much better including a couple new additions.
- Added functionality to factory reset the addon. Use yaws_factoryreset in the server console to do this.
- Changed YAWS.ManualConfig.DisableConversionScripts to default to true.
- Added further config checks so the entirety of YAWS's file configs are checked for wrong or invalid values. These checks can be supressed in sh_config.lua
- Added a gag punishment.
- Made it so pressing enter inside the player search bar will run the search.
- You can now use the player search box to search via usergroup.
- Gave all frames shadows
- Modified some modals to make them look better
- Tweaked the color of the navbar color a tiny little hinty
- Increased the width of the scroll bar so it's easier to grab and use with an actual mouse.
- Made the scroll bar inside player notes consistent with the rest of the UI.
- Re-sorted the presets page alphabetically, with a new way to fix the old bug that made me remove it
- Removed YAWS.UI.EaseOutCubic in turn for the built in math.ease.OutCubic
- Used pCall inside the Database checks so users get alerted if it failed.
- Fixed a bug with the players tab where an empty player would appear while searching for offline players.
- Fixed a bug where console warns wouldn't trigger punishments.
- Fixed a bug where some shadowed elements wouldn't remove their shadows on deletion.
- Some other minor UI fixes
- Fixed a layout issue with the players panel when it was the first one to be loaded
- Fixed the API docs so that they appear properly on mobile. They also now have the latest documentation.
- Bug fix for options being disabled not appearing as so in the settings UI.
- Hotfix for an issue relating to queued messages not being formatted properly.
The sh_punishments.lua config file has been updated. You will have to re-configure it!
The sv_config.lua config file has been updated. You will have to re-configure it!
The Discord Webhook has been updated. Ensure you update it!
If you use the relay hosted for you by me, please update as soon as possible to prevent your webhook breaking!
- Improved the performance of the conversion scripts, conversions that took 120s before now can take less than a few seconds. This is a huge change for servers swapping over.
- SQLite users: An example with 20k rows, before: https://upload.livaco.dev/u/QsCi0yETSU.png After: https://upload.livaco.dev/u/MdL3KfcAuR.png
- MySQL users: An example with 20k rows, before: https://upload.livaco.dev/u/A7R2OJyu1k.png After: https://upload.livaco.dev/u/lUYqiMLGry.png
- While this seems more like a downgrade, one interesting thing is the before hadn't fully inserted all the rows. It seems MySQLoo had sent all the rows to be inserted, but the database hadn't inserted them yet. After about ~5 minutes it was still inserting so the after picture is still very much superior as that was done inserting within that 5 seconds lmao
- Added new developer functions:
- YAWS.API.WarnPlayer allowing 3rd party addons to warn players.
- YAWS.API.IsPlayerImmune to allow you to check if a player should be immune from warning.
- Improved the Players panel by making it an card based display, making it consistent with the rest of the UI. https://upload.livaco.dev/u/rJbnQZow8A.jpg
- Reset any unused vars to nil after use, e.g timing variables for measuring times to do tasks, etc. A small but good thing to do.
- Added a scroll bar to the admin notes text entry, it's not consistent with the rest of them but It's better than having none until I find a way to make it consistent.
- Gave the server console the ability to search for warnings as well as warn players themselves.
- Gave the database checks the same treatment as the conversion scripts with optimisations. Not really necessary, but still nice to be there.
- Moved all the chat/console command logic to be handled by a singular function for consistency.
- Optimised offline player searching a bit
- Added a small safety check for spaces + char counts inside your table prefix/server id.
- Whenever swapping translations, credits for the translator will appear in the console. https://upload.livaco.dev/u/Gb9Az1ElL4.png
- Adjusted dark mode colors to make the UI pop a little more.
- Made it so if the server id in a warning can't find it's name, it simply displays the ID instead of "nil".
- Made the translation system able to select the latest version if the current version of YAWS is not found within the manifest, to save me from having to update it every single update. https://upload.livaco.dev/u/oh27XVseqF.png
- Jazzed up the config file comments.
- Fixed switches only moving into their correct places once they're seen on the panel. The values are now set on PerformLayout.
- Fixed a bug with chat warning, specifically the targeting code using "iope" instead of ipairs. Yep.
- Fixed a default punishment type that wouldn't return true once done.
- Fixed a few old YAWS.Core.Print calls that would break once called.
- Fixed a tiny bug with the report command running an incorrect check.
- Fixed failed SQLite queries not giving error messages.
- Fixed a small visual issue where it was possible to be on page 1/0
- A few small fixes to immunity checks
- Removed the net message cooldown exception from context menu net messages, as the net message system change removes the need for it.
Webhook Changes:
- Change .htacess to not allow directory indexing, something I completely forgot about when making it.
- Rewrote README.txt to be a bit better.
- Added a way for translators to edit their JSON files faster inside YAWS. For more info, check the knowledgebase topic.
- Did a big o'l overhaul of the console logging, so it looks a butt ton nicer now
- Added some changes to the logic of the conversion scripts.
- Went through and did some general cleanup of some of my spaget code
- Fix a small issue where queries weren't trimmed and spacing from my indentation was leaking in. Didn't actually cause any issues, but isn't meant to be there anyways.
- Fix a bug with player searching.
- Fix a bug where the loading screen transition back would fail on the first attempt, but succeed everytime else.
- Fixed warning searching not being fully implemented for the chat command, but was fully done in the console. This also patches an exploit with the old code in it's place.
Over the next few weeks I'll be working on a more performance-based update. I've not stacked them as this one fixes a few core bugs.
If you wanna suggest anything, now's the time. As usual, if you have any issues with this update lemme know. Cheers.
- Added a in-built way to upload debug reports to me without needing to collect all the information yourself. Run yaws_report to send a report including numerous details, to make my life easier. This will be requested in all support tickets from now on. If your after an example, https://api.livaco.dev/yaws_reports/v/f7348745ddf549e6d6345b474f5018ab
- Added the confirmation of conversion to forced warning mod selection too, after I accidently wiped my test server's YAWS data using it. Whoops.
- Added a config value in sv_config that allows you to disable the conversion scripts, for in the case your servers RCON is compromised and someone tries to use it.
- Remove a couple old debug commands.
- Fix an error when displaying the outdated version warning in the YAWS tab.
- Fix an error with viewing warnings without permission to delete them.
The sv_config.lua config file has been updated. You will have to re-configure it!
- 1
- Next ›