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. Check docs for more information.
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. Explained better at docs.
Placeholders Added:
%eliteregen_leaderboard_pos% - player's leaderboard position
%eliteregen_leaderboard_<pos>_name% - player name of that position in the leaderboard
%eliteregen_leaderboard_<pos>_blocks_broken% - total blocks broken of the player in that position of the leaderboard
%eliteregen_leaderboard_<pos>_blocks_broken_formatted% -total blocks broken of the player in that position of the leaderboard but formatted
%eliteregen_blocks_broken% - Total broken blocks of player
%eliteregen_blocks_broken_formatted% - Total broken blocks of player but 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