## Added
- Player statistics system
- Tracks how many times a player opens /trash.
- Tracks how many items a player trashes (total amount).
- Data is stored persistently in data.yml.
- Leaderboards
- New command: /trash top opens [page] — Top players by trash opens.
- New command: /trash top items [page] — Top players by trashed items.
- New permission: trash.top (default: OP).
- PlaceholderAPI support (extended)
- Kept existing placeholder: %trash_cost%
- New placeholders:
- %trash_opens% — Player open count.
- %trash_items% / %trash_items_trashed% — Player trashed items count.
- %trash_rank_opens% — Player rank by opens.
- %trash_rank_items% — Player rank by items trashed.
## Changed
- Language files are now only created if missing (prevents repeated “already exists” warnings).
## Fixed
- Prevents item loss when charging on close and a player can’t afford the cost (items are returned).
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" }