# Change Logs

* Added **imported\_item** support at rewards configuration for rewards of item type.
* Added **PlaceholderAPI** placeholders support.
* Added **database** support and database toggle in main config. Saves data such as player name, uuid, blocks broken by player, position of the block, and block type.
* Added **leaderboard** command and placeholders.
* Completely changed **permission system** and added new **permissions** to better manage what players can and can't use from the plugin. Removed old **eliteregen.use** permission.
* Added **sound reward**, so you can play multiple sounds after a block break. They also have a delay option where you can delay each sound by **X** amount of **ticks**.
* Added a new way of **triggering rewards** on block break. Using **trigger: \[ ]** under any reward, you can trigger other rewards after it.

## Placeholders Added:

* `%eliteregen_leaderboard_pos%` - player's leaderboard position
* `%eliteregen_leaderboard_<pos>_name%` - player name of that position
* `%eliteregen_leaderboard_<pos>_blocks_broken%` - blocks broken total of that position
* `%eliteregen_leaderboard_<pos>_blocks_broken_formatted%` - formatted
* `%eliteregen_blocks_broken%` - Total broken blocks of player
* `%eliteregen_blocks_broken_formatted%` - formatted

## Permissions Added:

* `eliteregen.admin` - Any player with this permission can do all the commands, guis, etc.
* `eliteregen.update-alert` - Server OP and players with this command will be able to see the plugin update alert when there is a new update.
* `eliteregen.commands.help` - Any player with this permission can run the help command
* `eliteregen.commands.reload` - Any player with this permission can run the reload command
* `eliteregen.commands.admin` - Any player with this permission can run the admin command
* `eliteregen.commands.import-item` - Any player with this permission can run the import-item command
* `eliteregen.commands.toggle` - Any player with this permission can run the toggle command
* `eliteregen.commands.leaderboard` - Any player with this permission can run the leaderboard command
