**4.x to 5.x is a major breaking update, read the 5.x main-changelog [here](https://github.com/Ghost-chu/QuickShop-Hikari/releases/tag/5.0.0.0) before upgrading from 4.x to 5.**
*This is a hot fix for 5.0.0.5 version.*
## Hot fix
* Fixed SQLException when trying to fetch players offline messages from database.
---
# 5.0.0.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.
Optional dependencies
Unknown Project
Any compatible version
BentoBox
Any compatible version
BlueMap
Any compatible version
Dynmap®
Any compatible version
LuckPerms
Any compatible version
DiscordSRV
Any compatible version
NBT-API
Any compatible version
EssentialsX
Any compatible version
GriefPrevention
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }