This update addresses a series of bugs that were affecting core marketplace functionality, including listing management, permission checks, web bans, and server stability. No new features were added — this is a focused fix release.
What's New
Players could cancel or delete other players' listings A missing check allowed any logged-in player to cancel sell listings or remove buy orders that didn't belong to them. This has been corrected — only the owner of a listing can now cancel it.
Wrong permission checked when selling items When a player tried to fulfill a buy order, the server was checking the canBuy permission instead of canSell. Players with sell permissions disabled could still sell, and vice versa. This is now fixed.
Web bans were not working The web ban feature (banning players from the web portal) was silently failing due to an incorrect database query. Bans and unbans through the admin panel now apply correctly.
Transaction order safety During a purchase, the item was previously removed from the shop after the money was already transferred. The order has been corrected — the item is secured first, reducing the risk of inconsistencies if something goes wrong mid-transaction.
PNG images were not loading correctly in the web interface The web server was sending the wrong file type header for .png images (image/jpg instead of image/png). Images on the portal should now display correctly in all browsers.
"Page not found" page returned wrong HTTP status When a page was not found, the server was returning HTTP status 400 Bad Request instead of 404 Not Found. This caused some browsers and tools to misinterpret the response. Now fixed.
Server stability improvements for SQLite users When using SQLite as the database, the plugin was registering the database driver repeatedly on every connection, which could accumulate over time. It is now registered only once on startup.
Server no longer crashes on missing players or deleted items In some edge cases — such as buying an item that was just removed by another player, or when a player's data was missing from the database — the server could throw an unhandled error. These cases are now handled gracefully with proper error responses.
Why this matters
Server owners running an active marketplace will benefit the most from this update. The listing ownership fix prevents players from interfering with each other's trades, the web ban fix restores a broken admin tool, and the transaction safety improvement makes buy/sell operations more reliable under load. Updating is recommended for all servers using this plugin.
Version 1.11 introduces Automatic Item Expiry System, giving server owners better control over marketplace listings and preventing stale items from cluttering the shop.
Major Features
Listings now automatically expire after a configurable time period. When items expire:
Automatic Item Expiry
Default expiry time: 7 days (168 hours)
- They are removed from the marketplace
- Returned to the seller's in-game mailbox
- Sellers are notified in-game (if online)
- Processed automatically every hour
Configurable in:
config.yml → ItemExpiryHours
Manual Renewal Command
Players can now renew their listings before they expire:
/wa renew <ID>
- Resets the expiration timer to full duration
- Only the listing owner can renew their items
- Instant feedback on success or failure
The marketplace now shows expiry information for every listing:
Web Interface Time Display
- Countdown timer: "7d 12h", "2h 30m", "45m"
- Exact date: Full timestamp below the countdown
- Visual warnings: Expired items shown in red
Quick Start Guide
For Server Owners
# In config.yml
- Update the plugin:
- Replace your old WebPortal.jar with version 1.11 ( delete html folder ) start your server
Configure expiry duration (optional):
ItemExpiryHours: 168 # 7 days (default)
- Set to 0 to disable the expiry system entirely
For Players
- Check expiry time: Visit the marketplace website to see how long your listings have left
- Renew before expiry: Use
/wa renew <ID>
to reset the timer on your listing
- Retrieve expired items: Check your mailbox sign for returned items
New Commands
Command Description Permission /wa renew <ID> Renew your listing to reset expiration timer wa.renew
(default: true)
New Permissions
Permission Description Default wa.renew Allows using
/wa renew
commandtrue
Add this to your
Configuration
config.yml
:
# Item expiry duration in hours
# Default: 168 hours (7 days)
# Set to 0 to disable expiry system
ItemExpiryHours: 168
New translation keys added to
Translation Support
eng.yml
langExpiresIn: "Expires in"
langDays: "Days"
langHours: "Hours"
langMinutes: "Minutes"
langExpired: "Expired"
langRenewListing: "Renew Listing"
If you use a custom language file, add these translations.
Enjoy WebPortal v1.11!
This update brings a big improvement to the website experience, making it look cleaner, more modern, and much easier to use for both server owners and players.
Visual Improvements
• Fully refreshed the Admin and Buy pages
• Added a cleaner and more modern overall design
• Improved fonts and visual consistency across the website
• Updated colors, spacing, buttons, panels, and cards for a more professional look
• Added clearer visual feedback messages and status states
Better Mobile Experience
• Improved responsive layouts for better viewing on different screen sizes
• Pages now adapt better to smaller screens and different devices
• Navigation and content organization are easier to understand
Interface Improvements
• Reworked important UI sections to feel more organized and user-friendly
• Improved information panels and content blocks
• Made actions and page sections clearer for non-technical users
• Updated multiple website templates to match the new style
Front-End Improvements
• Updated and cleaned several front-end files, including:
◦ Shop page
◦ Sell page
◦ My Items page
◦ Translate-related files
• Improved internal page structure to better support the new design
System & Backend Adjustments
• Refactored admin-side JavaScript logic to better match the new interface
• Updated internal panel and state handling for improved consistency
• Adjusted backend DAO, connection, and initialization classes to support the changes
Extra Cleanup
• Various small improvements across the project to support this update
In Short
This update is focused on:
• Better design
• Easier navigation
• Improved mobile support
• Clearer user experience
• Internal cleanup and stability improvements
This update brings better security, improved stability, and the first steps of a refresh for the default website.
What’s new
• WebPortal now works only with secure HTTPS connections
• overall webserver stability improvements
• better behavior during traffic spikes
• fewer freezes and slowdowns in some situations
• adjustments to item images across the website
• beginning of a rework for the default website
Practical result
• more secure connection
• more stable experience for players
• more consistent responses when many people access the site at the same time
• cleaner visuals and a better base for future website updates
version 1.08
- add SSL suport
- add cmd vanilla OP/DEOP/BAN/PARDON
- Fix js ( need to delete html folder )
- Fix EssentailsX support +2.20.1
- Add support for LoginSecutiry +3.3.0
