EternalMobCoins | EASY TO USE API | OPEN SOURCE icon

EternalMobCoins | EASY TO USE API | OPEN SOURCE -----

A custom economy for your server



MobCoins Heading.png

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.

Commands Sub-Heading.png

/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

Files Sub-Heading.png

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"

Code (YAML):
balance:
  <PLAYER UUID HERE>
: <MOBCOIN BALANCE>
Extra Info Sub-Heading.png

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 ) ;

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!
Resource Information
Author:
----------
Total Downloads: 1,254
First Release: May 14, 2021
Last Update: Jul 21, 2021
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings