Reformat and clean up "config" package
This commit is contained in:
@@ -24,8 +24,8 @@ public class ServerConfig {
|
|||||||
public long RESPAWN_INTERVAL;
|
public long RESPAWN_INTERVAL;
|
||||||
public long PURGING_INTERVAL;
|
public long PURGING_INTERVAL;
|
||||||
public long RANKING_INTERVAL;
|
public long RANKING_INTERVAL;
|
||||||
public long COUPON_INTERVAL;
|
public long COUPON_INTERVAL;
|
||||||
public long UPDATE_INTERVAL;
|
public long UPDATE_INTERVAL;
|
||||||
|
|
||||||
public boolean ENABLE_PIC;
|
public boolean ENABLE_PIC;
|
||||||
public boolean ENABLE_PIN;
|
public boolean ENABLE_PIN;
|
||||||
@@ -165,13 +165,13 @@ public class ServerConfig {
|
|||||||
public int MOB_REACTOR_REFRESH_TIME;
|
public int MOB_REACTOR_REFRESH_TIME;
|
||||||
public int PARTY_SEARCH_REENTRY_LIMIT;
|
public int PARTY_SEARCH_REENTRY_LIMIT;
|
||||||
public long NAME_CHANGE_COOLDOWN;
|
public long NAME_CHANGE_COOLDOWN;
|
||||||
public long WORLD_TRANSFER_COOLDOWN=NAME_CHANGE_COOLDOWN;//Cooldown for world tranfers, default is same as name change (30 days).
|
public long WORLD_TRANSFER_COOLDOWN = NAME_CHANGE_COOLDOWN;//Cooldown for world tranfers, default is same as name change (30 days).
|
||||||
public boolean INSTANT_NAME_CHANGE;
|
public boolean INSTANT_NAME_CHANGE;
|
||||||
public int REBIRTH_NPC_ID;
|
public int REBIRTH_NPC_ID;
|
||||||
|
|
||||||
//Dangling Items/Locks Configuration
|
//Dangling Items/Locks Configuration
|
||||||
public int ITEM_EXPIRE_TIME ;
|
public int ITEM_EXPIRE_TIME;
|
||||||
public int KITE_EXPIRE_TIME ;
|
public int KITE_EXPIRE_TIME;
|
||||||
public int ITEM_MONITOR_TIME;
|
public int ITEM_MONITOR_TIME;
|
||||||
public int LOCK_MONITOR_TIME;
|
public int LOCK_MONITOR_TIME;
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import java.util.List;
|
|||||||
public class YamlConfig {
|
public class YamlConfig {
|
||||||
public static final String CONFIG_FILE_NAME = "config.yaml";
|
public static final String CONFIG_FILE_NAME = "config.yaml";
|
||||||
public static final YamlConfig config = loadConfig();
|
public static final YamlConfig config = loadConfig();
|
||||||
|
|
||||||
public List<WorldConfig> worlds;
|
public List<WorldConfig> worlds;
|
||||||
public ServerConfig server;
|
public ServerConfig server;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user