Enable / Disable Rules

The central configuration file is Data\Plugin\Plugin.ini (read by the GameServer). A feature is ON only when both of the following conditions are met:

  1. Purchased. START receives the list of purchased features from the website (RSA-signed) and passes it to the GameServer in memory. This list is not stored in any file, so a GameServer running without START is treated as having purchased nothing, and all purchased features are OFF.
  2. Server owner's switch: [Plugin] <Name> = 1. Set 0 to turn off a purchased feature. Setting 1 cannot enable a feature that has not been purchased.

If a key is missing from [Plugin], the code reads it with the default value 1 (meaning only the purchase condition remains). Key names are case-insensitive (for example newmap in the file matches NewMap in the code).

No exceptions: test servers and customer servers follow the same rule. To try a plugin, you must purchase it.

Reloading After Editing

  1. Edit and save Data\Plugin\Plugin.ini (or the plugin's own configuration file).
  2. In the GameServer control window, click the Reload plugin button (Vietnamese: Nạp lại Plugin). Players currently online receive the new values immediately without having to re-enter the game (the client is sent the enable/disable list and the display parameters again).

This button reloads: LuaAPI, Lua UI, PostItem, VipSign, ItemDrop, FlagItemOption, JewelUpgradeSystem, ItemOptionSystem_Exc, ConsumeItem, ExtendedOptionSystem, HideAndSeek, UseInventoryItem, NPCMoveMap, EventMap, Fashion, RewardCenter, the leaderboard (Ranking), Exchange and custom monsters (Monster). The Reload config button is a different button, used for other Server configurations, and does not replace Reload plugin.

When a plugin is switched off abruptly (for example Monster = 0), the effect on players currently online depends on that plugin; see the plugin's page.

[Plugin] Key Table

The order and key names are fixed and match the feature catalog sold on the website. All values in the sample file are 1.

Key Value Default What it enables Page
Camera3D 0 / 1 1 3D camera and fog (3D button, F9 key) Camera3D - 3D Camera and Fog
GlEnable 0 / 1 1 Image sharpening / color adjustment (parameters in [GlEnable]) GlEnable - Graphics Sharpening
Antilag 0 / 1 1 Antilag panel (F11 key, AT button) Antilag - Lag Reduction Panel
TimeUI 0 / 1 1 Clock / FPS / ping box (parameters in [MenuTitle]) TimeUI - Server Time, FPS and Ping
LuaApi 0 / 1 1 Loads the GameServer Lua API set (Data\LuaAPI) LuaApi and UiLua - Lua Programming
UiLua 0 / 1 1 Client-side Lua interface (Data\Lua_Ui) LuaApi and UiLua - Lua Programming
PostItem 0 / 1 1 Item advertising channel (parameters in [PostItem]) PostItem (item advertising / showcase channel)
Ranking 0 / 1 1 Leaderboard Ranking (leaderboard)
Launcher 0 / 1 1 Quick login from the Launcher (Data\Plugin\Launcher\Launcher.ini, also requires [QuickLogin] Enable = 1) Launcher (quick login)
DropEffect 0 / 1 1 Effects when items drop (Data\Plugin\ItemDrop\ItemDrop.xml) DropEffect (item drop effects)
Monster 0 / 1 1 Custom monsters (Data\Plugin\Monster\*.xml + Monster.bmd on the client) Monster (custom monsters)
CustomMap 0 / 1 1 Click on the Tab map to make the character run automatically + extra zoom levels CustomMap - Click the Map to Auto-Run
ChatIcon 0 / 1 1 Emoticon icon button in the chat box ChatIcon - Emoticon Icons in Chat
Fashion 0 / 1 1 Fashion window (Data\Plugin\Fashion\Fashion.xml) Fashion (costumes)
Logo 0 / 1 1 Animated logo in the top-right corner (parameters in [Logo]) Logo - Animated Top-Right Logo
InventorySort 0 / 1 1 "Sort" button in the inventory InventorySort - Inventory Sort Button
TSWMUWeb 0 / 1 1 Connects the website with the GameServer (Data\Plugin\WebAPI) TSWMUWeb (website - game bridge)
newmap 0 / 1 1 Event Map tab and private maps NewMap (Event Map / private map)
PluginPlus 0 / 1 1 Shared switch for 7 systems: ItemOptionSystem_Exc, ConsumeItem, ExtendedOptionSystem, JewelUpgradeSystem, UseInventoryItem, NPCMoveMap, HideAndSeek (each file has its own Enable) PluginPlus

Reserved Keys (No Function Yet)

The following keys exist in the key list of the GameServer and Main.dll, but no code uses them yet, so setting 0 or 1 changes nothing. Do not purchase them expecting functionality.

Key Note
MapMove Reserved, does nothing. The click-the-Tab-map-to-auto-run feature uses the CustomMap key.
ItemEffect, VipTitle, BuffEffect, BmdCrypt, LuaCrypt, DungeonBoss Reserved, no function yet. [NEEDS CHECKING: searched the GameServer and Main.dll code and found nowhere that calls these keys; confirm again with the released version before publishing]

Detailed Sections in Plugin.ini

Besides [Plugin], the file has its own configuration sections. They only take effect when the corresponding feature is ON (except [CommandPanel] and [VipSign]).

Section Used for Page
[CommandPanel] Hotkey that opens the command panel (Hotkey, default F1). Not a sold feature. CommandPanel - F1 Command Panel
[GlEnable] Brightness, Contrast, Saturation, Gamma, Sharpness, FXAA, Dither GlEnable - Graphics Sharpening
[PostItem] Advertising channels: minimum level, length, zen fee, cooldown, format and color of each channel PostItem (item advertising / showcase channel)
[MenuTitle] Enable, Time, FpsPing, Datatime, Camera3DButton, AntilagButton TimeUI - Server Time, FPS and Ping
[Logo] Count, Scale Logo - Animated Top-Right Logo
[VipSign] Count, Size, Gap. Free, no purchase needed. VipSign - Animated VIP Icon
[Ranking] Still in the sample file (Hotkey, UpdateMinutes, ShowGM, show_*) but the current leaderboard does not read this section; the real configuration is in Data\Plugin\Ranking\config.ini. Ranking (leaderboard)
Each section has examples and a full key table on the corresponding plugin's page.

Systems in Data\Plugin Without a [Plugin] Key

The following systems have configuration files in Data\Plugin\ but are not enabled by a key in [Plugin]:

System Enabled by Page
Reward Center Its own configuration in Data\Plugin\RewardCenter\ Reward Center (F3 Rewards)
Offline Attack Common.ini [OfflineAttack] Enable and the map flag in WorldTemplate.xml Offline Attack (offline auto-hunting)
Exchange (exchange shop) Its own configuration in Data\Plugin\Exchange\ Exchange (item exchange shop)
FlagItemOption (back-worn flag) Enable="1" in FlagItemOption.xml Back-worn Flag (FlagItemOption)

[NEEDS CHECKING: these systems may still be sold separately on the website; the current GameServer code does not check the purchased list for them]