Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Changelog

Happy Lunar New Year!
We're celebrating our major event - the Lunar New Year!
Like Christmas, Lunar New Year is a fairly important holiday in mainland China. People leave their work behind and return to their hometowns to reunite with their loved ones and family and celebrate the new year of the lunar calendar together.

I'd like to send Lunar New Year wishes to everyone in the lovely Minecraft community!


This update is a major update, please take care to backup your server and database. It is very difficult to roll back without a backup.

New features

  1. Added /qs debug purgeplayerscache to purge PLAYERS database table.
  2. Paster now contains more useful data.
    • Those paste entires has been added into paste:
    • PlayerFinder
    • Performance Monitor logs
    • MiscUtils data (including General, Shopable Types, Custom StackSize etc.)
    • TextManager data (including fallback language, local mapping prefix, file pathes, distribution url, available languages, post processors and caching stats)
    • Nexus Manager data
    • ItemMarker rules
    • Price Limiter settings and rules
    • Rank Limiter permission nodes
    • Interaction Controller mappings
    • PAPI Manager placeholder handlers and caching stats
  3. Added ton of new PlaceHolders.
    • All placeholders are caching for 15mins by default to reduce the server performance impacts.
    • You can find those placeholders from our documents.
    • All placeholders:
    • %qs_metrics_recent_purchases_global_all_x% - Count all purchases in recent x days with all types
    • %qs_metrics_recent_purchases_global_selling_x% - Count all purchases in recent x days which only selling shops
    • %qs_metrics_recent_purchases_global_buying_x% - Count all purchases in recent x days which only buying shops
    • %qs_metrics_recent_purchases_global_buying_x% - Count all purchases in recent x days which only buying shops
    • %qs_metrics_recent_purchases_player_all_x% - Count all purchases in recent x days with all types
    • %qs_metrics_recent_purchases_player_selling_x% - Count all purchases in recent x days which only selling shops for single player
    • %qs_metrics_recent_purchases_player_buying_x% - Count all purchases in recent x days which only buying shops for single player
    • %qs_metrics_recent_purchases_player_buying_x% - Count all purchases in recent x days which only buying shops for single player
    • %qs_metrics_recent_transactionamount_global_all_x% - Count all purchases transaction amount in recent x days with all types
    • %qs_metrics_recent_transactionamount_global_selling_x% - Count all purchases transaction amount in recent x days which only selling shops
    • %qs_metrics_recent_transactionamount_global_buying_x% - Count all purchases transaction amount in recent x days which only buying shops
    • %qs_metrics_recent_transactionamount_global_buying_x% - Count all purchases transaction amount in recent x days which only buying shops
    • %qs_metrics_recent_transactionamount_player_all_x% - Count all purchases transaction amount in recent x days with all types
    • %qs_metrics_recent_transactionamount_player_selling_x% - Count all purchases transaction amount in recent x days which only selling shops for single player
    • %qs_metrics_recent_transactionamount_player_buying_x% - Count all purchases transaction amount in recent x days which only buying shops for single player
    • %qs_metrics_recent_transactionamount_player_buying_x% - Count all purchases transaction amount in recent x days which only buying shops for single player
    • %qs_shopmanager_global_total_all% - Count all shops in this server
    • %qs_shopmanager_global_total_selling% - Count all selling shops in this server
    • %qs_shopmanager_global_total_buying% - Count all buying in this server
    • %qs_shopmanager_global_total_loaded% - Count loaded shops in this server
    • %qs_shopmanager_global_total_unloaded% - Count unloaded shops in this server
    • %qs_shopmanager_player_total_all% - Count all shops in this server for single player
    • %qs_shopmanager_player_total_selling% - Count all selling shops in this server for single player
    • %qs_shopmanager_player_total_buying% - Count all buying in this server for single player
    • %qs_shopmanager_player_total_loaded% - Count loaded shops in this server for single player
    • %qs_shopmanager_player_total_unloaded% - Count unloaded shops in this server for single player
    • %qs_metadata_fork% - Gets the QuickShop fork name
    • %qs_metadata_version% - Gets the QuickShop version
  4. Added ItemExpression.
  5. Added enchantment support for both blacklist and price-limit based on new ItemExpression system.
    • Including enchantment level restrictions
  6. Added switch ToggleDisplay ability into shop control panel.
  7. Added /qs debug updateplayersigns <player> command to allow batch updates all shops info sign for a specific player.

