EternalMobCoins is a simple plugin that introduces a new economy to your server, MobCoins. This plugin provides a ShopGUI to use with the economy and a Developer API.
/mobcoins - No Permission
/mobcoins balance - No Permission
/mobcoins pay <player> <amount> - No Permission
/mobcoins give <player> <amount> - emobcoins.admin
/mobcoins remove <player> <amount> - emobcoins.admin
/mobcoins reload - emobcoins.admin
config.yml
messages:
balance: "&a&l(!) &aYou currently have %amount% MobCoins(s)!"
balance-other: "&a&l(!) &a%player% currently has %amount% MobCoin(s)!"
gave-mobcoins: "&a&l(!) &aSuccessfully gave %player% %amount% MobCoins(s)!"
paid-player: "&a&l(!) &aSuccessfully paid %player% %amount% MobCoins(s)!"
removed-mobcoins: "&a&l(!) &aSuccessfully removed %amount% MobCoins(s) from %player%!"
invalid-player: "&c&l(!) &cInvalid player!"
not-enough-mobcoins: "&c&l(!) &cYou do not have enough MobCoins!"
received-mobcoins: "&a&l+1 MobCoin &7(Grinding Mobs)"
invalid-amount: "&c&l(!) &cYou specified an invalid amount!"
no-permission: "&c&l(!) &cYou do not have permission to execute that command!"
settings:
amount-per-mob: 1 # The amount of mob coins each mob will drop
mobs: # Chances of a MobCoin dropping when specified mob is killed
ZOMBIE: 5
SKELETON: 5
inventory:
inventory-size: 45 # Must be a multiple of 9
menu:
default-reward:
display-name: "&e&lDefault Reward &7(1000 Coins)"
lore:
- "&7Purchase this to receive a diamond!"
- ""
- "&e&lBALANCE:"
- "&6* &f%balance% MobCoins"
material:
name: "DIAMOND"
durability: 0 # Most items will use a value of 0
price: 1000
slot: 0 # The first slot is always 0
commands:
- "give %player% diamond 1"data.yml
balance:
<PLAYER UUID HERE>: <MOBCOIN BALANCE>PLACEHOLDERS:
I do include PlaceholderAPI support and if you'd like to use it, make sure PlaceholderAPI is installed. You can then get MobCoin balances with "%eternalmobcoins_balance%".
Please utilize the "%balance%" & "%player%" placeholders over PlaceholderAPI ones, as they are slightly faster. Please keep in mind these only work in the plugins config.
DEVELOPER API:
Add the file to your project and you can get the API with MobCoinsAPI#method.
Methods:
MobCoinsAPI.getMobCoins(player);
MobCoinsAPI.addMobCoins(player, amount);
MobCoinsAPI.removeMobCoins(player, amount);
MobCoinsAPI.setMobCoins(player, amount);
If you have any issues, please don't take them to the reviews! Please contact me on discord by making a support ticket or direct messaging me. Thanks!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta