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

Drop coins for killing mobs and mining, and allow withdrawing. Nice for drop parties. Highly configurable.

Report Coins?

Coins

Coins is a plugin that allows players to collect coins for killing mobs and mining precious blocks. It also comes with the ability to withdraw balance into physical coins. This plugin can be used for drop parties, and is highly configurable. Supports Folia.

Required plugins:

Quick links:

Consider donating:

Invite

Description

This plugin allows your players to receive one or more coins after they have killed a mob or player. The same is possible for mining precious blocks. Next to this, it is possible to configure losing money and drop coins on player death. Balance can be withdrawn into physical coins. 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.

Showcase of coins dropping after a mob was killed:

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

Commands

Command Description
/withdraw <value> [amount] Withdraw money from your balance into physical coins.
/coins drop <player/x,y,z[,world]> <amount> [radius] [worth] Drop coins around a player or location. An amount and radius can be specificied, and the value of each coin with 'worth'.
/coins remove [radius/all] Remove coins in a radius or all of them in the world.
/coins settings [page] List all the currently loaded settings from the config.
/coins reload Reload the config to update all settings in-game.
/coins version Check the version of the plugin and check if there's an update.
/coins toggle Enable or disable coin drops and withdraw access.

Configuration and Features

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.

Coins immediately get deposited when found in a hopper:

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.

Permissions

Permission Description
coins.withdraw Access to /withdraw, and the ability to withdraw and deposit coins.
coins.bypass.lose_on_death Bypass the mechanic that lets your lose coins on death.
coins.bypass.percentage_hit Bypass the minimum percentage to hit a mob before it drops coins.
coins.bypass.location_limit Bypass the limit for killing mobs in a single location.
coins.drop.spawner_mobs Always get coins for killing mobs from spawners.
coins.drop.split_mobs Always get coins for killing split mobs, like slimes.
coins.drop.hostile_mobs Always get coins for killing hostile mobs.
coins.drop.passive_mobs Always get coins for killing passive mobs.
coins.drop.players Always get coins for killing other players.
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.
coins.disable Remove the ability for the player to pick up coins.
coins.multiplier.n Multiply dropped coins by n for this player.

Language

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 balance into physical coins:

http://i.imgur.com/Z5rIAbe.gif http://i.imgur.com/Mjy9s6k.gif

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 😛. If you enjoy the plugin, consider leaving a donation, thanks! You can join my survival server too @ survival.rocks!

bStats

https://bstats.org/signatures/bukkit/coins.svg

Support

Leave any suggestions in the Discord server. Errors and issues can be reported on GitHub or in the Discord server.

Sponsors

Bitcoin: 1H2ZvuceFzFzpaJxzfp7sjLBUuXNtG1YAz

PayPal: https://paypal.me/justeli/5

Stripe (Card, etc.): https://donate.stripe.com/fZe8y1bxr8EV7cYdQQ

Add your username to the donation to get added to this page!

Information

CategoryEconomy
Published onApril 22, 2023
LicenseUnspecified
Downloads1,276
Stars18
Watchers10
Supports Folia

Pinned Versions

Members

Avatar for Eli

Eli

Owner