With this version of TokensPlus, I have added a new source for players to earn tokens by breaking blocks.
I've updated the
drops.yml to include a new section for 'blocks'. This section is structured similarly to how the killing mobs section is. You can add any and all block types to this section, configure their drop chances and the amount of tokens rewarded for each block individually.
I've also added a new token multiplier permission, similar to the killing mobs one,
tokensplus.blockbreakmultiplier.<number>. Here is the latest
drops.yml:
Code (YAML):
#---------------------------------------# # TokensPlus - Mob Drops | #---------------------------------------# # Drop chance is set as a double value. This configuration defaults the dropChance for each mob to be 5% (5.0). # For example, if you wanted the drop chance to be 99.99%, then dropChance should be set as 99.99. drops: # If enabled, the player will receive a message when the tokens are added to their balance from a mob drop shouldMessageOnDrop: true
# Defines the maximum value for the token drop multiplier # If a player has a permission that is higher than this value, their multiplier will be this value. # For example, player has tokensplus.dropsmultiplier.200, their multiplier will be x100. tokenMultiplierMaxValue: 100
#---------------------------------------# # TokensPlus - Block Drops | #---------------------------------------# # These configuration options are defined exactly the same as above. # However, this is intended for adding drop chances to different blocks when they are broken. blocks:
# If enabled, the player will receive a message when the tokens are added to their balance from a block break shouldMessageOnBlockBreak: true
# Defines the maximum value for the token block break multiplier # If a player has a permission that is higher than this value, their multiplier will be this value. # For example, player has tokensplus.blockbreakmultiplier.200, their multiplier will be x100. tokenMultiplierMaxValue: 100