
NewShop
A complete and intuitive virtual store system for Minecraft Paper servers, allowing players to buy and sell items to each other through a menu.
121
1
Список изменений
Added
- Pagination System: Shop now supports unlimited items with page navigation (previous/next buttons)
- Category System: Items are automatically categorized (Blocks, Tools, Weapons, Food, etc.)
- Search Functionality: New
/shop search <query>command to find specific items - Category Filtering: New
/shop category <category>command to browse by category - Transaction Logging: All purchases and sales are now logged to console for auditing
- Expired Listings: Configurable item expiration system (default 7 days)
- Inventory Full Check: Prevents purchases when buyer's inventory is full
- Admin Commands:
/shop admin clear- Clear all shop items/shop admin reload- Reload configuration/shop admin stats- View shop statistics
- Enhanced GUI Navigation: Back buttons and better menu flow
- Item Comparison: Proper ItemStack comparison including NBT data and metadata
- Configuration File: New
config.ymlwith all customizable settings - Detailed Permissions: Granular permission system for all features
- Auction System: Complete auction functionality with bidding
/auction- Browse active auctions/auction create <starting bid> <duration>- Create new auction- Automatic auction expiration and winner notification
- Bid history tracking
- Wishlist System: Track items you want to buy
/wishlist- View your wishlist/wishlist add <material> <max price>- Add item to wishlist- Automatic notifications when wishlist items become available
- Statistics System: Comprehensive transaction tracking
/shopstats- View your personal statistics/shopstats global- View global shop statistics (admin)- Track total sales, purchases, revenue, and spending
- Transaction history with timestamps
- Most sold items and top sellers
- Chest Shop System: Physical chest-based shops in the world
/criarloja <price>- Create a chest shop while looking at a chest and holding an item/loja preco <price>- Change shop price/loja coletar- Collect earnings from offline sales/loja ilimitado- Toggle unlimited stock (admin permission)/loja remover- Remove chest shop/loja minhas- List all your chest shops/loja adicionar- Add items from hand to chest shop stock- Automatic stock management from chest inventory
- Protection against unauthorized breaking
- Left-click to view shop info, right-click to buy
- Shift + right-click to buy maximum amount
- Owner management with shift + right-click
Fixed
- Item Matching Bug: Fixed unreliable item matching in
/myshopusing proper ItemStack comparison - Durability Issues: Removed deprecated
getDurability()calls - Data Persistence: Improved save/load reliability with better error handling
- Memory Leaks: Proper cleanup of GUI sessions and listeners
- Concurrent Modification: Thread-safe operations on shop data
- Critical Bug Fixes:
- Fixed method signature mismatch in StatisticsManager causing compilation errors
- Fixed NullPointerException in ChestShopListener when inventory location is null
- Fixed item loss when auction winner is offline - items now stored for later retrieval
- Fixed item loss when seller is offline for expired listings
- Fixed economy null checks throughout all transaction methods
- Fixed NumberFormatException in page number extraction with try-catch
- Fixed WishlistManager data loading path construction
- Fixed ConfigManager to preserve existing config on reload
- Added proper offline player handling for all transactions
- Added validation for world existence when loading chest shops
- Improved error messages and logging throughout
Technical
- Package Structure:
com.example.newshopwith subpackages for models, managers, gui, commands, and listeners - Data Format: Enhanced YAML structure with UUID-based item tracking
- API Version: Updated to
1.21for Paper compatibility - Build System: Maven with shade plugin for dependency management
- Multiple Data Files: Separate YAML files for shops, auctions, wishlists, statistics, and chest shops
Configuration
- New configurable options in
config.yml:- Maximum items per player
- Tax percentage on sales
- Item expiration days
- GUI titles and messages
- Category display names
- Admin permissions
- Auction settings
- Wishlist limits
- Statistics tracking options
- Enable/disable GUI shop system
- Enable/disable chest shop system
Файлы
NewShop-3.0.0.jar(82.17 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
3.0.0
Загрузчики
Paper
Версии игры
1.21–1.21.10
Загрузок
70
Дата публикации
5 мес. назад
