Armor set pieces now add up: on 1.21+ every attribute modifier of a piece shared one id with the other pieces of its set, so only one piece counted (full Beacon gave 8 armor instead of 20, 7 toughness instead of 28, 0.1 knockback resistance instead of 0.4). Needs SnLib 1.50.1 or newer, which names the modifier per slot; update both jars together.
Existing pieces rebuild automatically the next time they are touched (join, respawn, world change, held slot, hand swap, armor equip, pickup, container open, /fullpvp reload, /fullpvp item sync). Amount, durability and instance data are kept; nothing is lost.
Armor attributes: lines (ATTRIBUTE OPERATION amount slot) must name the piece slot (head, chest, legs or feet); a line with armor, any or no slot still shares one id across the pieces.
Internal: the item revision now includes a build-format number (ItemLoader.BUILD_REVISION), bumped whenever the built stack changes for a reason outside the yml.
Upgrade menu: new optional pieces region that lists every core item of an upgrade chain you hold (worn armor first, then main hand, off hand and inventory, hotbar first), painted with the real item. A click picks it ([fpc-pick] {slot}, templates piece / piece-selected, placeholders {item}{to}{where}{slot}). Worn armor and the off hand can now be upgraded in place.
The upgrade menu opens with the item in your hand picked when it can be upgraded, else your first piece that can.
Shift-click picking keeps working; a menu file without the pieces region behaves exactly as before (SnLib merges the new region and templates into existing files; add p cells to your layout to show them).
New lang keys (auto-merged): upgrade.piece-max, upgrade.where.*.
Public developer API, API_VERSION 1.0.0 (package com.sn.fullpvpcore.api, resolved with SnFullPvpCoreProvider.get()).
Read-only queries: modules, combat tag, PvP protection and newbie state, currencies (CurrencyView) and stored balances, core item ids and item creation, kill streaks.
Cancellable events fired before the change: PlayerCombatTagEvent, PlayerPvpToggleEvent, ItemUpgradeEvent.
New config key api-events.enabled (default true, auto-merged): turns the API events off; the queries keep working.
Known limitations
Balances are stored in hundredths for every currency; dev balances written by builds before 1.0.0 at decimals: 0 read 100x smaller.
Profile persistence has windows (DB stall over 10 s, a failed quit save, a hard crash inside the 300 s flush) where a balance change can be lost or one side of a /pay persisted.
Kept items: toggling modules.items off while a player is dead, then restarting before they respawn, loses their kept items; another plugin flipping keepInventory after SnLib's stash can duplicate kept items at respawn.
PvP protection and the combat tag do not attribute TNT, end crystals, anchors, lava or fire; the safe-zone lock does not cover mounts or vehicles; commands dispatched by other plugins skip the combat command block.
PlaceholderAPI placeholders read profile and combat data from the calling thread (display only).
The license check runs on the main thread at enable; a non-retryable HTTP status from the license server disables the plugin at once.
First stable release: 15 toggleable modules (rules and zones, multipliers, currencies, items with live sync, combat, PvP, cooldowns, elytra, death, tops, streaks, upgrade, compress, trades, mines, magnet, events), PlaceholderAPI expansion and admin commands.
Final audit fixes: a take that quantizes to 0 is refused, reset accepts a zero starting balance, translated rules label, combat boss bar titles come from the language file, a stale kept-items copy is no longer restored over a kept inventory.
Known limitations
Balances are stored in hundredths for every currency; dev balances written by builds before 1.0.0 at decimals: 0 read 100x smaller.
Profile persistence has windows (DB stall over 10 s, a failed quit save, a hard crash inside the 300 s flush) where a balance change can be lost or one side of a /pay persisted.
Kept items: toggling modules.items off while a player is dead, then restarting before they respawn, loses their kept items; another plugin flipping keepInventory after SnLib's stash can duplicate kept items at respawn.
PvP protection and the combat tag do not attribute TNT, end crystals, anchors, lava or fire; the safe-zone lock does not cover mounts or vehicles; commands dispatched by other plugins skip the combat command block.
PlaceholderAPI placeholders read profile and combat data from the calling thread (display only).
The license check runs on the main thread at enable; a non-retryable HTTP status from the license server disables the plugin at once.