Java 17 support / Player Shop Browser#69
Open
ez-plugins wants to merge 22 commits into
Open
Conversation
- SchedulerAdapter: foliaHandle now uses Object + reflection so Folia-specific types (ScheduledTask, GlobalRegionScheduler) are never referenced as named types on non-Folia servers; all four Folia-branch var declarations changed to Object - smoke-tests.yml: add smoke-server job with Folia 1.21.4 (PaperMC API download) and Purpur 1.21.4 (Purpur API download, Spigot- compatible proxy) real-server startup tests; package job now requires both smoke and smoke-server to pass before uploading
…SellMenu Messages from ShopMessageConfiguration are already processed by MessageUtil.translateColors() (which handles both MiniMessage tags and legacy & codes). The extra translateAlternateColorCodes wrapper was a no-op on already-translated §-coded strings but added confusion. Use the message strings directly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added
/playershopGUI), commands, permissions, configuration reference, purchase flow, double-chest support, and tips./playershopscommand that opens a paginated, in-game inventory allowing players to browse all active player shops and purchase items without visiting each chest.MysqlPlayerShopRepositoryand support forplayer-shops.storage.type: mysql(configurablehost,port,database,username,password,table-prefix). The repository serialises item stacks as YAML and preserves deferred entries for worlds that are not loaded; the plugin falls back to the YAML backend if MySQL is unavailable at startup.PlayerShopComponentnow selects the configured storage backend (YAML or MySQL) at startup and registers the browse GUI and/playershopscommand when player shops are enabled.PlayerShopManagerexposeshasStock(PlayerShop)andformatPrice(double)(public) to support the browse GUI and other integrations.playershopscommand and theezshops.playershop.browsepermission (default: true).Changed
source/targetviajava.version), replacing the previous Java 21 compile target inpom.xml.paper.versionchanged to1.20.6-R0.1-SNAPSHOTto align with the Java 17 compatibility target.pom.xml:com.github.EzFramework:jaloquent->1.3.3com.github.EzFramework:JavaQueryBuilder->1.2.1com.github.EzFramework:Jaker->1.0.7Fixed
sign-formatkeys inmain-settings.md— the Player Shops configuration section documented non-existent keys (header,owner-line,item-line,stock-line,price-line,{stock}placeholder). It now documents the real keys (available-header,out-of-stock-header,owner-format,unknown-owner-name,item-format,price-format,out-of-stock-line) with the correct placeholders ({owner},{amount},{item},{price}).