
Xshards
Xshards is a Minecraft plugin that introduces a shard-based economy, enabling players to earn shards through gameplay, purchase items from a public shop, and manage their shard balances with various commands.
4.2K
5
Список изменений
ersion 1.2.7 - Shop GUI Customization (Database Edition)
Features:
- NEW: Customize shop inventory title in config.yml (store.title)
- NEW: Per-item custom display names (editable via /store editname
) - NEW: Per-item custom lore (editable via /store editlore
<line1|line2|...>) - NEW: Global default lore for all shop items in config.yml
- NEW: Full color code support (&a, &c, etc.) for all customizations
- Support for {price} placeholder in lore
Database Schema Updates:
- Added
display_namecolumn to shop_items table (VARCHAR 256 / TEXT) - Added
lorecolumn to shop_items table (LONGTEXT / TEXT) - Backward compatible - existing shops auto-migrate
New Commands:
/store editname <slot> <name>- Set custom display name for item/store editlore <slot> <line1|line2|...>- Set lore with | as separator
Configuration Example:
store:
title: "&6Custom Shop Name"
default-lore:
- "&7Price: {price} shards"
- "&8Click to purchase"
Data Storage:
- Per-item customizations saved in database (MySQL/SQLite)
- Global settings configured in config.yml
- Changes via commands immediately persist to database
Technical Updates:
- Updated version to 1.2.7
- Added display_name and lore fields to ShopItem class
- Updated DatabaseManager table creation for both MySQL and SQLite
- Enhanced ShopManager with batch save/load for customizations
- Added setItemDisplayName() and setItemLore() methods
- Tab completion for editname and editlore commands
Файлы
Xshards-1.2.7.jar(17.18 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.7
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.17–1.21.11
Загрузок
482
Дата публикации
1 мес. назад