Bug fixes

  1. Fixed economy loading issue on serval servers.
  2. Fixed QuickShopItemMatcher cannot correct matching items (thanks @Lufano for reporting it).

Performance optimization

  1. Baking shops owner uuid<->name mapping in asynchronous threads.
  2. Loading transaction messages in asynchronous threads.
  3. Reduced unnecessary shop loading.
  4. Restricted the sign update watcher can max cost 50ms in single loop.
  5. Prevent shops loading on server startup if they're in unloaded chunks.
  6. Caching configuration values and pre-bake decimal formatter in busy tasks.
  7. Improved database upgrading / check for schame updates speed.
  8. Improved command handler lookup speed.

API changes

  1. QuickShop no-longer extends the JavaPlugin, this may break some 3rd-party addons.
  2. QuickShop logger now replaced by SLF4J.
  3. Some util funcations moved into PlatformUtil or CommonUtil.
  4. JsonUtil was moved into common module.
  5. Exposed PlayerFinder in QuickShopAPI
  6. Added QuickShopAPI#getSemVersion for returning a Semver object.
  7. Added ShopCreateSuccessEvent event.

Upcoming changes

The following features could not be included in 4.0.0.0 due to time constraints. We are celebrating the Lunar New Year, and as soon as our holiday is over, I will get back to development work and bring them to QuickShop-Hikari.

The following features have been confirmed and are in the process of being implemented.

  • Shop Inventory Rebinding
    • Allow user change the shop inventory out of shop container, player can easily binding to another container, or multiple container, to extend the shop.
      • This allows players to add the contents of multiple chests/containers to a single shop and update inventory/space information simultaneously.
      • If you have OpenInv installed, it can also bind the player's EnderChest inventory.
      • It is also possible to bind inventory from a plugin, or even from players and entities, if someone is willing to support InventoryWrapper API.
  • Extend DiscordSRV addon and allow players self enable/disable DM notifactions.
  • Add discord commands into DiscordSRV addon that allow players use discord command to query shops or transaction logs.
  • Migrate addons from QuickShop-Suite into QuickShop-Hikari mainline, and also adapt the per-player localization system.
  • Dynmap Integration

Files

QuickShop-Hikari-4.0.0.0.jar(7.57 MiB) Primary Download
Addon-DiscordSRV-4.0.0.0.jar(911.24 KiB) Download
Addon-Discount-4.0.0.0.jar(929.23 KiB) Download
Addon-Plan-4.0.0.0.jar(915.66 KiB) Download
Compat-AdvancedRegionMarket-4.0.0.0.jar(900.73 KiB) Download
Compat-BentoBox-4.0.0.0.jar(901.66 KiB) Download
Compat-BungeeCord-4.0.0.0.jar(6.07 KiB) Download
Compat-Clearlag-4.0.0.0.jar(899.66 KiB) Download
Compat-EliteMobs-4.0.0.0.jar(900.04 KiB) Download
Compat-GriefPrevention-4.0.0.0.jar(909.11 KiB) Download
Compat-Lands-4.0.0.0.jar(902.64 KiB) Download
Compat-NoCheatPlus-4.0.0.0.jar(899.49 KiB) Download
Compat-OpenInv-4.0.0.0.jar(905.3 KiB) Download
Compat-PlotSquared-4.0.0.0.jar(859.79 KiB) Download
Compat-Residence-4.0.0.0.jar(901.84 KiB) Download
Compat-SuperiorSkyblock-4.0.0.0.jar(902.11 KiB) Download
Compat-Towny-4.0.0.0.jar(921.51 KiB) Download
Compat-Velocity-4.0.0.0.jar(7.64 KiB) Download
Compat-WorldEdit-4.0.0.0.jar(902.83 KiB) Download
Compat-WorldGuard-4.0.0.0.jar(902.17 KiB) Download

External resources



Project members

Ghost_chu

Owner

YuanYuanOwO

Community Manager & Translator

Carm

Contributor

tdiant

Contributor


Technical information

License
GPL-3.0-only
Project ID