▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Coins

Coins

Allows players to collect coins for killing mobs and mining precious blocks. Adds the ability to withdraw balance into physical coins. Can be used for drop parties, and is highly configurable.

89
1

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. Players can lose (and drop) coins on death. This plugin can be used for drop parties, and is highly configurable.

Required plugins:

Supported languages: English (en-US), Nederlands (nl-NL), Español (es-ES), français (fr-FR), Italiano (it-IT), 简体中文 (zh-CN), Deutsch (de-DE), Svenska (sv-SE), עברית (he-IL), Русский (ru-RU), Tiếng Việt (vi-VN), or custom

Quick links:

Discord

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 ores. 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: Killing a mob that drops a coin

Commands

CommandDescription
/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 reloadReload the config to update all settings in-game.
/coins versionCheck the version of the plugin and check if there's an update.
/coins toggleEnable 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 too, if you want. 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 coin(s). There are also permission nodes you can give to players when these settings are set to false. Default settings:

player-drop: true
spawner-drop: 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 to drop no coins, add it:

mob-multiplier:
  'minecraft:ender_dragon': 50
  'minecraft:player': 3
  'minecraft:enderman': 0

Mining can also be rewarded by letting coins drop. By default, coins drop with a 20% chance for configured blocks. The default value down here is 0.20, meaning 20% (1 coin per 5 blocks mined). Set to 0 to disable dropping coins for blocks.

mine-percentage: 0.20

When coins get in hoppers, players can pick them out and the money will be given to them, and the coin will disappear, 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 compared to picking up other items. You can change it to whatever sound you like, even a custom sound from resource packs. The list of available sounds can be found at the suggestions of /playsound. 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.90

Players can also lose money on death, either a random amount, or a random percentage of their current balance. You can decide how much, or even disable it. It is also possible to completely disable coins in specific world(s).

Withdraw

The plugin provides a withdraw system and a command for this (/withdraw): This lets players withdraw balance into a physical coin that will be given to them. The money can then be regained by either picking up the coin, or by clicking the coin. The withdrawn coins can be moved to any inventory.

Permissions

PermissionDescription
coins.withdrawAccess to /withdraw, and the ability to withdraw and deposit coins.
coins.bypass.lose_on_deathBypass the mechanic that lets your lose coins on death.
coins.bypass.percentage_hitBypass the minimum percentage to hit a mob before it drops coins.
coins.bypass.location_limitBypass the limit for killing mobs in a single location.
coins.drop.spawner_mobsAlways get coins for killing mobs from spawners.
coins.drop.split_mobsAlways get coins for killing split mobs, like slimes.
coins.drop.hostile_mobsAlways get coins for killing hostile mobs.
coins.drop.passive_mobsAlways get coins for killing passive mobs.
coins.drop.playersAlways get coins for killing other players.
coins.command.reloadAble to reload the plugin's config and language.
coins.command.settingsAble to see the currently loaded settings.
coins.command.dropAble to use the /coins drop command.
coins.command.removeAble to clear coins in a radius or the world.
coins.command.languageAble to see the currently loaded language.
coins.command.versionAble to see details about version and updates.
coins.command.toggleAllows the /coins toggle command.
coins.disableRemove the ability for the player to pick up coins.
coins.multiplier.nMultiply dropped coins by n for this player.

Language

Coins supports different languages. You can set the language in config.yml to anything. Find available default languages at 'Coins/locale'. You can add your own language by creating a JSON file and putting it in the language folder. Then you can use the file's name as language in the config.yml.

locale: 'en-US' # default, or
locale: 'xx-YY' # if you made yours 'xx-YY.json' in folder 'locale'

You can submit your language if you want, so that it can be added to the plugin by default. Just send me a message, or do a pull request to the locale folder on GitHub.

Showcase

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

Final remarks

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.

Совместимость

Minecraft: Java Edition

26.1.x1.21.x1.20.x1.19.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:GPL-3.0-only
Опубликован:3 недели назад
Обновлён:6 дней назад
Главная