class MutAdminPlus extends Mutator;

event PreBeginPlay()
{
  super.PreBeginPlay();

  Level.Game.AccessControl.AdminClass = class'UltraAdmin';
  Level.Game.bAllowMPGameSpeed = true;
}

event PostBeginPlay()
{
	class'XWebAdmin.UTServerAdmin'.default.QueryHandlerClasses[0]="AdminPlus_v4.newxWebQueryCurrent";
	class'XWebAdmin.UTServerAdmin'.default.SpectatorType=Class'AdminPlus_v4.newUTServerAdminSpectator';
}

static function FillPlayInfo(PlayInfo PlayInfo)
{
  super.FillPlayInfo(PlayInfo);

  //PlayInfo.AddSetting("Admin Plus", "bAllowLoaded", default.LoadedDisplayText, 0, 1, "Check");
}

static event string GetDescriptionText(string Property)
{
  /* switch(Property)
  {
    case "bAllowLoaded":
      return default.LoadedDescText;
  } */

  return super.GetDescriptionText(Property);
}

defaultproperties
{
  GroupName="KF-AdminPlus"
  FriendlyName="AdminPlus_v4"
  Description="Extended and overpowered version of AdminPlus v2 / Admin Control."
}