Список изменений
✨ New Features
Clan System 🛡️
- Full clan system with create, disband, invite and leave functionality
- Role system: Leader, Officer, Member – with promotion & demotion
- Clan chat (
/clan chat) exclusive to clan members - MOTD (Message of the Day) settable per clan
- Clan tags (e.g.
[ABC]) customizable by the leader - GUI-based clan menu (
/clan) with multiple screens:- Overview screen with clan info, MOTD, invite, chat and admin panel
- Members screen with paginated player heads
- Member management screen (kick, promote, demote)
- Disband confirmation screen with safety prompt
- PlaceholderAPI integration:
%smpsystem_clan_name%,%smpsystem_clan_tag%,%smpsystem_clan_role%,%smpsystem_clan_members%, and more - Persistence via MySQL (HikariCP) or flat-file (
clans.yml) - Configurable: max members, max officers, name/tag length, invite timeout, creation cost
Auction House (AH) 💎
- Players can list items for sale with
/ah sell <price> - Clean 54-slot GUI (
/ah) with paginated listings - Purchase via left-click directly in the GUI with Vault economy integration
- Expired listings retrievable via
/ah expired - Own listings cancellable via
/ah cancel <id> - Listing fee and tax configurable
- Persistence via MySQL or flat-file (
auction.yml) - Configurable: fee, tax, listing duration, max listings per player, minimum price
MySQL / Database Support 🗄️
- HikariCP connection pool (5.1.0) integrated and shaded into the jar
- Automatic table creation on startup (
smp_clans,smp_clan_members,smp_auction_items, etc.) - Fully optional – falls back to flat-file when
mysql.enabled: false
🐛 Bugfixes
RTP System Fixed 🎯
- Fixed issue where players were not being teleported after executing the RTP command
- Removed problematic asynchronous chunk loading that caused race conditions
- Direct teleportation now works smoothly with automatic chunk loading
- Added proper error handling for teleportation failures
Sell System Fixed 💰
- Fixed critical bug where items were lost when clicking "Cancel" on the confirmation menu
- Items are now properly stored and returned to player inventory when canceling
- Complete
ItemStackobjects are preserved (enchantments, NBT data, etc.) - Items correctly returned when closing GUI without clicking confirmation buttons
- Inventory management improved to prevent item duplication or loss
🔧 Technical Improvements
Inventory Event Handling
- Fixed timing issue where
onInventoryClose()was deleting stored items prematurely - Separated close event handling for Sell-GUI and Confirmation-GUI
- Proper cleanup of saved
ItemStacks only when appropriate
Code Quality
- Removed debug messages from production code
- Improved slot detection using
getSlot()instead ofgetRawSlot()for consistency - Better null checking and error prevention
Файлы
SMPSystem.jar(4.38 MiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
1.4.0-BETA
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
41
Дата публикации
2 нед. назад
