Installation
- Copy
TCGPlugin-1.5.0.jarintoplugins/. - (Optional) install PlaceholderAPI for the
%tcg_...%placeholders, and Vault + an economy plugin (EssentialsX...) to pay with money. - (Optional) install ItemsAdder and the TCG items (see section 4).
- Start the server. The
plugins/TCG/folder is created (English files on a new install; to switch language, run/tcg language fr(ores,de), see Language):
plugins/TCG/
├── config.yml general settings, rarities, drops, menus, sounds
├── groups.yml collections: mobs, pack, drop chance, reward
├── cards.yml the cards
├── messages.yml all player-facing texts (MiniMessage)
├── boosters.yml boosters (packs of several cards)
├── objectives.yml daily and weekly objectives
├── itemsadder/tcg_items.yml ItemsAdder configuration template (not read by the plugin)
└── data.db SQLite database of the collections
Expected startup logs:
[TCG] Loading TCG...
[TCG] Loaded 5 groups
[TCG] Loaded 90 cards
[TCG] Loaded 4 rarities
[TCG] Loaded 7 boosters
[TCG] ItemsAdder hooked successfully
[TCG] SQLite connected
[TCG] PlaceholderAPI hooked successfully (%tcg_...%)
[TCG] TCG enabled (88 tracked mobs, storage SQLite)
If the configuration is invalid, every error is listed (file, key, faulty value) and the plugin disables itself instead of running half-broken.