Raised This Month: $51 Target: $400
 12% 

[ANY] SM Warn System 1.1.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ecca
Sexy Santa
Join Date: Jan 2011
Plugin ID:
3280
Plugin Version:
1.1.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    25 
    Plugin Description:
    Allows admins to warn a player when they are breaking rules instead of kick / ban them.
    Old 10-08-2012 , 10:51   [ANY] SM Warn System 1.1.0
    Reply With Quote #1

    [ANY] SM warn

    v1.1.0

    Description:
    Basically it allows server administrators to warn a player when they are breaking rules or just behaving bad. This plugin is useful because you won't lose your players as you do with kick / ban command. The plugin comes with fully customizable cVars and Sourcebans support for those who want it. The plugin also come with built in admin menu support and also cvars for punishments when they get warned.

    Commands:
    sm_warn <#userid|nick> "reason" - Warn a player.

    sm_unwarn <#userid|nick> "reason" - Deletes the newest warning on the player

    sm_checkwarn <#userid|nick> - Check a players previous warnings.

    sm_resetwarn <#userid|nick> "reason" - Erase the players warning history

    Natives:
    Spoiler



    Cvars:
    Spoiler


    Installation:

    Drag and drop the precompiled smx into (addons/sourcemod/plugins/)
    Drag and drop the translations into (addons/sourcemod/translations/)
    Drag and drop the following files into (addons/sourcemod/configs/)
    - sm_warn_reasons.cfg
    - sm_unwarn_reasons.cfg
    - sm_resetwarn_reasons.cfg
    - sm_warn_agreement.cfg

    Drag and drop SM_warn.cfg into (cfg/sourcemod/)

    Edit your databases.cfg (addons/sourcemod/configs/) and add following lines
    Spoiler


    Requirements:
    Sourcemod
    Sdktools
    Adminmenu
    Sourcebans (OPTIONAL)

    Information:
    If the cvar for logging is enabled, the plugin will create a log in addons/sourcemod/logs/SM_warn.log.

    Example log entry.

    PHP Code:
    // When an administrator warns a player
    L 10/08/2012 16:27:31ADMIN (NICKecca IDSTEAM_0:0:xxxxxx IP10.0.0.4issued a warning on PLAYER (NICKecca IDSTEAM_xxxxxx  IP10.0.0.4with reasonAbusive

    // When an administrator resets a players warnings
    L 10/08/2012 16:27:31ADMIN (NICKecca IDSTEAM_0:0:xxxxxx IP:  10.0.0.4reseted warnings on PLAYER (NICKecca IDSTEAM_xxxxxx  |  IP10.0.0.4with reasonAbusive 


    Features:
    • Warn players with reason
    • Unwarn players (will delete their history)
    • Show number of warnings for admins on connect
    • Supports logging
    • Both sqlite and MySQL support
    • Fully customizable cVars for every handle
    • Supports both sourcebans and local bans
    • Admin menu interface with reasons
    • Uses showactivity to show the warn / unwarn handles
    • Support phrases
    • Can play sounds
    • Can show motd panel
    • Can lookup players old history
    • Checking for updates automatically
    • Natives provided
    Todo:
    Translations:
    Changelog:
    Plugin:
    Quote:
    v.1.1.0 (3/02/13)
    - [Added] Natives are now provided in a small area.
    - [Added] Updater is now capable to show if the update is: recommended or critical
    - [Changed] Timer has been changed to check every third hour instead.

    v1.0.7 (19/01/13)
    - [Added] Plugin can now notify when a new version is out. Requires socket extension
    - [Fixed] Warn reason not displayed on kick
    - [Fixed] Hostname should not cause problems anymore. Please do not use unicode characters in the hostname!

    v1.0.6 Patch (24/10/12)
    - [Fixed] MySQL query problem caused by server hostname

    v1.0.6 (22/10/12)
    - [Removed] Warningscount variable not in use
    - [Removed] Warnigns bool not in use
    - [Added] Last warning reason when ban for max warnings
    - [Added] Hostname when user is warned
    - [Fixed] Warn through admin menu should work smooth again (thanks drunkenbombers)
    - [WARNING] Drop your old database!

    v1.0.5 (12/10/12)
    - [Added] The admins name & steamid are now saved to database
    - [Added] Agreement menu as punishment
    - [Added] Cute color on [SM warn] tag.
    - [Fixed] Plugin version should be correct now.
    - [Fixed] sm_checkwarn should now look a bit nice'r
    - [Fixed] sm_checkwarn date output was wrong
    - [Added] Plugin should try to reconnect to database if it loses it's connection
    - [Edited] cVar sm_warn_punishment , check the config file!+
    - [Notice] You can't use motd and warn menu option 4 togheter
    - [WARNING] Drop your old database!

    v1.0.4 (10/10/12)
    - [Added] sm_checkwarn to the admin menu
    - [Added] sm_resetwarn to the admin menu
    - [Fixed] erorr caused by the datapacket
    - [Changed] sm_unwarn, command now only resets one of the players warnings.
    - [Added] sm_resetwarn, command will erase the players warnings history completely.
    - [Added] Reason support for the new command "sm_resetwarn"
    - [Added] commands can now be found under menu category "Warnings commands"
    - [Fixed] cVars is a bit more sorted now (sorry for that)
    - [Fixed] Increased max warnings to 10
    - [Added] cVar "sm_warn_reset_warnings": Reset warnings when they reach the max warnings: 0 - Keep warnings, 1 - Delete warnings
    - If cVar is set to keep warnings the "sm_resetwarn" will be set to root flag
    - [WARNING] Delete your old database or plugin will not work as expected!

    v1.0.3 (09/10/12)
    - [Added] Whole plugins is now using translations
    - [Added] sm_unwarn to admin menu
    - [Added] 3 new translations
    - Swedish
    - German
    . French
    - [Added] Reasons is now using cfg file
    - [Added] Ability to check the players warning history (sm_checkwarn <#userid|name>)
    - [Added] Kick reason if case 4 or 5 is selected as punish
    - [Fixed] Code that waren't in use
    - [Fixed] Possible mysql injection exploit
    - [WARNING] You need to delete your old table because of sql update.

    v1.0.2 (08/10/12)
    - [Added] phrases support.
    - [Edited] Output text a little bit
    - [Added] Reasons on reseting warnings
    - [Added] Sound on warning
    - [Added] MOTD panel on warning
    - [Added] Reason support for sm_unwarn

    v1.0.1 (08/10/12)
    - [Fixed] Spell mistake: banlenght -> banlength.
    - [Added] SQLITE support
    - [Added] Reason support
    - [Removed] Command sm_warn_setup
    - [Edited] The text a little bit

    v1.0.0 (08/10/12)
    - Initial release


    Changelog:

    Translations:
    Quote:
    v1.0.7 (19/01/13)
    - [Added] Phrase "warn_update"

    v1.0.6 Patch (24/10/12)
    - [Fixed] error in the phrase "warn_warnconnect" v1.0.6 (22/10/12)
    - [Fixed] some phrases i think

    v1.0.5 (12/10/12)
    - [Fixed] Translations should now be completed

    v1.0.4 (10/10/12)

    - [Added] alot of translations because of new command
    - [Fixed] French translation incompleted
    - [Fixed] German translation incompleted
    - [Fixed] Swedish translation grammar

    v1.0.3 (09/10/12)

    Supported languages:
    Swedish
    French
    German
    Dutch
    Russian (https://forums.alliedmods.net/showpo...&postcount=136) Included in next update
    NOTE:
    Translations and plugin version is not the same. I'll post them seperate and i've created a own changelog for translations above

    Download here: Github

    Last edited by ecca; 03-24-2015 at 04:42. Reason: Updated link
    ecca is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 06:09.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode