Critical Fixes Applied:
- Default Storage Changed to FILE - EnderChest and config now default to YAML instead of MySQL, eliminating connection errors
- features.yml Save Conflict Fixed - Removed duplicate save attempts causing "file already exists" errors
- SellGUI Complete Config - Added missing gui.main.title, categories, and all GUI sections to default config
- Material Name Compatibility - Added automatic fallback handling for 1.21.x material naming variations (WOODEN_/WOOD_, GOLDEN_/GOLD_, PORK/PORKCHOP)
Result:
No more MySQL connection errors on startup
SellGUI loads all 7 categories properly
GUI opens correctly (no grey screen)
All material names work across Minecraft versions
1.21.11 Support Confirmed
MAJOR FEATURES (Skript) + LEAF Support
1. Skript Addon Support
Full integration with Skript plugin for custom scripting
Server owners can now customize PoSMP features without Java knowledge
Included Syntax:
- 1 Custom Event: Team creation
- 2 Expressions: Player's team name, Player's crystal balance
- 1 Effect: Create team for player
- 1 Condition: Check if player is in team
Example Script:
on posmp team create:
broadcast "%player% created team %event-text%!"
add 1000 to player's crystals
give diamond to player
Requires: Skript 2.9.5+ (optional, gracefully disabled if not present)
2. FILE Storage History System
SellGUI history now works WITHOUT database requirement
Complete transaction history saved to YAML files
Features:
- Transaction list with dates and values
- Pagination for browsing history
- Click transactions to view full details
- Individual item breakdown showing everything sold
- Each item displays: name, amount, value, category
- Stores last 100 transactions per player
- Saves to: plugins/PoSMP/sell_history.yml
Before: FILE storage users couldn't see history (crashed)
After: Full working history for everyone, no database needed
3. Team Deletion GUI
New delete team button in Team Info menu (owner only)
Beautiful confirmation system before deletion
Proper cleanup of all member data
Notifies all team members when team is deleted
Safe deletion with cancel option
========================================
CRITICAL BUGS FIXED
========================================
From v1.3.9:
1. History GUI Crash with FILE Storage
Fixed: NullPointerException when clicking History button
Fixed: All pagination functions now work with FILE storage
Fixed: Transaction details now display correctly
Result: Complete working history system for FILE storage users
2. Chat Logging IOException
Fixed: Console spam with "Stream closed" errors
Fixed: Persistent FileWriter causing issues
Result: Clean, stable chat logging with no errors
3. Double "Left Team" Message
Fixed: Players receiving duplicate messages when leaving teams
Result: Single clean message per action
4. Color Codes Not Rendering
Fixed: Raw color codes showing in console (§c, §7, etc.)
Result: Clean, professional console messages
5. Unclear ChatFeature Disable Message
Fixed: Ambiguous "will now disable" message
Result: Clear "will disable on next restart" with instructions
From v1.3.8:
6. SQLite Native Library Error on Leaf 1.21.4
Fixed: Plugin crash on enable with Leaf servers
Fixed: Automatic fallback to FILE storage
Result: Works on all server types (Leaf, Paper, Spigot, etc.)
7. Config Reset Bug
Fixed: Configs randomly resetting user changes
Result: User configurations properly preserved
8. Team Persistence Issues
Fixed: Teams not saving properly
Fixed: Team deletion not working
Fixed: "Not in team" error on creation
Result: Reliable team data persistence
========================================
UPGRADE INSTRUCTIONS
========================================
From v1.3.8 or v1.3.9:
1. Stop your server
2. Backup plugins/PoSMP/ folder
3. Replace old JAR with PoSMP-1.4.0.jar
4. Start server
5. No config changes needed
For Skript Support (Optional):
1. Install Skript 2.9.5+ from SkriptLang releases
2. Install PoSMP 1.4.0
3. Restart server
4. Create scripts in plugins/Skript/scripts/
5. Check console for "PoSMP Skript addon loaded successfully"
For History System:
If upgrading and using FILE storage:
1. Delete plugins/PoSMP/sell_history.yml (old format)
2. Restart server
3. Make new sales to populate new history format
4. History will now show full item details
========================================
WHATS NEXT
========================================
Planned for v1.5.0:
- Shop GUI
- More Skript syntax elements (home, TPA, bounty, marriage)
- Team levels and XP system
- Team wars and competitions
- More crystal economy options
- Async database operations
- Enhanced GUI customization
- Better conflict detection
- Performance optimizations
No more command conflicts! PoSMP now automatically detects if you have Essentials or similar plugins installed and adjusts command registration accordingly.
How It Works
- With Essentials/CMI Installed: Uses prefixed commands (/pgamemode, /pfly, /ptp, /pheal)
- Without Essentials: Gets clean, intuitive commands (/gamemode, /fly, /tp, /heal)
- Zero Configuration: Works automatically - no setup required!
Commands Now Affected
Core gameplay commands (now prefix-free when safe):
- /gamemode (with aliases /gm, /gma, /gmc, /gms, /gmsp)
- /fly, /god, /vanish, /heal, /feed, /back
- /tp, /spawn, /time, /weather
Technical Improvements
- CRITICAL FIX: Resolved command override conflicts with Essentials
- Dynamic Registration: Commands registered at runtime after conflict detection
- Clean Shutdown: Fixed plugin shutdown errors
- Backward Compatible: All existing functionality preserved
User Experience
- Essentials Users: Everything works as before with prefixed commands
- Non-Essentials Users: Enjoy clean, intuitive commands without awkward prefixes
- Server Owners: Zero configuration - just works automatically!
Bug Fixes Applied
- Shutdown Error Fixed
- No more IllegalPluginAccessException during server shutdown
- Data saving now works properly (sync during shutdown, async during normal operation)
- Essentials Commands Fixed
- /pspawn, /psetspawn, /pheal, /pfly etc. now work correctly
- 'p' prefix preserved to prevent Essentials conflicts
- Config properly controls command availability
PoSMP v1.3.5 Update
Released: October 5, 2025
What's New
Auction House Improvements
No more inconvenient purchases! Right-clicking an item now shows a confirmation screen before buying. You'll see exactly what you're purchasing, the price, and buttons to confirm or cancel. Much safer and clearer than the old double-click system.
TPA Request Fixes
Fixed the accept/decline buttons in TPA requests - they actually work now when you click them!
Bounty System Updates
- New command: Players can now cancel bounties with /bounty cancel <player> Be sure to give players the following permission: posmp.bounty.cancel.self
- Less spam: Bounty reminders now appear every 10 minutes instead of every 30 seconds
- Players who cancel bounties lose 50% of their fee and refunds the remainder to them (configurable for server owners) [bounty.yml]
- Fixed /Bounty map - typing player name - so you can bind map to the player you want to hunt!
Why This Matters
- Safer item purchases with visual confirmation
- Working TPA buttons (no more frustration!)
- Quieter bounty notifications that don't spam chat
Scoreboard.yml now allows you to switch server location (for ping). That's about it really!
PoSMP v1.3.4 - Patch Notes
Release Date: October 2, 2025
Overview
Version 1.3.4 brings critical bug fixes to the SellGUI system, comprehensive MySQL database support for 12+ features, and improved transaction history interface.
Database Support (MySQL + File Storage)
12 Features with MySQL Persistence
Full MySQL database support for data persistence across server restarts. All features support both MySQL and file-based storage (YAML/SQLite) with automatic fallback.
Features with Database Support: Home System, Team System, Stats System, Crystal Currency, AFK System, Settings System, Bounty System, Auction System, Build/Claims, Crates System, SellGUI System, Marriage System
Configuration Locations
Centralized Configuration (5 Features) File: plugins/PoSMP/config.yml
Individual Feature Configurations (7 Features) Each feature has its own storage section in their respective config files:
- Home, Team, Stats, Crystal, and AFK features use shared centralized storage in the player-data-storage section
Example storage configuration:
- Settings: features/settings.yml
- Bounty: features/bounty.yml
- Auction: features/auction.yml
- Build: features/build.yml
- Crates: features/crates.yml
- SellGUI: features/sellgui.yml
- Marriage: features/marriage.yml
storage:
type: yaml
# Options: yaml, mysql
mysql:
host:
localhost
port:
3306
database:
posmp
username:
root
password:yourpassword
table-prefix: posmp_
Database Features
- Automatic table creation
- Connection pooling with HikariCP
- Auto-reconnect and async operations
- Automatic fallback to file storage if MySQL unavailable
- Transaction support for data integrity
Critical Bug Fixes
SellGUI Payment System - CRITICAL FIX
Issue: Players were being paid 64x more than intended for all items sold.
Fix: Removed duplicate multiplication in payment calculation methods.
- Example: 64 Birch Logs worth $128 total was paying $8,192
Transaction History Values - CRITICAL FIX
Issue: Transaction history showed wildly incorrect values.
Root Cause: When saving to database, history multiplied value by item amount again when value already included the full stack.
- Example: Sold 64 Carrots for $96, but history showed $6,758.40
Fix: Removed duplicate multiplication when saving to history database. Note: Existing history entries will still show incorrect values - only new transactions after this update will be accurate.
Feature Improvements
Item Value Display - Permission Removal
Change: Removed permission requirement for viewing item values.
- All players can now see item values in tooltips and actionbar
- No posmp.itemvalue.actionbar permission required
Transaction History - Improved Clarity
Changes:
- Removed confusing "Avg/Item" from history displays
- Changed "Total Value" to "Total Payment" for clarity
- Individual items show "Worth: $X each" and "Sold for: $XXX"
- Fixed SQL query to properly sum all items in a transaction
Tax System - Disabled by Default
Tax rate set to 0.0 by default in configuration. Can be re-enabled by changing tax-rate in sellgui.yml.
Missing Message Configuration
Added missing tax-message configuration to messages section.
Technical Changes
- Fixed payment calculation.
- Fixed transaction history value storage
- Removed permission check from actionbar display for item values
- Updated transaction detail tooltip labels for clarity
- Added intelligent GUI item detection to prevent value tooltips on GUI buttons
- Added storage sections to all feature configs with MySQL examples
- Enhanced config.yml with centralized player-data-storage section
Upgrade Instructions
Standard Upgrade (File Storage)
- Stop your server
- Backup your current plugin
- Remove old PoSMP Folder (your previous data will be deleted)
- Replace PoSMP-1.3.3.jar with PoSMP-1.3.4.jar
- Restart server - new config sections will auto-generate
MySQL Migration (Optional)
- Create MySQL database and user
- Update configuration files (change type: yaml to type: mysql)
- Restart server - tables will auto-create and data will migrate
- Verify in console for successful initialization
Impact Summary
Payment Calculation Bug Critical Fixed Transaction History Values Critical Fixed MySQL Database Support (12 features) Major Feature Added Item Value Permissions Medium Fixed Transaction Display Clarity Medium Fixed
Known Issues
Transaction History (Pre-1.3.4 Data): Existing transaction history entries saved before v1.3.4 will show incorrect values. New transactions after updating will be accurate.
