Awarn2 - Warning Module

(89)
(230)
You can always read the reviews or discuss this product
Stable
4.7.2

+ Merged 4.7 into Stable. This includes the fix for large servers and the offline player tracking.

+ Removed some old code for modules that was causing some issues with other addons that also implemented modules poorly. (ie. ServerGuard)

Stable
4.6

THIS IS A MAJOR UPDATE PLEASE READ!!!!

  • ALL configuration can be done through the in-game options menu now. Please do NOT edit any lua files. Because of this change, when updating to this version, you will need to make any custom changes you had made to punishments or blacklists in the menu when you run awarn2 on this version.
  • The good part about this is that future updates will not require you to backup SQL and customizations like before.
  • If you are using MySQL, follow the directions as before except note that the connection settings are stored in a generated data file rather than the lua file.
  • Localization (Changing the language) will still require you to set that at the top of the LUA file as before. (For now)


Additions:

  • Moved configurations for custom punishment types to an in-game menu rather than requiring you to edit the lua files.
  • Moved configurations for group and user blacklists to an in-game menu rather than requiring you to edit the lua files.
  • MySQL connection settings are stored in data rather than in the lua file, so updating won't require you to redo the settings every time. (you will need to do it this one last time for this new update)


Fixes:

  • Turns out one of the console commands I had advertised as being available, wasn't. awarn_removewarn. I re-added that. Not sure why/how it got removed in a previous update. Whoops! :)




AGAIN.... If you are updating from 4.5.x or earlier.. you WILL need to configure your customization one last time when running your server through the in-game menus, but updates from 4.6 onward you will no longer need to.

Stable
4.5.2

+ Fixed an issue with running awarn_deletewarnings and awarn_deletewarningsid from a dedicated console would throw errors.


The only file updated in this release is awarn_sql.lua, so feel free to only overwrite that file if you want to preserve your configurations/changes.


As always, please make backups of your settings/configuration files.

Stable
4.5.2

+ Fixed an issue with running awarn_deletewarnings and awarn_deletewarningsid from a dedicated console would throw errors.


The only file updated in this release is awarn_sql.lua, so feel free to only overwrite that file if you want to preserve your configurations/changes.


As always, please make backups of your settings/configuration files.

Stable
4.5.1

+ Some fixes for an arithmetic bug caused by a null pointer.

+ Added Polish translation provided by Kancer (https://steamcommunity.com/id/stalkershepard/)


Files Modified in this release: awarn_sql.lua and sh_localization.lua


Please make sure you follow the proper upgrade procedures.

Backup your current installation. Delete and reinstall the addon. Please DO NOT OVERWRITE THE FILES.

If a file you modified was not updated in this release, feel free to copy it back to the new folder, otherwise you will need to re-modify the file to avoid overwriting any changed/fixed code.

Stable
4.5

+ Added 2 new player method calls.

Player:GetTotalWarnings() - returns an integer - this will return the total warnings of the player you run it on.

Player:GetActiveWarnings() - returns an integer - this will return the total active warnings on the player you run it on.


+ Player list in the warnings menu is now sorted alphabetically. Sorry this took so long to implement! <3


AS ALWAYS........ MAKE ANY BACKUPS OF SETTINGS BEFORE YOU UPDATE. NO MODIFICATIONS WERE MADE TO THE LOCALIZATION OR THE SETTINGS FILE SO YOU CAN REPLACE THOSE WITH YOUR MODIFIED COPIES AFTER UPDATING. THE AWARN_SQL FILE WAS UPDATED SO YOU WILL NEED TO REDO YOUR SQL CONFIGURATION AT THE TOP BY HAND IF YOU USE MYSQL.

Questions/Comments? Let me know!

Stable
4.4.4

+ Another fix for the new date/time stamp interpretation. Some entries in the SQLite database were still showing incorrectly. You can definitely fucking blame GMod for how it stores dates in the SQLite tables. it was placing two spaces between some things instead of a single space, but only sometimes. This is now fixed.

If you don't care about some of your dates showing incorrectly when viewing warnings, you can skip this update.

AS ALWAYS, MAKE SURE YOU BACKUP YOUR SETTINGS FILE AND MYSQL CONNECTION DATA IF YOU USE MYSQL. Copy that configuration over to the new files once you update. Please do not copy old files over new files, copy the data inside the files to avoid conflicts.

Stable
4.4.1
  • Added localization for Dutch (Thanks Nioxed)
  • Added localization for Spanish. (Thanks Preston Vasquez)

This was the only change in this version. if you don't need or want this, don't bother updating.

Stable
4.4
  • The offline player list now only shows you players with warnings by default (to cut back on performance hits for servers with lots of players in the list). If you want to see ALL offline players, even those with 0 warnings, there is a checkbox you can tick and it will reload the list. NOTICE: This table of users stores the warning count separately from the main table of users and warnings, so until a player joins and leaves your server, the system will count them as having 0 warnings in the offline list.
  • Fixed a small bug where closing the offline player list before it was done sending player data caused some minor lua errors to show.
  • change how the CVars are created.. apparently gmod changed this a while back and I never caught it. The options menu SHOULD work better for players who want to change the settings through the menu and not through running the cvars directly on the server console.
Stable
4.3

Fixed an issue where if a server had too many players in their offline player view, it wouldn't receive all of them from the server and would throw an error. This was caused by reaching the limit of how large a net message could be. To fix it, I now stream the list to the requesting admin in chunks of 100 players at a time.

Update isn't critical unless you are getting this error when opening your Offline players menu or if you just want to update to future-proof your server from this error.

Stable
4.2

Minor bug fixes Added more compatibility with bad RP gamemodes that modify Nick() and Name() functions............. Fixed a potential exploit.

DUE TO THE EXPLOIT FIX IT IS IMPORTANT THAT YOU UPDATE YOUR AWARN2 ESPECIALLY IF YOU WERE RUNNING VERSION 4.0 or 4.1.

Stable
4.1
  • Fixed an issue where players leaving the server while in the warning menu would throw errors.
  • Players who leave the server are now removed from the online player list in real time in the menu.
  • Players who join the server are now added to the list if you have the menu open (you used to have to reopen the menu).
  • Fixed a possible issue that caused errors when a player left the server. Received a stack trace on this, but was unable to reproduce it myself.
  • More code optimizations.
Showing 12 of 40 total results
Search products...