Coins
Drop coins for killing mobs and mining. Allow withdrawing. Good for drop parties. Highly configurable. Works from Spigot 1.14 to latest version of Spigot. Though, recommended to use Paper. Bukkit is not supported.
This plugin requires these two plugins:
- Vault or Treasury;
- an economy supportive plugin (like Essentials for Vault).
Please Star this repository on GitHub!
[Support available on Discord
[INDENT]Description[/INDENT] This plugin allows your players to receive one or more coins after they have killed a mob or player. The config explains a lot and is configurable in config.yml. Click to see the default config.
It is highly recommended that you use Paper, because this makes it possible to pick up coins with a full inventory.
[INDENT]Commands[/INDENT] /coins drop (player OR x,y,z) (amount) (radius) - drop coins around a player /coins remove (radius OR all) - remove coins in a radius or all in the world /coins settings - list all the currently loaded settings from the config /coins reload - reload the config to update all settings /coins version - check the version of the plugin and see if it is running latest /coins toggle - enable or disable coin drops and withdraw access /withdraw (amount) - withdraw some currency into physical coins
[INDENT]Configuration and Features[/INDENT] Players will receive a random amount of money after they pick up a coin: by default $3 to $8. You can change this in the config:
money-amount:
from: 3.0
to: 8.0
You can disable a few features, if you want, too. By default:
- players drop 3 coins;
- mobs from spawners are ignored;
- passive mobs don't drop a coin.
These default values can be changed in the config. You can also make mobs from spawners and passive mobs drop a coin. Default settings:
player-drop: true
# spawner-drop: false there's a permission node too, when false
passive-drop: false
It's possible to make mobs drop different amount of money. The Ender Dragon drops 50 coins, and players drop 3 coins by default. You can change this. If you want endermen - for example - to drop no coins, add it:
mob-multiplier:
'ender dragon': 50
'player': 3
'enderman': 0
Mining can also be rewarded by letting coins drop. Default is that 30% for any experience-dropping block will drop coins.
# Drop coins for mined blocks. What's the chance? (0.2 = 20% = 1 coin per 5 /experience/ blocks mined)
mine-percentage: 0.3
# Only drop coins by the given chance for blocks that drop experience, like: lapis, iron, spawners.
only-experience-blocks: true
When coins get in hoppers, players can pick them out and the money will be given to them, and the coin will disappear of course, just like on normal pickup of a coin.
Hoppers (works for any inventory)
Coins are not stacked in the image above, but you can make coins stack.
Coins have a different pick up sound than normally picking up something. You can change it to whatever sound you like. Get a list of sounds here. You can also change the pitch and volume of the pickup sound.
Coins don't drop 100% of the time by default, but 90%.
drop-chance: 0.9
There's also a withdraw system (/withdraw): this lets players withdraw money which gives them a coin with that amount of money in return. Money can be regained by picking up the coin after it has been dropped by the player itself. The coins can be moved to any inventory.
On death, players lose money. You can decide how much, or just disable it. You can also disable coins completely in other worlds.
[INDENT]Permissions[/INDENT]
coins.disable - remove the ability to let the user pick up coins
coins.withdraw - lets the player withdraw money into coins
coins.spawner - get coins by killing mobs from spawners
coins.multiplier.x - multiply dropped coins by x for this player
coins.command.reload - able to reload the plugin's config and language
coins.command.settings - able to see the currently loaded settings
coins.command.drop - able to use the /coins drop command
coins.command.remove - able to clear coins in a radius or the world
coins.command.language - able to see the currently loaded language
coins.command.version - able to see details about version and updates
coins.command.toggle - allows the /coins toggle command
[INDENT]Language[/INDENT] Coins supports different languages. You can set the language in config.yml to anything supported. Find the available languages at '/plugins/Coins/language'. English, Dutch, Spanish, German, Chinese, Hungarian and Swedish are included by default. You can add/edit your own language by creating your own json file and put it in the languages folder. Then you can use the file's name as language in the config.yml.
# language: english default
# language: custom if you made yours 'custom.json' in folder 'language'
You can submit your language if you want, so that it can be added to the plugin by default, just PM me.
Withdraw money into coins:
List all the loaded settings (/coins settings):
Drop coins around a player (/coins drop):
Remove coins in a radius (/coins remove):
Leave any suggestions in the Discussion thread or in the Discord server, not by review!
Errors and issues can be reported on GitHub or in the Discord server.
Do NOT ask for support or leave suggestions in the review section!
### Join the support Discord server instead: https://discord.gg/fVwCETj