AWarn3 - Warning System

(42)
(563)
You can always read the reviews or discuss this product
Media gallery
Warning Menu
Buy product
In short

AWarn3 is a complete server warning and punishment suite. Give and track warnings to your players as well as automatically dish out automated punishments to repeat offenders. All of this with a new slick modern User Interface! Don't settle for cheap knockoffs, get the original warning system today!

Check out the included collapsibles below for more details and information on AWarn3!

As always, if you have any questions or concerns, feel free to send me a PM or put in a ticket if you already own AWarn3

Methods

PLAYER:GetActiveWarnings()

  • This returns the total active warning count for the player.

Functions

AWarn:SetPlayerActiveWarnings( Player pl , Integer warnings, Boolean shouldWrite )

pl - Player - Player whose warnings you want to set

warnings - Integer - How many active warnings to set on the player.

shouldWrite - Boolean - Save this count to the database

Note: This function will not trigger punishments, only set the active warnings on a player. Mostly used internally.


AWarn:AddActiveWarning( String PlayerID, Integer numAdd )

PlayerID - Player - 64bit Steam ID of Player receiving the Active Warning.

numAdd - Integer - Number of active warnings to add.

Note: This function will trigger punishments after modifying the active warning count on a player. Use this if you want to add warnings and have it trigger a punishment.


AWarn:CreateWarningID( String PlayerID, String AdminID, String WarningReason )

PlayerID - String - 64bit Steam ID of Player receiving the warning

AdminID - String - 64bit Steam ID of Admin doing the warning. nil for CONSOLE

WarningReason - Boolean - Reason for the warning. Can be nil



Hooks

AWarnPlayerWarned( Player targetply, String adminid, String warningreason ) -- CALLED SERVERSIDE

targetply - Player entity that was warned.

adminid - SteamID64 of the admin who did the warning.

warningreason - The reason provided for the warning.

AWarnPlayerIDWarned( String targetid, String adminid, String warningreason ) --CALLED SERVERSIDE

targetid - SteamID64 of the player that was warned.

adminid - SteamID64 of the admin who did the warning.

warningreason - The reason provided for the warning.

AWarnPunishment( Player pl, String pType ) --CALLED SERVERSIDE

pl - Player Entity of the player that was warned.

pType - Punishment Type that was given to the player.

-- kick, ban, group, command

MYSQL INSTALLATION INSTRUCTIONS


1. In your database, create a new database for AWarn3. You can call it whatever you like, but remember that AWarn3 IS NOT COMPATIBLE with AWarn2, so use a new database if updating.

2. Make sure you have an SQL user that has read and write access to that database.

3. Go into awarn3/lua/includes/awarn3_sql.lua and edit the connection info at the top.

4. In game, you can open the AWarn3 menu and configure your server's name (for multiple servers).


Please Note: This is as much support for MySQL as I will give (outside of genuine bugs). I provide support for MYSQL as a convenience, but it is up to you to know how to set up your MySQL server and gmod plugin.

Installation is super simple!

  1. unpack and move the awarn3 folder into your addons folder. (same as any addon)
  2. There is a workshop addon included for the graphics/icons and clients should automatically download it. If you want to manually add it to your server's pack, here is the workshop link for the content: https://steamcommunity.com/sharedfiles/filedetails/?id=1853618226


Enabling the Discord Logging:

  1. Open lua/includes/awarn3_discordlogging.lua
  2. Enable the setting to turn it on at the top.
  3. Enter your Discord WebHook address in the appropriate field.
  4. (optional) Upload the included discordrelay.php to your webserver and point to it in the configuration file. You can use mine if you want.


Upgrading from AWarn2:

  1. If you are NOT using MySQL, you can use the included migration tool to migrate your AWarn2 data.
  2. From inside your game (need to be a superadmin) run the command:
  3. awarn3_import
  4. This will prompt you to import your AWarn2 data and tell you how to proceed.
  5. Only run the import ONCE or you may have duplicate data.

I offer support TWO different ways


  1. You can open a support ticket here through gmodstore.
  2. You can get support through my discord.

If you choose to use discord, please do not DM me, just post in the #awarn3-support channel. Also, be prepared to provide your gmodstore profile so I can verify ownership before I provide support.

The following languages are available as part of the download:

English: Provided by Myself

Norwegian: Christoffer

German: Provided by Funny_TV

French: Provided by Jack O Neill

Russian: Provided by ZeK

Turkish: Provided by Mew

Thai: Provided by Kaname

Latin-Spanish: Provided by Tekiad

Polish: Provided by Kyo

Chinese: Provided by https://www.gmodstore.com/users/76561198101134284

Portugues: Provided by METZY · gmodstore

Brazilian Portuguese: Provided by Razor · gmodstore



If you wish to provide a translation for a language I do not already have, please send me a message!

Here is the English translation file that can be used for making translations for other languages: https://pastebin.com/huMv2TSr

Product reviews

4.96 average based on 42 reviews

Buy product

Version 2.2 Released

by Mr. P

All new major features have been implemented!

Read more
Mr.President's Team
4 products - 1 members
Looking for reliable and easy-to-use game server hosting with free Anycast and DDoS protection? Get 30% off your first payment at Physgun with the coupon code gmodstore at checkout.
Product details
Views:
74.6K
Purchases:
3,517
Added:
Updated:
Price:
$6.99
Languages:
Portuguese, Russian, English, Norwegian, Thai, German, Polish, Turkish, French, Chinese, Spanish
Requirements
None specified
Actions
Report
Search products...