1.8: fix coins disappearing, added config options, multiplier permission, depositing, fixed phantoms
See the bottom of this message to see which things to add to your old config.
- Fixed coins disappearing when taken from an inventory: only giving one stack at maximum, where the rest would disappear.
- Added config option to decide whether players should lose an amount of money, or a percentage of money on death.
- Added a permission node that makes coins multiply.
- Used like 'coins.multiplier.amount', examples: 'coins.multiplier.0.2', 'coins.multiplier.12'
- Added a way to deposit withdrawed coins by clicking them. Doesn't work when clicking containers.
- Added a config option to let the money drop that a player loses on death, instead of making it disappear.
- Added an option to let coins drop for mining blocks. Also an option to only let it drop for blocks that drop xp.
- Added a config option to change coins pickup volume and pitch.
- Fixed phantoms not dropping coins in 1.15.
- Doing my best to make player heads with custom texture dropable as item, it's just a pain in the ass. Not sure if I can do it..
Add this to your old config:
Code (Text):
soundPitch: 0.3
soundVolume: 0.5
# Drop coins for mined blocks. What's the chance? (0.2 = 20% = 1 coin per 5 /experience/ blocks mined)
minePercentage: 0.3
# Only drop coins by the given chance for blocks that drop experience, like: lapis, iron, spawners.
onlyExperienceBlocks: true
# Should we take the *amount* of money from them, or the *percentage* of their money?
# Amount of 10 to 30 would be $10 to $30. Percentage of 10 to 30 would be 10% to 30%.
takePercentage: false
# And should the money be dropped, or just disappear? Disappears by default.
dropOnDeath: false