Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Eli

Drop coins for killing mobs & mining. Allow withdrawing. Good for drop parties. Highly configurable.

Report Coins?

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:

Please Star this repository on GitHub!

[Support available on Discord

https://discordapp.com/api/guilds/755814688041992292/widget.png?style=banner2](https://discord.gg/fvwcetj)

[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.

http://i.imgur.com/lJ64oTc.gif

[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) http://i.imgur.com/cDwSfBs.gif

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: http://i.imgur.com/Z5rIAbe.gif http://i.imgur.com/Mjy9s6k.gif

List all the loaded settings (/coins settings): http://i.imgur.com/viegsGP.png

Drop coins around a player (/coins drop): http://i.imgur.com/mXOkHHg.gif

Remove coins in a radius (/coins remove): http://i.imgur.com/Khsa95q.gif

~~----------------------------------------------------------------------------~~ This is my first plugin. Hope you enjoy. :p If you enjoy the plugin, consider leaving a donation, thanks! ~~----------------------------------------------------------------------------~~ ![https://bstats.org/signatures/bukkit/coins.svg](https://bstats.org/signatures/bukkit/coins.svg)

http://i.imgur.com/AzPmHoI.pnghttps://i.imgur.com/OmgSUFE.png

You can join my survival server too @ survival.rocks!

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

Information

CategoryEconomy
Published onApril 22, 2023
LicenseUnspecified
Downloads563
Stars10
Watchers7

Pinned Versions

Members

Avatar for Eli

Eli

Owner