Мова

Coins

Coins

SpigotMCModrinth

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

96.2k завантажень 4.8 рейтинг
остання v1.16.2 SpigotMC
1.21 – 26.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. This plugin can be used for drop parties, and is highly configurable.

Version 2 is now also available!

Platforms supported:
Spigot ✔️
Paper, Folia ✔️ (Recommended: Pick up coins with full inventory.)​
Not supported: Bukkit ❌

Required plugins:
Vault, and
an economy supportive plugin (like Essentials)​

Quick links:

Consider donating: Stripe (Card, etc.), PayPal, Bitcoin (1H2ZvuceFzFzpaJxzfp7sjLBUuXNtG1YAz)

[​IMG]

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:
[​IMG]

Commands
  • /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.
For permissions, see the section Permissions.

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:
Code (Text):
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:
Code (Text):
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:
Code (Text):
mob-multiplier:
  'minecraft:ender_dragon': 50
  'minecraft:player': 3
  'minecraft:enderman': 0
Mining can also be rewarded by letting coins drop. Default is that 30% for any experience-dropping block will drop coins.
Code (Text):
# 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:
[​IMG]

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%.
Code (Text):
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
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.
Code (Text):
language: english # default
language: custom # if you made yours 'custom.json' in folder 'language'
You can also submit any language to me in a PM, so that it can be added to the plugin by default.

Command examples

Withdraw balance into physical coins:
[​IMG]
[​IMG]

Drop coins around a player (/coins drop):
[​IMG]

Remove coins in a radius (/coins remove):
[​IMG]

----------------------------------------------------------------------------
This is my first plugin. Hope you enjoy. :p
If you enjoy the plugin, consider leaving a donation, thanks!
----------------------------------------------------------------------------
[​IMG]
Join my survival server on the IP 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

Версії

Release
1.16.2
·
15
Release
1.16.1
·
271
Release
1.16.1
·
91
Release
1.16.1
·
31
Release
1.16.1
·
2
Release
1.16
·
104
Release
1.15
·
138
Release
1.14.1
·
75
Release
1.14
·
58
Release
1.13.1
·
26.4k
Release
1.13
·
10.0k
Release
1.12.2
·
4.4k

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

Завантажити Coins

Modrinth

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.