Ressources AWarn3 - Warning System

ElyesBendero

Nouveau membre
Membre
20 Août 2021
13
1
1
Pseudo RP
Elyes
LINK


Link Addon Leak : https://mega.nz/file/m2hyhRhA#EGTzbSNstnkFsUI9ZDf3tMAjHKlS5Wt-eVHuL4nY9MQ

Link Official : https://www.gmodstore.com/market/view/6582

Description
AWarn3 is a complete server warning and punishment suite. AWarn3 allows for you and your admins to give and track warnings to your players as well as automatically dish out punishments to repeat offenders. All of this with a new slick modern User Interface!

Features

Administrators can warn players and track warnings of players who are on the server.
Administrators can search offline players and view their warnings.
Players are notified when they are warned and can view their own warnings.
Administrators are notified when a player with a warning history connects to the server.
Warnings are saved to SQLite database (built into garrysmod) but there is support for MYSQL through MySQLOO for those who wish to use that!
AWarn3 can be configured to automatically kick or ban players who have reached a certain number of warnings. All of these punishments are fully configurable through the in-game UI.
Players or Groups can be immune to being warned through the use of the 'awarn_immune' permission.
Active warnings (the warnings used to determine punishments) can be configured to decay over time. This gives players a chance to be rewarded for their good behavior.
Stand-Alone, but there is built in support for the following admin mods: ULX, ServerGuard, xAdmin, and SAM.
Certain aspects are exposed through hooks for developer implementations.
Language support is built in. Clients can choose their own language from installed languages for the Menu text.
Discord logging supported! AWarn3 can print to a discord channel through webhooks when players are warned/kicked/banned through AWarn3.


Console Commands

awarn warn <player name/SteamID> <reason> - Warns a player with given reason.

awarn removewarn <playername/SteamID> - Removes a single active warning from a player.

awarn deletewarnings <player name/SteamID> - Deletes all warnings from a player.

awarn menu - Opens the AWarn3 Menu.


Chat Commands

!warn - Opens the AWarn3 Menu

!warn <player/steamid> <reason> - Warns a player with given reason.

The chat command can be configured in the in-game configuration menu.


Admin Mod / Permissions

Included support for the following admin mods:
ULX
sAdmin
xAdmin and xAdmin 2
ServerGuard
SAM
CAMI (Support for any admin mod that has CAMI permission integrations) - Support may be limited by the admin mod's implementation of CAMI.


The following permissions should be used with your respective admin mods:
awarn_view - Ability to view other players' warnings
awarn_warn - Ability to warn other players
awarn_remove - Ability to remove active warnings from players.
awarn_delete - Ability to delete single warnings and all warnings from players.
awarn_options - Ability to edit server options.
awarn_immune - Immune from being warned by anyone!


Factory Resetting Your Data

If you want to reset all of your server data and remove all warnings for everyone, you can just do the following from the server console:

awarn resettodefault

You have to run the above command from the server console (if you are a listen server host, it will work too) to prevent this from being accidentally used or abused.

After running it, restart your server and all data will be reset.

Note: This feature was added to version 1.1. Anyone on an older version will have to update to 1.1 or later first before using this command.


Why is this a new addon and not just an update to AWarn2?

It's a total rewrite. Completely new code. It's a new addon, not just an update to AWarn2.
Just like with other softwares, when new major versions come out, often times there is a fee to purchase it. AWarn3 is only $6 ($5 for AWarn2) so it made sense to just make it a separate addon.
The way data is stored meant that data is not compatible between AWarn2 and AWarn3, so if you use AWarn3, you have to start 'fresh'. This is the MAIN reason I choose not to make this just an update to AWarn2. I wanted people to have a choice.
Finally, people might just not like AWarn3 and want to stick with AWarn2. I didn't want to have to manage 2 versions of the same addon.


Upgrading from AWarn2

AWarn3 had a major overhaul to the way data is stored as well as what data is stored and how. That being said, AWarn3 is NOT directly backwards compatible with AWarn2. You will need to completely uninstall AWarn2 before installing AWarn3. If you are running the stock SQLite version (not using MySQL) you can use the included importer to import AWarn2 warnings into AWarn3. Some things like admin names won't import because that is something I track differently and is not possible to import from AWarn2.

To import AWarn2 Data (New feature as of version 1.2):

Run the command awarn3_import as a superadmin from in your game.
 

Pièces jointes

  • awarn3(2)(1).zip
    72.3 KB · Affichages: 55
  • J'aime
Réactions: 15ms

Seefox

Membre actif
Membre
11 Août 2017
13
1
41
lua/autorun/server/npc_help.lua qui exécute materials/npc/help.vtf --> backdoor kvac