PDA

View Full Version : Custom warnings system



dk_grimer
15-04-13, 09:50 AM
Trinity Warning "System" by commands
This is a C++ script


Hello guys, with this "system" you can warn players, watch warnings, remove warnings, I hope in a way it has a point.
So if that gm can't kick, mute or ban a player. Can use this stuff to warn the player, so higher GMs can deal with it


Some information
The system checks if the gm is not reporting the same player from the same account or character.


Included commands


pwarn


Included sub-commands


pwarn player
pwarn list
pwarn listbyname
pwarn removebyid
pwarn removebyname




Commands usage and description


pwarn player


Description: Add warn to a player by name, priority must concern 1,2,3 (low, medium, high), if priority field is not filled then it will be a low priority.
Usage: .pwarn player <name> <reason> <priority[optional]>




pwarn list


Description: Shows a list all warnings made
Usage: .pwarn list




pwarn listbyname


Description: Shows all warnings made for player X
Usage: .pwarn listbyname <name>




pwarn removebyid


Description: Remove a warning based on ID
Usage: .pwarn removebyid <id>




pwarn removebyname


Description: Remove all warnings made for player X
Usage: .pwarn removebyname <name>


How to install a custom script?


How-to_CustomScript - TrinityCore - KPsN Collaboration Platform (http://collab.kpsn.org/display/tc/How-to_CustomScript)


How to install this?


Run this SQL into characters database
SQL Link here http://pastebin.com/KELy6HJZ (http://adf.ly/MwYef)
Install the script from here http://pastebin.com/SdyyQmiF (http://adf.ly/MwYa7)





This script was completely made by me AlexeWarr(ak47sigh)
I have spent few good hours for this


8620 8619

morphau45
02-01-16, 08:32 AM
Hi, thanks for this idea but links or down :(
It's an older thread but please someone have the 2 files please ?