Executables with support for console.

This commit is contained in:
MobiusDevelopment 2021-05-03 22:51:51 +00:00
parent c8f58f89ff
commit 4ec90902b6
99 changed files with 5 additions and 99 deletions

Binary file not shown.

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

Binary file not shown.

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

Binary file not shown.

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

Binary file not shown.

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

Binary file not shown.

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

Binary file not shown.

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

Binary file not shown.

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

Binary file not shown.

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -36,7 +36,7 @@ public class Config
// -------------------------------------------------- // --------------------------------------------------
// Config File Definitions // Config File Definitions
// -------------------------------------------------- // --------------------------------------------------
public static final String INTERFACE_CONFIG_FILE = "./config/Interface.ini"; public static final String INTERFACE_CONFIG_FILE = "./config/interface.ini";
public static final String SERVER_CONFIG_FILE = "./config/server.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 RATES_CONFIG_FILE = "./config/rates.ini";
private static final String KARMA_CONFIG_FILE = "./config/karma.ini"; private static final String KARMA_CONFIG_FILE = "./config/karma.ini";

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -104,7 +104,7 @@ public class Config
private static final String EVENT_REBIRTH_CONFIG_FILE = "./config/custom/Rebirth.ini"; private static final String EVENT_REBIRTH_CONFIG_FILE = "./config/custom/Rebirth.ini";
private static final String EVENT_WEDDING_CONFIG_FILE = "./config/custom/Wedding.ini"; private static final String EVENT_WEDDING_CONFIG_FILE = "./config/custom/Wedding.ini";
// login // login
public static final String LOGIN_CONFIG_FILE = "./config/main/LoginServer.ini"; private static final String LOGIN_CONFIG_FILE = "./config/LoginServer.ini";
// others // others
private static final String BANNED_IP_FILE = "./config/others/banned_ip.cfg"; private static final String BANNED_IP_FILE = "./config/others/banned_ip.cfg";
public static final String SERVER_NAME_FILE = "./config/others/servername.xml"; public static final String SERVER_NAME_FILE = "./config/others/servername.xml";

View File

@ -63,11 +63,11 @@ public class LoginServer extends FloodProtectedListener
public static void main(String[] args) public static void main(String[] args)
{ {
// GUI // GUI
final PropertiesParser serverSettings = new PropertiesParser(Config.LOGIN_CONFIG_FILE); final PropertiesParser interfaceSettings = new PropertiesParser(Config.INTERFACE_CONFIG_FILE);
Config.ENABLE_GUI = serverSettings.getBoolean("EnableGUI", true); Config.ENABLE_GUI = interfaceSettings.getBoolean("EnableGUI", true);
if (Config.ENABLE_GUI && !GraphicsEnvironment.isHeadless()) 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."); System.out.println("LoginServer: Running in GUI mode.");
new Gui(); new Gui();
} }

Binary file not shown.

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True

View File

@ -4,8 +4,6 @@
# Enable L2jMobius GUI when OS supports it. # Enable L2jMobius GUI when OS supports it.
# Provides access to admin commands without the need to be online. # 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 # Default: True
EnableGUI = True EnableGUI = True