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
Spoiler: 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"
Code (YAML):
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"
Spoiler: data.yml
Code (YAML):
balance:
<PLAYER UUID HERE> : <MOBCOIN 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:
Code (Java):
MobCoinsAPI.
getMobCoins
(player
)
;
MobCoinsAPI. addMobCoins (player, amount ) ;
MobCoinsAPI. removeMobCoins (player, amount ) ;
MobCoinsAPI. setMobCoins (player, amount ) ;
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!
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
EternalMobCoins | EASY TO USE API | OPEN SOURCE is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,268 times (via Spigot). Download it and open it directly in the game.