Addition of AttendancePopupStart configuration.

This commit is contained in:
MobiusDevelopment
2020-12-17 22:30:01 +00:00
parent b3e3c1bb95
commit 8f718e68b4
48 changed files with 176 additions and 0 deletions

View File

@@ -154,6 +154,7 @@ public class Config
public static boolean PREMIUM_ONLY_ATTENDANCE_REWARDS;
public static boolean ATTENDANCE_REWARDS_SHARE_ACCOUNT;
public static int ATTENDANCE_REWARD_DELAY;
public static boolean ATTENDANCE_POPUP_START;
public static boolean ATTENDANCE_POPUP_WINDOW;
public static boolean BALTHUS_KNIGHTS_ENABLED;
public static int BALTHUS_KNIGHTS_LEVEL;
@@ -1547,6 +1548,7 @@ public class Config
PREMIUM_ONLY_ATTENDANCE_REWARDS = Attandance.getBoolean("PremiumOnlyAttendanceRewards", false);
ATTENDANCE_REWARDS_SHARE_ACCOUNT = Attandance.getBoolean("AttendanceRewardsShareAccount", false);
ATTENDANCE_REWARD_DELAY = Attandance.getInt("AttendanceRewardDelay", 30);
ATTENDANCE_POPUP_START = Attandance.getBoolean("AttendancePopupStart", true);
ATTENDANCE_POPUP_WINDOW = Attandance.getBoolean("AttendancePopupWindow", false);
// Load AttributeSystem config file (if exists)

View File

@@ -663,6 +663,11 @@ public class EnterWorld implements IClientIncomingPacket
}
}
}, Config.ATTENDANCE_REWARD_DELAY * 60 * 1000);
if (Config.ATTENDANCE_POPUP_START)
{
player.sendPacket(new ExVipAttendanceItemList(player));
}
}
if (Config.HARDWARE_INFO_ENABLED)