AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   PermaMute v0.1 (5/25) (https://forums.alliedmods.net/showthread.php?t=71863)

FLOOR_MASTER 05-25-2008 22:18

PermaMute v0.1 (5/25)
 
2 Attachment(s)
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.

DontWannaName 05-26-2008 02:07

Re: PermaMute v0.1 (5/25)
 
So you need mysql to run this? Cant run just the plugin?

FLOOR_MASTER 05-26-2008 02:21

Re: PermaMute v0.1 (5/25)
 
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.

ottobohn 05-27-2008 01:57

Re: PermaMute v0.1 (5/25)
 
Floormaster is my master! Thank u ! A long awaited plugin!

otto

DontWannaName 05-27-2008 19:29

Re: PermaMute v0.1 (5/25)
 
um you may want to change this to plugins.. :P

Copy permamute.smx to addons/sourcemod/scripting

FLOOR_MASTER 05-27-2008 19:55

Re: PermaMute v0.1 (5/25)
 
Whoops - nice catch :)

Atreus 06-01-2008 19:51

Re: PermaMute v0.1 (5/25)
 
This will prove very useful. Thanks

pRED* 06-01-2008 22:59

Re: PermaMute v0.1 (5/25)
 
Anything using Client prefs is worth approving. \

Clops 06-02-2008 21:08

Re: PermaMute v0.1 (5/25)
 
Would this work for the TF2 alltalk bug, where you cant mute people?

TimberM 06-03-2008 00:47

Re: PermaMute v0.1 (5/25)
 
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


All times are GMT -4. The time now is 16:41.

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