Skip to content

Mob Coins mobcoin

Mob coins are a type of currency attained by killing mobs or trading with players. Coins can be traded in the shop for items.

Config

mob-coin-item-and-withdraw-enabled

If mob coin items should be enabled and players should be allowed to withdraw them from their virtual bank.

mob-coin-item

The mob coin item declaration.

max-mob-coins

The maximum amount of mob coins a player can have at once.


interval-task section

This section defines things for the 'interval' task. This task informs users of how many mobcoins they gained every X seconds.

interval-seconds

The amount of time in seconds for the task to run.

enabled

If the task should be enabled.


shop Section

The shop for transacting with mob coins. Items are defined as usual per GUI standard, but can be marked as 'purchasable' by adding price and purchase-commands. Note that the player doesn't get the item in the GUI, only the commands are run.

price

The price in mobcoins to buy the item.

purchase-commands

The commands to run when the player has purchased the item.


types Section

This section defines the entity types to the chance of getting a mob coin from killing one.


Command

  • /mobcoins shop - Opens the mob coins shop.
  • /mobcoins balance [player=you] - Displays the balance of the given player.
  • /mobcoins pay (player) (amount) - Pays the given user the amount of mobcoins.
  • /mobcoins withdraw (amount) - Withdraws the given amount of mobcoins as physical items.
  • /mobcoins give (player) (amount) - Gives the given user the amount of mobcoins.
  • /mobcoins task (player) (amount) - Takes the given amount of mobcoins from the user.

Permissions

  • Base Level - Some commands.
  • Admin Level - Some commands.