This mod closes off a server so that only people wearing one of two tags can join.
If a player is wearing one of the two tags, they are allowed in instantly.
If the player is NOT wearing one of the two specified tags, they are shown a
message telling them that they aren't able to join because a match or event is in
progress, and to try again at a later time.  This mod makes it easy to hold clan
matches without having to password the server.

=====================================================

To install, copy all files to /SYSTEM on the UT server.

Edit the server configuration file (usually UnrealTournament.ini or Server.ini),
find the section heading:
[Engine.GameEngine]

Under that heading, add the following two lines:
ServerActors=ClanRestrictv1.ClanRestrict
ServerPackages=ClanRestrictv1

That's all, restart the server and you are done.

=====================================================

Options for ClanRestrict.ini:

[ClanRestrictv1.ClanRestrict]
bEnabled= <-- enable the mod?
tagA= <-- first tag to check for
tagB= <-- second tag to check for

For example, in a match between two clans, one with the tag "|WAR|" and the other "|AYT|",
the configuration would look like this:

[ClanRestrictv1.ClanRestrict]
bEnabled=True
tagA=[WAR]
tagB=|AYT|


When a player joins, for example "[war]Celcius", the mod sees that the player's name contains
the tag somewhere in it (the mod is NOT case sensitive).  It lets the player join.  Likewise
if a player named "Carlos" joined, they would be removed from the server and presented with a
message stating the server is currently hosting a private event.

=====================================================

Matthew 'MSuLL' Sullivan, 2010