Skip to content

5.0.0.5

Choose a tag to compare

@Ghost-chu Ghost-chu released this 31 Aug 11:05
· 1293 commits to release since this release
92c0f93

4.x to 5.x is a major breaking update, read the 5.x main-changelog here before upgrading from 4.x to 5.

New Features

  • Added new backup-policy settings.
    • This option allows the user to control the triggering of database backups
  • Rate-limit for player block clicking
    • This is a very basic frequency limit, QuickShop will only respond to a single click event from the same player within 125 milliseconds.
    • This helps to solve the problem of players maliciously clicking on squares quickly, causing QuickShop to look up, parse, and calculate store data frequently, resulting in tick-time increases
    • Shop locks are not limited by this frequency; they are fast enough to find without excessive computation, and in redstone environments will even use cached lookups without causing computational stress.

We're planned apply the rate-limit to more modules in future to avoid affect server performances by players maliciously actions.

Optimization

  • The players offline messages are not persistent in memory but fetch from database in async.
    • We note that on large networks huge amounts of transaction logs may be generated, which are loaded into memory at startup and increase RAM usage.
    • However QuickShop will always perform the same operation on the database while manipulating the content. This made the in-memory copy meaningless, so we moved it all to the database and read and write asynchronously when needed.

Changes

  • QuickShop-Hikari nolonger automaticlly backup H2 databases on startup.
  • QuickShop-Hikari nolonger automaticlly backup databases on shop purges.

Bug Fixes

  • Fixed debug logs in paste is all empty lines.
  • [ADDON] Fixed discount addon lost all discount codes after server restart.