EasyMute V2013
Author: Rush (rush@u.one.pl)
Modified by: Feralidragon (V2013 features only)

This small mod allows a server administrator to mute naughty players from sending messages and using voice messages. ;)

---------

FEATURES:
-Muting from the start by IP or name
-Wildcards support
-Muting Messages and VoiceMessages.
-Muting/UnMuting by Name
-Muting/UnMuting by ID
-Muting/UnMuting ALL at once
-Listing IDs for nicks.
-SemiAdmin compatibility
-SuperWebAdmin Compatibility

---------

INSTALLATION:
   Copy EasyMuteV2013.u to your System directory and add line which is below to the [Engine.GameEngine] section of UnrealTournament.ini
ServerActors=EasyMuteV2013.EM

---------

Mutate Commands:
-idlist			- lists players' IDs.
-status <PlayerName> 	- shows the mute status, 1 for muted, 0 for not muted.
-mute <PlayerName>
-unmute <PlayerName>
-muteid <PlayerID>
-unmuteid <PlayerID>
-muteall
-unmuteall
-ali <user> <password>  - only if you use semiadmin, set user and pass in EasyMute's config.

---------

Config:
That's not much but after the first run you'll see this section in the server's ini.

[EasyMuteV2013.EM]
DefaultALLMuted=False	- Set it to true if you want every new player to be muted.
User[0]=<username>:<password> - Up to User[19], only active if SemiAdmin is Enabled.
AutoMuteIP=True - When (un)muting a player by using any of the commands above, automatically add/remove the player IP to the MutedPlayerIPs list
AutoMuteName=True - When (un)muting a player by using any of the commands above, automatically add/remove the player name to the MutedPlayerIPs list
MutedPlayerIPs[0]=<muted ip addresses> - Up to MutedPlayerIPs[127], list of IPs that get muted in all games
MutedPlayerNames[0]=<muted player names> - Up to MutedPlayerNames[127], list of player names that get muted in all games


---------

Wildcards:
The MutedPlayerIPs and MutedPlayerNames support 2 wildcards:
? - Any single character
* - Any multiple characters (or none at all)

Usage examples:
192.168.1.*:
	192.168.1.123 is a match
	192.168.1.4 is a match
	192.168.100.4 is NOT a match

127.0.0.???:
	127.0.0.123 is a match
	127.0.0.200 is a match
	127.0.0.45 is NOT a match
	127.0.0.1 is NOT a match

The same for names, example:
- if you want an entire clan muted by their tag, instead of adding:
{CLAN}Player1
{CLAN}Player2
{CLAN}Player3

You can simply:
{CLAN}*

Wildcards work at any place, so to group names like:
Player1_{CLAN}
Player2_{CLAN}
Player3_{CLAN}

This also works:
*{CLAN}

---------

ChangeLog:
v2013
- Added capability to mute players from the start by IP or name
- Added wildcards support
v1.6
- Fixed spelling bug when being unmuted.(thx kawaii)
v1.5
- Fixed few bugs and improved player managment functions to eliminate accessed nones when there are more than 32 player connects on one map.
v1.4b
- Removed function checking if SemiAdmin is present ...
v1.4
- SemiAdmin compatibility.
- Fixed few bugs.
v1.3
- Fixed DefaultAllMuted function ...
v1.2-fixed:
- Due to my mistake the voicemessages weren't blocked. :P
V1.2:
- Muted players can't send voicemessages from now.
V1.1:
- Added DefaultAllMuted Option.
V1:
- First Release :)

---------

If you find any bugs or if you have any requests please mail me. - Rush
