Separated interface configuration.
This commit is contained in:
parent
0a86b20c17
commit
8d263dc0b4
15
L2J_Mobius_1.0_Ertheia/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_1.0_Ertheia/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_1.0_Ertheia/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_1.0_Ertheia/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -96,11 +97,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -444,8 +445,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1326,6 +1325,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -182,11 +182,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_2.5_Underground/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_2.5_Underground/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_2.5_Underground/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_2.5_Underground/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -97,11 +98,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -451,8 +452,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1337,6 +1336,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -186,11 +186,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_3.0_Helios/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_3.0_Helios/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_3.0_Helios/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_3.0_Helios/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -97,11 +98,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -451,8 +452,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1350,6 +1349,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -186,11 +186,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_4.0_GrandCrusade/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_4.0_GrandCrusade/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_4.0_GrandCrusade/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_4.0_GrandCrusade/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -97,11 +98,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -445,8 +446,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1337,6 +1336,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -186,11 +186,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_5.0_Salvation/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_5.0_Salvation/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_5.0_Salvation/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_5.0_Salvation/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -98,11 +99,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -440,8 +441,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1332,6 +1331,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -188,11 +188,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_5.5_EtinasFate/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_5.5_EtinasFate/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_5.5_EtinasFate/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_5.5_EtinasFate/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -98,11 +99,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -440,8 +441,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1339,6 +1338,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -188,11 +188,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_6.0_Fafurion/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_6.0_Fafurion/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_6.0_Fafurion/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_6.0_Fafurion/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -98,11 +99,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -441,8 +442,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1361,6 +1360,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -189,11 +189,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_7.0_PreludeOfWar/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_7.0_PreludeOfWar/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_7.0_PreludeOfWar/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_7.0_PreludeOfWar/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -98,11 +99,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -440,8 +441,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1367,6 +1366,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -192,11 +192,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_8.0_Homunculus/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_8.0_Homunculus/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_8.0_Homunculus/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_8.0_Homunculus/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -98,11 +99,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -440,8 +441,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1364,6 +1363,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -191,11 +191,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -86,6 +86,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -98,11 +99,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String TRAINING_CAMP_CONFIG_FILE = "./config/TrainingCamp.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
@ -440,8 +441,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1364,6 +1363,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in properties file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (properties file) for configuring your server.
|
||||
|
@ -191,11 +191,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_C1_HarbingersOfWar/dist/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_C1_HarbingersOfWar/dist/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -32,21 +32,4 @@ MaximumOnlineUsers=2000
|
||||
AutoCreateAccounts=true
|
||||
|
||||
# Enable unknown packet logging.
|
||||
LogUnknownPackets=false
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
LogUnknownPackets=false
|
@ -36,12 +36,16 @@ public class Config
|
||||
// --------------------------------------------------
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String SERVER_CONFIG_FILE = "config/server.ini";
|
||||
private static final String RATES_CONFIG_FILE = "config/rates.ini";
|
||||
private static final String KARMA_CONFIG_FILE = "config/karma.ini";
|
||||
private static final String THREADPOOL_CONFIG_FILE = "config/threadpool.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/server.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/rates.ini";
|
||||
private static final String KARMA_CONFIG_FILE = "./config/karma.ini";
|
||||
private static final String THREADPOOL_CONFIG_FILE = "./config/threadpool.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/npc.ini";
|
||||
|
||||
// Interface
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
// Game
|
||||
public static int SERVER_PORT;
|
||||
public static String SERVER_HOST_NAME;
|
||||
@ -54,9 +58,6 @@ public class Config
|
||||
public static boolean AUTO_CREATE_ACCOUNTS;
|
||||
// Other
|
||||
public static boolean LOG_UNKNOWN_PACKETS;
|
||||
// GUI
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
// Rates
|
||||
public static float RATE_XP;
|
||||
public static float RATE_SP;
|
||||
|
@ -46,11 +46,11 @@ public class Server
|
||||
Config.load();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("Server: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_C4_ScionsOfDestiny/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_C4_ScionsOfDestiny/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -134,23 +134,6 @@ InstantThreadPoolCount = 120
|
||||
UrgentPacketThreadCoreSize = 40
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Misc Player Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_C4_ScionsOfDestiny/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_C4_ScionsOfDestiny/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -60,23 +60,6 @@ Password =
|
||||
MaximumDbConnections = 10
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -1,128 +0,0 @@
|
||||
#=========================================#
|
||||
# MMOCore Connection Settings #
|
||||
#=========================================#
|
||||
|
||||
# ---------------------------- #
|
||||
# Debug and Develop logging #
|
||||
# ---------------------------- #
|
||||
EnableMMOCoreDebug = False
|
||||
EnableMMOCoreDevelop = False
|
||||
EnableMMOCoreExceptions = False
|
||||
PacketHandlerDebug = False
|
||||
|
||||
# ----------------------------
|
||||
# Config BackLog
|
||||
# ----------------------------
|
||||
# Maximum length of request.
|
||||
# The maximum length for incoming requests (connection request).
|
||||
# Maximum number of requests, after which the requests
|
||||
# Will not be accepted.
|
||||
# The default is 50
|
||||
# Must be equal to the estimated number of players.
|
||||
# Example: Players in the game 1000 +, NetworkBackLog = 1000
|
||||
# NetworkBackLog = 50
|
||||
|
||||
# ----------------
|
||||
# Set TOS
|
||||
# ----------------
|
||||
# Set the traffic going to a particular socket.
|
||||
# Can be ignored JAVA-machine.
|
||||
# Range: 0 <= tc <= 255 or a ban happens.
|
||||
# Note:
|
||||
# To TCP4 should be set high priority and should be RFC 1349.
|
||||
# You can also create a type priorities bit, example:
|
||||
# IPTOS_LOWCOST (0x02)
|
||||
# IPTOS_RELIABILITY (0x04)
|
||||
# IPTOS_THROUGHPUT (0x08)
|
||||
# IPTOS_LOWDELAY (0x10)
|
||||
# The lowest bit is ignored (0).
|
||||
# Set bits in the priority may cause the collapse of the server.
|
||||
# depends on the service and platform.
|
||||
# Note:
|
||||
# Applications can not change GameServer after connecting.
|
||||
# To TCP6 value can be found in the header sin6_flowinfo.
|
||||
# NetworkIpTOS = 0
|
||||
|
||||
# ---------------------------------------
|
||||
# Setting TCP_NODELAY
|
||||
# ---------------------------------------
|
||||
# On / Off TCP_NODELAY
|
||||
#NetworkTcpNoDelay = False
|
||||
|
||||
# -------------------------------
|
||||
# Setting KeepAlive
|
||||
# -------------------------------
|
||||
# On / Off SO_KEEPALIVE
|
||||
#NetworkKeepAlive = False
|
||||
|
||||
# ------------------------
|
||||
# Set a timeout
|
||||
# ------------------------
|
||||
# Set a timeout in milliseconds.
|
||||
# If set to 0, the timeout will be standard.
|
||||
# Timeout must be greater than 0.
|
||||
# Zero timeout is defined as an infinite timeout.
|
||||
#NetworkSoTimeOut = 0
|
||||
|
||||
# ---------------------------------------------------
|
||||
# Configure repetitions Adresses
|
||||
# ---------------------------------------------------
|
||||
# On / Off option.
|
||||
# If the connection is closed, then turn timeout.
|
||||
#NetworkSoReuseAddr = True
|
||||
|
||||
# --------------------------------------
|
||||
# Set buffer compounds
|
||||
# --------------------------------------
|
||||
# Buffer size in kbit (kilobits)
|
||||
# By default (Windows) - 64KBits
|
||||
# Default (* nix) - 128KBits
|
||||
#NetworkReadBufferSize = 64
|
||||
#NetworkWriteBufferSize = 64
|
||||
#NetworkHelperBufferSize = 64
|
||||
|
||||
# The size of the auxiliary buffer
|
||||
#NetworkHelperBufferCount = 20
|
||||
|
||||
# --------------------------
|
||||
# Client Queue Configuration
|
||||
# --------------------------
|
||||
# Queue size, do not set it too low !
|
||||
# Default: 14
|
||||
ClientPacketQueueSize = 14
|
||||
# Maximum number of packets in burst.
|
||||
# Execution will be aborted and thread released if more packets executed in raw.
|
||||
# Default: 50
|
||||
ClientPacketQueueMaxBurstSize = 50
|
||||
# Maximum number of packets per second.
|
||||
# Flood detector will be triggered if more packets received.
|
||||
# After triggering all incoming packets will be dropped until flooding stopped.
|
||||
# Default: 80
|
||||
ClientPacketQueueMaxPacketsPerSecond = 80
|
||||
# Average number of packets per second calculated during this interval.
|
||||
# Using larger value decrease number of false kicks, but slower reaction to flood.
|
||||
# Avoid using too low or too high values, recommended between 3 and 10.
|
||||
# Default: 5
|
||||
ClientPacketQueueMeasureInterval = 5
|
||||
# Maximum average number of packets per second during measure interval.
|
||||
# Flood detector will be triggered if more packets received.
|
||||
# After triggering all incoming packets will be dropped until flooding stopped.
|
||||
# Default: 40
|
||||
ClientPacketQueueMaxAveragePacketsPerSecond = 40
|
||||
# Maximum number of flood triggers per minute.
|
||||
# Client will be kicked if more floods detected.
|
||||
# Default: 2
|
||||
ClientPacketQueueMaxFloodPerMin = 6
|
||||
# Maximum number of queue overflows per minute.
|
||||
# After overflow all incoming packets from client are dropped until queue is flushed.
|
||||
# Client will be kicked if more queue overflows detected.
|
||||
# Default: 50
|
||||
ClientPacketQueueOverflowsPerMin = 50
|
||||
# Maximum number of buffer underflows per minute.
|
||||
# Client will be kicked if more underflow exceptions detected.
|
||||
# Default: 1
|
||||
ClientPacketQueueUnderflowsPerMin = 1
|
||||
# Maximum number of unknown packets per minute.
|
||||
# Client will be kicked if more unknown packets received.
|
||||
# Default: 5
|
||||
ClientPacketQueueUnknownPerMin = 5
|
@ -58,6 +58,8 @@ public class Config
|
||||
// standard
|
||||
private static final String FILTER_FILE = "./config/chatfilter.txt";
|
||||
private static final String HEXID_FILE = "./config/hexid.txt";
|
||||
// interface
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
// main
|
||||
private static final String ACCESS_CONFIG_FILE = "./config/main/Access.ini";
|
||||
private static final String CHARACTER_CONFIG_FILE = "./config/main/Character.ini";
|
||||
@ -74,7 +76,7 @@ public class Config
|
||||
private static final String PVP_CONFIG_FILE = "./config/main/PvP.ini";
|
||||
private static final String RAIDBOSS_CONFIG_FILE = "./config/main/RaidBoss.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/main/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/main/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/main/Server.ini";
|
||||
private static final String SEVENSIGNS_CONFIG_FILE = "./config/main/SevenSigns.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/main/Siege.ini";
|
||||
// protected
|
||||
@ -1128,8 +1130,6 @@ public class Config
|
||||
public static int SCHEDULED_THREAD_POOL_COUNT;
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static String CNAME_TEMPLATE;
|
||||
public static String PET_NAME_TEMPLATE;
|
||||
public static String CLAN_NAME_TEMPLATE;
|
||||
@ -1160,6 +1160,9 @@ public class Config
|
||||
public static long SESSION_TTL;
|
||||
public static int MAX_LOGINSESSIONS;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
public static void loadAccessConfig()
|
||||
{
|
||||
final PropertiesParser accessConfig = new PropertiesParser(ACCESS_CONFIG_FILE);
|
||||
|
@ -148,11 +148,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_C6_Interlude/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_C6_Interlude/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -130,23 +130,6 @@ InstantThreadPoolCount = 120
|
||||
UrgentPacketThreadCoreSize = 40
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Misc Player Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_C6_Interlude/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_C6_Interlude/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -69,6 +69,8 @@ public class Config
|
||||
private static final String FILTER_FILE = "./config/chatfilter.txt";
|
||||
private static final String HEXID_FILE = "./config/hexid.txt";
|
||||
private static final String IPCONFIG_FILE = "./config/ipconfig.xml";
|
||||
// interface
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
// main
|
||||
private static final String ACCESS_CONFIG_FILE = "./config/main/Access.ini";
|
||||
private static final String CHARACTER_CONFIG_FILE = "./config/main/Character.ini";
|
||||
@ -85,7 +87,7 @@ public class Config
|
||||
private static final String PVP_CONFIG_FILE = "./config/main/PvP.ini";
|
||||
private static final String RAIDBOSS_CONFIG_FILE = "./config/main/RaidBoss.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/main/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/main/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/main/Server.ini";
|
||||
private static final String SEVENSIGNS_CONFIG_FILE = "./config/main/SevenSigns.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/main/Siege.ini";
|
||||
// protected
|
||||
@ -113,7 +115,7 @@ public class Config
|
||||
private static final String EVENT_REBIRTH_CONFIG_FILE = "./config/custom/Rebirth.ini";
|
||||
private static final String EVENT_WEDDING_CONFIG_FILE = "./config/custom/Wedding.ini";
|
||||
// login
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
|
||||
// --------------------------------------------------
|
||||
// Variable Definitions
|
||||
@ -1167,8 +1169,6 @@ public class Config
|
||||
public static int SCHEDULED_THREAD_POOL_COUNT;
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static String CNAME_TEMPLATE;
|
||||
public static String PET_NAME_TEMPLATE;
|
||||
public static String CLAN_NAME_TEMPLATE;
|
||||
@ -1194,6 +1194,9 @@ public class Config
|
||||
public static boolean ACCEPT_NEW_GAMESERVER;
|
||||
public static boolean AUTO_CREATE_ACCOUNTS;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
public static void loadAccessConfig()
|
||||
{
|
||||
final PropertiesParser accessConfig = new PropertiesParser(ACCESS_CONFIG_FILE);
|
||||
|
@ -152,11 +152,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_CT_2.4_Epilogue/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_CT_2.4_Epilogue/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_CT_2.4_Epilogue/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_CT_2.4_Epilogue/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -84,6 +84,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -95,11 +96,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
private static final String HEXID_FILE = "./config/hexid.txt";
|
||||
@ -506,8 +507,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1376,6 +1375,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in config file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (config file) for configuring your server.
|
||||
|
@ -182,11 +182,11 @@ public class GameServer
|
||||
final long serverLoadStart = Chronos.currentTimeMillis();
|
||||
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.SERVER_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("GameServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
@ -64,11 +64,11 @@ public class LoginServer
|
||||
private LoginServer() throws Exception
|
||||
{
|
||||
// GUI
|
||||
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true);
|
||||
final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
|
||||
Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
|
||||
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless())
|
||||
{
|
||||
Config.DARK_THEME = serverSettings.getBoolean("DarkTheme", true);
|
||||
Config.DARK_THEME = interfaceSettings.getBoolean("DarkTheme", true);
|
||||
System.out.println("LoginServer: Running in GUI mode.");
|
||||
new Gui();
|
||||
}
|
||||
|
15
L2J_Mobius_CT_2.6_HighFive/dist/game/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_CT_2.6_HighFive/dist/game/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -142,23 +142,6 @@ UrgentPacketThreadCoreSize = 40
|
||||
ThreadsForLoading = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Dead Lock Detector (separate thread for detecting deadlocks)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
15
L2J_Mobius_CT_2.6_HighFive/dist/login/config/Interface.ini
vendored
Normal file
15
L2J_Mobius_CT_2.6_HighFive/dist/login/config/Interface.ini
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Interface Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
@ -54,23 +54,6 @@ Password =
|
||||
MaximumDbConnections = 5
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Look and feel
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable L2jMobius GUI when OS supports it.
|
||||
# Provides access to admin commands without the need to be online.
|
||||
# Warning! Do not disable if you use Gameserver.exe
|
||||
# because server will run in the background!
|
||||
# Default: True
|
||||
EnableGUI = True
|
||||
|
||||
# Dark theme.
|
||||
# Use a dark version of the Nimbus theme.
|
||||
# Default: True
|
||||
DarkTheme = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Automatic Database Backup Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@ -84,6 +84,7 @@ public class Config
|
||||
// Config File Definitions
|
||||
// --------------------------------------------------
|
||||
public static final String GEOENGINE_CONFIG_FILE = "./config/GeoEngine.ini";
|
||||
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini";
|
||||
public static final String OLYMPIAD_CONFIG_FILE = "./config/Olympiad.ini";
|
||||
public static final String SIEGE_CONFIG_FILE = "./config/Siege.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/FortSiege.ini";
|
||||
@ -95,11 +96,11 @@ public class Config
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/General.ini";
|
||||
private static final String GRACIASEEDS_CONFIG_FILE = "./config/GraciaSeeds.ini";
|
||||
private static final String GRANDBOSS_CONFIG_FILE = "./config/GrandBoss.ini";
|
||||
public static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
|
||||
private static final String NPC_CONFIG_FILE = "./config/NPC.ini";
|
||||
private static final String PVP_CONFIG_FILE = "./config/PVP.ini";
|
||||
private static final String RATES_CONFIG_FILE = "./config/Rates.ini";
|
||||
public static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String SERVER_CONFIG_FILE = "./config/Server.ini";
|
||||
private static final String TELNET_CONFIG_FILE = "./config/Telnet.ini";
|
||||
private static final String CHAT_FILTER_FILE = "./config/chatfilter.txt";
|
||||
private static final String HEXID_FILE = "./config/hexid.txt";
|
||||
@ -511,8 +512,6 @@ public class Config
|
||||
public static int INSTANT_THREAD_POOL_COUNT;
|
||||
public static int IO_PACKET_THREAD_CORE_SIZE;
|
||||
public static boolean THREADS_FOR_LOADING;
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
public static boolean DEADLOCK_DETECTOR;
|
||||
public static int DEADLOCK_CHECK_INTERVAL;
|
||||
public static boolean RESTART_ON_DEADLOCK;
|
||||
@ -1376,6 +1375,9 @@ public class Config
|
||||
public static int L2JBRASIL_DUALBOXES_ALLOWED;
|
||||
public static boolean ALLOW_L2JBRASIL_GAME_SERVER_REPORT;
|
||||
|
||||
public static boolean ENABLE_GUI;
|
||||
public static boolean DARK_THEME;
|
||||
|
||||
/**
|
||||
* This class initializes all global variables for configuration.<br>
|
||||
* If the key doesn't appear in config file, a default value is set by this class. {@link #SERVER_CONFIG_FILE} (config file) for configuring your server.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user