Fix mall, shop, mall/shop refresh logic and battle pass flows

This commit is contained in:
Yostarcc
2026-05-25 18:43:02 -07:00
committed by Melledy
parent c1c09c6594
commit 57c05c8e32
45 changed files with 2171 additions and 232 deletions
+7 -4
View File
@@ -121,20 +121,23 @@ public class Config {
@Getter
public static class ServerOptions {
// Default permissions for accounts. By default, all commands are allowed. Reccomended to change if making a public server.
// Default permissions for accounts. By default, all commands are allowed. Recommended to change if making a public server.
public Set<String> defaultPermissions = Set.of("*");
// Automatically creates an account when a player logs in for the first time on a new email.
public boolean autoCreateAccount = true;
// Skips the intro cinematics/stage when starting a new account.
public boolean skipIntro = false;
// Unlocks all instances (Monolith, Bounty Trials, etc) for players to enter without needing to do the previous levels.
// Unlocks all instances (Monolith, Bounty Trials, etc.) for players to enter without needing to do the previous levels.
public boolean unlockInstances = true;
// Unlocks all story CGs to use in the showcase
public boolean unlockAllStoryCGs = false;
// Unlocks all mall skins without sale window restrictions
public boolean showAllSkinInMall = true;
// How long to wait (in seconds) after the last http request from a session before removing it from the server.
public int sessionTimeout = 300;
// The offset hour for when daily quests are refreshed in UTC. Example: "dailyResetHour = 4" means dailies will be refreshed at UTC+4 12:00 AM every day.
public int dailyResetHour = 0;
// The local server hour when daily, weekly, and monthly reset boundaries occur.
// Example: "dailyResetHour = 4" means all reset boundaries happen at 04:00 in the server's system time zone.
public int dailyResetHour = 4;
// Leaderboard for Boss Blitz refresh time in seconds.
public int leaderboardRefreshTime = 60;
// The welcome mail to send when a player is created. Set to null to disable.