DUXPLIMA Documentation

Installation

Requirements, the first start, and the files that appear.

Requirements

ServerBukkit, Spigot or Paper, 1.16 or newer
DatabaseSQLite, bundled (nothing to install)

Optional plugins

Every one of these is a softdepend. Each is also a switch under settings.Hooks in config.yml, so installing the plugin is not enough: the hook must be on.

PluginHook keyAddsDefault
VaultMONEYMoney as a requirementon
PlayerPointsPLAYERPOINTSPoints as a requirementoff
CoinsEngineCOINSENGINECoinsEngine currenciesoff
PlaceholderAPIPLACEHOLDERCondition requirements, and placeholderson
MMOItemsMMOITEMSMMOItems as requirements and rewardsoff
EcoItemsECOITEMEcoItemsoff
ExecutableItemsEXECITEMExecutableItemsoff
ItemsAdderIAITEMItemsAdder itemsoff
NexoNEXONexo itemson
NBTAPIn/aDeeper item matchingn/a
n/aSAVEThe built-in binary item storeon
n/aSKULLPlayer heads as itemson
n/aXPVanilla experience as a currencyon

IAITEM and NEXO are interchangeable. A trade configured with IAITEM will use Nexo if only Nexo is installed, and the reverse.

Installing

  1. Drop the jar into plugins/.
  2. Start the server once. The plugin writes its files and creates database.db.
  3. Stop the server.
  4. Turn on the hooks you need under settings.Hooks in config.yml.
  5. Define your categories, then edit the trade files they point at.
  6. Start again.

The files

plugins/uxmBlacksmith/
├── config.yml          settings, hooks, burn, vanilla crafting, progression, categories
├── language.yml        every message, English and Turkish
├── gui.yml             every menu layout
├── modules/
│   └── boosts.yml      boost item definitions
├── categories/
│   └── *.yml           the trades, one file per category
├── binary_files/       saved items, do not edit by hand
└── database.db         SQLite

Each has a page under Configuration.

categories/ files are generated. Name a file in a category's trades: key, restart, and the plugin writes it with worked defaults if it does not exist.

Never edit binary_files by hand

Those are serialised ItemStacks written by /blacksmith binary save. They are not meant to be readable, and a hand edit produces an item that fails to deserialise, which takes the trade referencing it down with it. Manage them through the binary subcommands.

Reloading

/blacksmith reload re-reads config.yml, language.yml, gui.yml, the boost module and every category file, and clears the burn permission cache.

Most settings apply without a restart. The database connection does not.

First checks

CheckHow
The plugin loaded/blacksmith opens the main menu
Slots are grantedA player without uxmblacksmith.slot.1 has zero slots
A hook is liveConfigure a requirement using it and open the trade
Progression is on/blacksmith admin profile <player> prints a level