Server management and licensing tool: features, screens, and every key in START.ini (server, EDITOR port, Launcher port, SMTP, protection, website).
Overview
START.exe is the central control program of the server package. It:
- Activates and verifies the license using HDD ID + IP, see License. If the license is not valid, the servers cannot be started.
- Starts / stops / monitors ConnectServer, LoginServer, ServerLink and the GameServers, in the order of the leading number in the folder name. It shows the status, RAM / CPU, online player count, warnings / errors and the live log of each server.
- Auto-restarts a server when it crashes (5 / 15 / 30 / 60 seconds, stops after 5 crashes within 10 minutes), see Running with START.
- Safe shutdown: waits until data has been saved before exiting, see Safe server shutdown.
- Port check before starting a server: if a port is already taken by another program, it tells you which program.
- Connection ports for other tools: a port for EDITOR running on another machine, a port for the Launcher (register, login, change password, email code), and an API port for the website.
- List of purchased features (plugins): START fetches it from the license website and passes it to the GameServer; the GameServer only enables the features that were purchased.
- Skill tool: view / edit skill data and view the skill log.
- Only one START per server folder: opening it a second time just brings back the running window.
- Interface languages: Vietnamese, Chinese, English (
Language key).
- When START crashes, it writes a file
START_crash_<date_time>.dmp next to START.exe (only created on a real crash).
- When run with the
--autostart parameter (when "Run START with Windows" is on), START opens hidden in the system tray.
Screens
| Screen |
Content |
| Overview |
Number of running servers, total online players, CPU / RAM of the machine; the License section (HDD ID, WAN IP, status, licensee, expiry date, allowed version); the server list (click to open its tab); the Automatic switches: auto-start servers when START opens, run START with Windows, auto-restart on crash (for all). "Automatic database backup" and "Automatic maintenance" appear in the interface but are marked (coming soon) and cannot be used yet. |
| Individual server tabs |
Server information (status, ports, executable, warnings / errors), metric cards (online, RAM, CPU, uptime, thread count, restart count), the Start / Stop / Restart / Force kill buttons, and the Live log (View errors / View log / Skill log / Copy / Clear log). |
| Settings → General configuration |
Server folder, server list (Use / Name / Path / Auto-restart), Rescan, Add exe, delay between 2 servers, safe stop timeout, the system tray / run with Windows switches, and the Remote EDITOR connection section (enable, port, key, allowed IPs). |
| Settings → Server Administration |
Skill tool; Launcher (enable port, port, KEY, register / login / change password features, limits, SMTP, email scenarios, list of saved accounts); Launcher protection (protection level, firewall, trusted IP list). |
| Settings → Website Administration |
Only shown once the website has been purchased. Overview (accounts, characters, online, revenue, transaction tax, sub server), Connection (API port, key, allowed hosting IPs, database connection), Features (enable / disable each web feature), API port protection and logs. |
START.ini file
START.ini is located next to START.exe, in INI format saved as UTF-16, and is written by START itself when you click Save settings. You can edit it by hand while START is closed, but it is better to edit in the interface. Long encrypted values (the Key, Password, DbPassword keys) are generated by START and encrypted for the Windows account running START: do not edit them by hand and do not copy them to another machine. If a key is empty or missing, START uses the default value in the "Default" column (it is only written when different).
[General]
| Key |
Sample value |
Default |
Meaning |
Language |
2 |
2 |
Language of START (and of the servers' panels): 0 = Vietnamese, 1 = Chinese, 2 = English. |
ServerRoot |
(empty) |
empty |
Folder containing the servers. Empty = the folder of START.exe. Relative paths are calculated from the server folder. |
StartDelay |
2 |
5 |
Seconds to wait between two groups of servers when clicking Start all (0 - 600). |
StopTimeout |
90 |
90 |
Seconds to wait for a server to stop by itself before force-killing it, counted while the server is silent (10 - 1800). See Safe server shutdown. |
AutoStartOnOpen |
0 |
0 |
1 = the servers start immediately when START is opened. |
StartWithWindows |
0 |
0 |
1 = START runs automatically with Windows (written to the Run key of the current Windows account). |
CloseToTray |
0 |
1 |
1 = clicking X minimizes to the system tray; 0 = clicking X closes START. |
AutoBackup |
0 |
0 |
Automatic database backup: feature not finished yet, leave at 0. |
AutoMaintenance |
0 |
0 |
Scheduled automatic maintenance: feature not finished yet, leave at 0. |
[Servers] and [Server1] ... [ServerN]
| Key |
Sample value |
Default |
Meaning |
[Servers] Count |
9 |
- |
Number of servers in the list. If this key does not exist (START has never saved the list), START scans the server folder automatically the first time. |
[ServerN] Path |
1.ConnectServer\ConnectServer.exe |
- |
Path of the executable, relative to the server folder. |
[ServerN] Enabled |
1 |
1 |
1 = included in "Start all"; 0 = not used. |
[ServerN] AutoRestart |
0 |
1 |
1 = restart automatically on crash. (In the sample package it is set to 0; you should set 1 for servers running live.) |
When scanning, START only accepts files named ConnectServer.exe, LoginServer.exe, ServerLink.exe, GameServer.exe. The start / stop order follows the number at the beginning of the name of the folder containing the file.
[EditorGateway] (EDITOR running on another machine)
| Key |
Sample value |
Default |
Meaning |
Enabled |
1 |
0 |
Allow EDITOR on another machine to connect through START. |
Port |
44450 |
44450 |
Port (1 - 65535). Do not expose this port to the Internet unless necessary. |
Key |
(encrypted) |
empty |
Connection key, created with the Generate key / Copy buttons. When a new key is generated, any EDITOR using the old key can no longer connect. |
AllowedIps |
(empty) |
empty |
Allowed IPs, separated by commas. Empty = any IP (the Key is still required). Fill it in when the port is exposed externally. |
[LauncherGateway] (port for the Launcher)
| Key |
Sample value |
Default |
Meaning |
Enabled |
1 |
0 |
Enable the port for the Launcher to connect (START on = the Launcher sees the server online). |
Port |
44461 |
44460 |
Port the Launcher connects to (expose it to the Internet if players are outside your network). |
Key |
(encrypted) |
empty |
Dedicated KEY of the Launcher port (different from the EDITOR key). This KEY is built into the Launcher you distribute to players; if you generate a new KEY, old Launchers can no longer connect and you must export again. |
Register |
1 |
1 |
Allow account registration on the Launcher. |
ChangePassword |
1 |
1 |
Allow password changes on the Launcher. |
EmailCode |
1 |
0 |
Registration requires entering an activation code sent by email (SMTP must be configured). |
ForgotPassword |
1 |
0 |
Changing the password requires entering an OTP code sent by email. |
RegisterPerIp |
10 |
3 |
Number of accounts that can be registered per day per IP (0 = unlimited; maximum 1000). |
RegisterPerMachine |
10 |
2 |
Number of accounts that can be registered per day per player machine (0 = unlimited). |
CodeMinutes |
10 |
10 |
Number of minutes the email code stays valid (1 - 1440). |
Login, MaxAccounts, TokenDays |
1, 10, 30 |
1, 3, 30 |
These three values are actually read and written in Data\Plugin\Launcher\Launcher.ini under [QuickLogin] (Enable, MaxAccounts 1 - 20, TokenDays 1 - 365), not in START.ini. See below. |
Saved login (Launcher.ini). When [QuickLogin] Enable = 1, accounts that players log in with on the Launcher are saved (account + token, the password is not saved); selecting a saved account and clicking Start goes straight to the character selection screen. MaxAccounts = maximum number of accounts saved per machine; TokenDays = number of days a saved login session stays valid. Each account has only 1 token: logging in on the Launcher on another machine invalidates the old token (the old machine must log in again); changing the password also deletes the token. This feature only works when the server owns the Launcher plugin and Data\Plugin\Plugin.ini has [Plugin] Launcher = 1. START reads this file each time it is needed, so editing by hand does not require restarting START; each time START changes a value, the old file is copied to Data\Plugin\Launcher\Backup\.
[LauncherSmtp] (sending activation code emails)
| Key |
Sample value |
Default |
Meaning |
Host |
smtp.gmail.com |
empty |
SMTP server. |
Port |
465 |
465 |
Only the SSL port (465) is supported. Port 587 (STARTTLS) cannot be used. |
Ssl |
1 |
1 |
Use SSL. |
User |
mail@example.com |
empty |
Sender email account (also the sender address). |
Password |
(encrypted) |
empty |
Password. For Gmail, use a 16-character "app password". |
FromName |
TSWMU |
empty |
Display name of the sender. |
The keys FromEmail, Subject, Body may appear in the sample file in this section but this version of START does not read them; the email content is configured in [LauncherMail]. The interface has a Send test button to check SMTP.
[LauncherMail] (email scenarios by ID)
| Key |
Meaning |
Count |
Number of scenarios (maximum 20). If this section does not exist, START creates 4 default scenarios. |
IdN |
Scenario ID, ID 0 = do not send. Default IDs: 1 = registration code, 2 = welcome, 3 = forgot password code, 4 = password changed. EDITOR selects the ID for each action. |
NameN |
Name for administrators to recognize it. |
SubjectN |
Email subject. Empty together with ID 1 - 4 = use the default template according to the START language. |
BodyN |
Email body (write \n for a line break). Available variables: {account} {email} {code} {minutes} {time} {ip} {server}. |
[LauncherGuard] (Launcher port protection)
| Key |
Sample value |
Default |
Meaning |
Level |
1 |
1 |
Protection level: 0 strict, 1 medium, 2 relaxed. Violating IPs / machines are recorded in the launcher_ban table. |
Firewall |
1 |
0 |
1 = permanently blocked IPs get a block rule added to Windows Firewall. |
Whitelist |
(empty) |
empty |
IPs that are never blocked, separated by commas. |
[Website] (API port for the website)
Only used when the website has been purchased and is placed on hosting. The full guide is in the Game website setup section.
| Key |
Sample value |
Default |
Meaning |
Enabled |
1 |
0 |
Enable the API port for the hosting. |
Port |
44480 |
44480 |
API port (1 - 65535). |
Key |
(encrypted) |
empty |
64-character hex key, must match the secret key configured on the hosting side. |
HostingUrl |
https://web.example.com |
empty |
Website (hosting) address, used by the Test connection button. |
ApiUrl |
http://203.0.113.10:44480/api/v1 |
empty |
The START API address that the hosting calls (http://IP:port/api/v1). |
AllowedIps |
198.51.100.1,198.51.100.2 |
empty |
Allowed hosting IPs, separated by commas. Empty = any IP with the Key. |
DbHost, DbPort, DbUser, DbPassword |
127.0.0.1, 1433, sa, (encrypted) |
empty, 1433 |
SQL Server connection that START uses for the website. Empty = taken from GameDB in Data\game_common.conf. |
GameDb, WebDb |
MuOnline, Web_MuOnline |
empty |
Name of the game database and of the website's own database. |
Currency |
(empty) |
empty |
Currency used to display revenue: VND, USD, CNY, EUR, THB. Empty = follows the START language. |
FeaturesOff |
(empty) |
empty |
Web features that are turned off (keys separated by commas). Empty = all on. Change it in the interface rather than by hand. |
[WebGuard] (API port protection)
| Key |
Sample value |
Default |
Meaning |
Firewall |
1 |
1 |
START manages Windows Firewall rules itself: the API port is only opened to the hosting IP. |
RatePerIp |
1200 |
1200 |
Maximum number of commands per minute from each hosting IP (60 - 100000). |
BadLimit |
10 |
10 |
If an IP sends a wrong signature more than this many times within 10 minutes, it is locked (1 - 1000). |
BanMinutes |
30 |
30 |
Number of minutes an IP is locked (1 - 10080). |
WritePerAccount |
20 |
20 |
Maximum write commands per minute per account (0 = unlimited). |
WriteTotal |
300 |
300 |
Total write commands per minute for the whole system; when exceeded, it automatically switches to read-only mode (0 = off). |
ReadOnly |
0 |
0 |
Emergency mode: 1 = block all write commands (money, items, passwords, administration). |
Minimal START.ini example
[General]
Language=0
StartDelay=2
StopTimeout=90
AutoStartOnOpen=0
StartWithWindows=0
CloseToTray=1
[Servers]
Count=4
[Server1]
Path=1.ConnectServer\ConnectServer.exe
Enabled=1
AutoRestart=1
[Server2]
Path=2.LoginServer\LoginServer.exe
Enabled=1
AutoRestart=1
[Server3]
Path=3.ServerLink\ServerLink.exe
Enabled=1
AutoRestart=1
[Server4]
Path=4.1.GameServer_NON-PVP\GameServer.exe
Enabled=1
AutoRestart=1
Skill tool
In Settings → Server Administration → Skill tool: view the skill list (filter by ID / name), select a skill to view and edit its properties (name, required level, base damage, mana / BP cost, range, cooldown, stat requirements...) from the SkillList.xml and SkillExtra.xml files; attack speed (SkillAttackTime.xml) is view-only. There are Save and Undo buttons; each time you save, START backs up the old files to the _bak_skilltools folder. The tool needs to find the Data\Scripts\Skills folder inside the server folder.
Skill log: when Logskill = 1 in GameServer.conf and the Lua skill script writes logs, START shows the skill log lines of the characters you choose (all or by a list of names, with a mode to save the log to a file manually or automatically).
Notes
- START is the only way to start the servers: if you open
GameServer.exe or the other exe files directly, the program opens START instead.
- Do not copy
START.ini between machines or between server packages: ports and keys will be duplicated or unreadable.
- After changing START ports (EDITOR, Launcher, website), remember to open / change the corresponding port in the firewall: see Opening ports and firewall.