Monthly Target: $400 Donations: $81
 20% 

PermaMute v0.1 (5/25)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Plugin ID:
392
Plugin Version:
0.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    768 
    Plugin Description:
    Permanently mute, gag, or silence a player.
    Old 05-25-2008 , 22:18   PermaMute v0.1 (5/25)
    Reply With Quote #1

    PermaMute extends Basic Comm Control to allow you to permanently mute, gag, or silence players. PMutes, PGags, or PSilences will be carried over indefinitely by SteamID until you decide when to reverse the PMute/PGag/PSilence at an arbitrary point in the future.

    Commands
    The following commands require Admin Chat privileges. These commands are also available through the AdminMenu system (in the Player section).
    • !pmute <player> - Permanently removes a player's ability to use voice.
    • !punmute <player> - Permamently restores a player's ability to use voice.
    • !pgag <player> - Permanently removes a player's ability to use chat.
    • !pungag <player> - Permanently restores a player's ability to use chat.
    • !psilence <player> - Permanently removes a player's ability to use voice and chat.
    • !punsilence <player> - Permanently restores a player's ability to use voice and chat.
    The following commands can be used by anyone:
    • !settings - (part of the Client Prefs system) Display whether you are permanently muted, gagged, or silenced.
    Version History
    • 2008-05-25 - v0.1
      • Initial release
    Installation
    • PermaMute requires the Client Prefs system, which as of this writing is only available in the SourceMod 1.1 snapshots. As of this writing, Client Prefs does not initialize its database automatically. With MySQL, you can use "mysql -u [USER] -p [SOURCEMOD DB] < addons/sourcemod/configs/sql-init-scripts/mysql/clientprefs-mysql.sql". As of revision 2199, the Client Prefs tables are automatically initialized.
    • Copy permamute.smx to addons/sourcemod/plugins
    • basecomm.smx must be running (which in all likelihood you'll already have).
    Note: The source for this plugin is derived heavily from basecomm. The "Get Plugin" link below will fail due to requiring Client Prefs. If you do not wish to compile the plugin yourself, please download the permamute.smx attachment directly.
    Attached Files
    File Type: smx permamute.smx (7.4 KB, 7149 views)
    File Type: sp Get Plugin or Get Source (permamute.sp - 5556 views - 14.0 KB)

    Last edited by FLOOR_MASTER; 05-27-2008 at 19:41.
    FLOOR_MASTER is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 05-26-2008 , 02:07   Re: PermaMute v0.1 (5/25)
    Reply With Quote #2

    So you need mysql to run this? Cant run just the plugin?
    __________________

    DontWannaName is offline
    FLOOR_MASTER
    Senior Member
    Join Date: Mar 2008
    Old 05-26-2008 , 02:21   Re: PermaMute v0.1 (5/25)
    Reply With Quote #3

    Client Prefs can use MySQL or SQLite. This is permanent muting -- persistent storage is required, and the Client Prefs model works out beautifully for this sort of thing. Unfortunately, this means you can't simply run the plugin.
    FLOOR_MASTER is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 05-27-2008 , 01:57   Re: PermaMute v0.1 (5/25)
    Reply With Quote #4

    Floormaster is my master! Thank u ! A long awaited plugin!

    otto
    ottobohn is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 05-27-2008 , 19:29   Re: PermaMute v0.1 (5/25)
    Reply With Quote #5

    um you may want to change this to plugins..

    Copy permamute.smx to addons/sourcemod/scripting
    __________________

    DontWannaName is offline
    FLOOR_MASTER
    Senior Member
    Join Date: Mar 2008
    Old 05-27-2008 , 19:55   Re: PermaMute v0.1 (5/25)
    Reply With Quote #6

    Whoops - nice catch
    FLOOR_MASTER is offline
    Atreus
    SourceMod Donor
    Join Date: Apr 2005
    Location: San Diego, CA
    Old 06-01-2008 , 19:51   Re: PermaMute v0.1 (5/25)
    Reply With Quote #7

    This will prove very useful. Thanks
    Atreus is offline
    Send a message via AIM to Atreus Send a message via MSN to Atreus
    pRED*
    Join Date: Dec 2006
    Old 06-01-2008 , 22:59   Re: PermaMute v0.1 (5/25)
    Reply With Quote #8

    Anything using Client prefs is worth approving. \
    pRED* is offline
    Clops
    Junior Member
    Join Date: Apr 2008
    Old 06-02-2008 , 21:08   Re: PermaMute v0.1 (5/25)
    Reply With Quote #9

    Would this work for the TF2 alltalk bug, where you cant mute people?
    Clops is offline
    TimberM
    Member
    Join Date: Nov 2007
    Old 06-03-2008 , 00:47   Re: PermaMute v0.1 (5/25)
    Reply With Quote #10

    First Bug:
    If i mute someone, and then it randomly mutes another person when they connect.....

    I Muted:

    .:TG:.™ TimberM : !pmute ώя::.»cħąяl
    [PERMAMUTE] Permanently Muted .::ќώя::.»cħąяlįє«
    [SM] Console: Muted .::ќώя::.»cħąяlįє«.


    .:TG:.™ TimberM : !pgag ώя::.»cħąяl
    [PERMAMUTE] Permanently Gagged .::ќώя::.»cħąяlįє«
    [SM] Console: Gagged .::ќώя::.»cħąяlįє«.

    Was Muted by console for no Reason when he connected:
    ‡ Šhade[Nor] ››[Norway] (STEAM_0:0:17261180) connected
    [SM] Console: Muted ‡ Šhade[Nor] ››.
    [SM] Console: Gagged ‡ Šhade[Nor] ››.


    Thanks,
    TimberM
    TimberM 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 09:47.


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