Raised This Month: $ Target: $400
 0% 

[ANY] Simple Warn (UPDATE 17/08/2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
potatoz
AlliedModders Donor
Join Date: Nov 2016
Plugin ID:
5549
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows Administrators to easily warn players
    Old 02-25-2017 , 11:55   [ANY] Simple Warn (UPDATE 17/08/2018)
    Reply With Quote #1

    SIMPLE WARN
    as made by potatoz



    DESCRIPTION
    this is the public version of my plugin "Warn". This plugin is quite basic really, it allows admins to warn players and easily check how many warnings a player has. Admins are also automatically notified when a player with any warnings joins the server. Last but not least, if a player gets 3 or more warnings in a single round, this player will get banned in 10 minutes with reason "S-WARN: Too many Warnings".

    COMMANDS
    !warn <name|#userid> [reason] - Warn client (ADMFLAG_BAN)
    !resetwarnings <name|#userid> - Reset a client's warnings (ADMFLAG_ROOT)
    !warnings <name|#userid> - Check how many warnings a client has on record

    CVARS
    sm_warn_maxwarnings_enabled - Enable automatic ban after max amount of warnings reached? 1 = Enabled 0 = Disabled, Default = 1
    sm_warn_maxwarnings - Max amount of total warnings before banning a player (if enabled), 0 = Disabled, Default = 0
    sm_warn_maxwarnings_reset - Reset warnings after automatic ban? 1 = Enabled 0 = Disabled, Default = 1
    sm_warn_banduration - How long shall a player be banned after recieving max amount of warnings (in minutes)? Default = 15
    sm_warn_maxroundwarnings - Max amount of warnings in a single round before banning a player (if enabled), Default = 3

    NOTE
    All ConVars are easily changed in <gamefolder>/cfg/sourcemod/plugin_simplewarnings.txt (This file is auto-generated on first launch)
    Attached Files
    File Type: sp Get Plugin or Get Source (simple_warn.sp - 796 views - 6.0 KB)
    __________________

    Last edited by potatoz; 08-17-2018 at 08:06. Reason: - New Convars
    potatoz is offline
    EvanChrispie
    Member
    Join Date: Nov 2016
    Old 02-25-2017 , 19:54   Re: [ANY] Simple Warn v1.0 (25/02/2017)
    Reply With Quote #2

    Nice plugin.
    Can I suggest having a cvar where you can choose the amount of warning they receive before being banned and another one for how long the punishment is. And also if they reach the max amount of warning, a menu pops up for the admin, and they can select wether to ban or mute the play for the specified time.
    EvanChrispie is offline
    potatoz
    AlliedModders Donor
    Join Date: Nov 2016
    Old 02-26-2017 , 07:10   Re: [ANY] Simple Warn v1.0 (25/02/2017)
    Reply With Quote #3

    Quote:
    Originally Posted by EvanChrispie View Post
    Nice plugin.
    Can I suggest having a cvar where you can choose the amount of warning they receive before being banned and another one for how long the punishment is. And also if they reach the max amount of warning, a menu pops up for the admin, and they can select wether to ban or mute the play for the specified time.
    +1 The plugin has been partially updated with the feedback you've given
    __________________
    potatoz is offline
    OcC
    Senior Member
    Join Date: Mar 2012
    Location: Romania
    Old 02-27-2017 , 20:40   Re: [ANY] Simple Warn v1.1 (26/02/2017)
    Reply With Quote #4

    an idea! A web page with all warn's, bans, reason, players who were given / received warn.

    I find it a good idea
    __________________

    Infinityzone.ro
    Sorry For My Bad English
    OcC is offline
    Send a message via Yahoo to OcC
    EvanChrispie
    Member
    Join Date: Nov 2016
    Old 02-28-2017 , 04:15   Re: [ANY] Simple Warn v1.1 (26/02/2017)
    Reply With Quote #5

    Quote:
    Originally Posted by OcC View Post
    an idea! A web page with all warn's, bans, reason, players who were given / received warn.

    I find it a good idea
    +1
    Or even better if it could be implemented into SourceBans, so that a whole new system doesn't need to be developed.
    __________________
    EvanChrispie is offline
    Unbelievable
    Senior Member
    Join Date: Jan 2016
    Old 03-02-2017 , 16:01   Re: [ANY] Simple Warn v1.1 (26/02/2017)
    Reply With Quote #6

    Would u be able to add warn command for mic spammers and then give mute on 3 warnings? sm_warnmic
    __________________
    Unbelievable is offline
    Robin955
    Veteran Member
    Join Date: Jun 2013
    Old 04-15-2017 , 03:19   Re: [ANY] Simple Warn v1.1 (26/02/2017)
    Reply With Quote #7

    why is it asking for a reason when you cannot view it?

    !warn "player" "reason"
    !warnings "player" "has 1 warnings" - cannot see reason.

    if this was updated to a mysql database and then a webpage so we could click a user and see all the reasons and date and which server.

    with alot of players you cannot keep track of the chat annymore and its only spam spam spam spam, this player this player this player this player blablabla then name name name and we have to remember it.

    possible to make a cvar for to remove the announce message to admins once a player joins but so we can then do !warnings "Player" and look at how many warnings he has, this way we can check the amount of warnings on a player without being spammed once people join the server.

    yep i think thats all the plugin needs, and to be 100% really decent i would make it mysql and then a simple webhost php
    >search player
    >show player with most warnings or alphabetic range (names)
    >click a user and see all the warnings with server,date,reason and who made the warning. (who made the warning isn't that big of a deal but really good bonus)

    then i would LOVE this plugin.

    Last edited by Robin955; 04-15-2017 at 03:27.
    Robin955 is offline
    B3none
    AlliedModders Donor
    Previously known as:
    b3none
    Join Date: Oct 2016
    Location: United Kingdom
    Old 04-15-2017 , 10:33   Re: [ANY] Simple Warn v1.1 (26/02/2017)
    Reply With Quote #8

    If you want I am willing to help with the web-page side of this request, just message me and I can start right away
    __________________
    B3none is offline
    B3none
    AlliedModders Donor
    Previously known as:
    b3none
    Join Date: Oct 2016
    Location: United Kingdom
    Old 04-16-2017 , 09:10   Re: [ANY] Simple Warn v1.1 (26/02/2017)
    Reply With Quote #9

    I have added sm_warnmic

    Source: Link here
    __________________
    B3none is offline
    potatoz
    AlliedModders Donor
    Join Date: Nov 2016
    Old 04-17-2017 , 09:40   Re: [ANY] Simple Warn v1.1 (26/02/2017)
    Reply With Quote #10

    Quote:
    Originally Posted by b3none View Post
    If you want I am willing to help with the web-page side of this request, just message me and I can start right away
    Hi, feel free to develop your own version of this code with credits, however i'm really wanting to add SQL and such to this plugin as there is already a great plugin for that made by my buddy ecca, this plugin is meant as an alternative for those who doesn't want the hassle of dealing with all the databases and such.
    __________________
    potatoz is offline
    Reply


    Thread Tools
    Display Modes

    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 19:44.


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