public static void setPermissionAccount(GamePlayer player, string command)
 {
     DBSinglePermission perm = new DBSinglePermission();
     perm.Command = command;
     perm.PlayerID = player.DBCharacter.AccountName;
     GameServer.Database.AddObject(perm);
 }
		public static void setPermission(GamePlayer player,string command)
		{
			DBSinglePermission perm = new DBSinglePermission();
			perm.Command = command;
			perm.PlayerID = player.ObjectId;
			GameServer.Database.AddObject(perm);
		}