A Bukkit plugin that provides virtual chests for players, specialized for multi-instance environments using a lease-based distributed lock with a heartbeat.
- fix: error log on closing server
- feat(api): OpenChestContext for customTitle/onClose
- fix: the case using '%' character in mysql id/pw using url encoder
- fix!: race condition on openChest using a lease-based lock with heartbeat.
- fix: set username/password via HikariConfig to prevent malformed JDBC URLs when password contains '%' by @SkyAsa2256
- feat(config): add message
alreadyOpenedChestMessage
-
/chest <chest-num>: Opens your chest with the given number.
Requiresvirtualchest.chest.<chestnum>for chests beyond the first.
The first chest is allowed by default; to disable it, explicitly denyvirtualchest.chest.1. -
/chest open <player> <chest-num>: Opens the specified player's chest.
Requiresvirtualchest.op. -
/chest migration <datatype>: Migrates data from the type set in the config to the given type (sqlite,mysql).
To switch the data source afterward, changedbProtocolin the config.
The config.yml is reloaded when you save the file.
dbProtocol: Data source used by the plugin. Available:sqlite,mysqldbHost: MySQL hostdbPort: MySQL portdbUsername: MySQL usernamedbPassword: MySQL password (defaults to system envMYSQL_PW)chestTitle: Title of the chest inventorychestSizeRow: Number of rows in the chest inventorynoPermissionMessage: Message shown when using/chest <chest-num>without permissionalreadyOpenedChestMessage: Message shown when the chest was lockedoverrideLocale: Override locale —ko_kr,en_us
dev.entree.vchest.api.ChestOpenEvent: Fires when a player tries to open a chest.