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

[ANY] Mute Player By Account


Post New Thread Reply   
 
Thread Tools Display Modes
Author
nosoop
Veteran Member
Join Date: Aug 2014
Plugin ID:
5538
Plugin Version:
0.0.4
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Add player mute punishments to a database.
    Old 02-20-2017 , 05:37   [ANY] Mute Player By Account
    Reply With Quote #1

    Description:
    A simple plugin that records and applies timed mute punishments by Steam account, storing it in a database.
    When the player has been authenticated by Steam, a threaded query is performed to see if there are any mutes for the account in effect, then mutes the player once they are in the server if so.

    This plugin only stores account, end time (0 for a permanent mute), reason, and the account that performed the ban (or 0 for server).

    Commands:
    • sm_muteid <time> <steamid> [reason]: Applies a mute on a Steam ID for the specified time in minutes. Accepts Steam2 and Steam3 formats. Command syntax matches that of sm_addban. This does not mute the player if they are currently in the server; it just adds an entry to the database to mute them in the future (they will be muted on map change or reconnect if the ban hasn't expired).
    Dependencies:
    Just depends on BaseComms and Regex, both of which are available in the default SourceMod installation.
    When used with multiple servers, it also depends on them having synchronized clocks (UNIX timestamp), as GetTime() is used.

    Installation:
    1. Run the init script located at configs/sql-init-scripts/mute_account.sql. I think it should be fine with SQLite, but it is built and tested with SQL in mind.
    2. Add a muted_accounts entry to your configs/databases.cfg file with the appropriate information.
    3. Install the plugin.
    Source Code / Releases
    __________________
    I do TF2, TF2 servers, and TF2 plugins.
    I don't do DMs over Discord -- PM me on the forums regarding inquiries.
    AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

    Last edited by nosoop; 03-09-2017 at 06:08.
    nosoop is offline
    Jillchang
    Senior Member
    Join Date: Mar 2014
    Old 10-30-2017 , 05:25   Re: [ANY] Mute Player By Account
    Reply With Quote #2

    ah finally a mute plugin for steam id mutes. Thanks nosoop.
    Jillchang is offline
    Tonblader
    Senior Member
    Join Date: Jul 2011
    Location: Peru
    Old 11-19-2020 , 07:08   Re: [ANY] Mute Player By Account
    Reply With Quote #3

    you can make a version with Cookies save ?
    I do not know anything about the databases, how does the installation work?

    Last edited by Tonblader; 11-19-2020 at 07:26.
    Tonblader is offline
    EZR
    Junior Member
    Join Date: Apr 2018
    Location: Turkey
    Old 07-15-2021 , 09:58   Re: [ANY] Mute Player By Account
    Reply With Quote #4

    can you add a Delete command?
    EZR 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 05:55.


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