TMDevelopmentTinulica & Maiky

API

Placeholders and API

double coins = FlareMobcoinsAPI.getMobcoins(player);
FlareMobcoinsAPI.giveMobcoins(player, 10.5);
boolean paid = FlareMobcoinsAPI.takeMobcoins(player, 25);   // false if he has less

Events:

  • MobcoinsChangeEvent: every balance change (give, take, set, pay, purchases), cancellable.
  • MobCoinReceiveEvent: a mob drop, cancellable, the amount can be changed.

The 3.x class MobcoinsPlayer still works. Add FlareMobcoins to softdepend (or depend) in your plugin.yml.

Last updated

Sign in

New here? Just enter your email: the account is created when you click the link. No password needed.

or

We send you a link that signs you in with one click. It works for new and existing accounts.

Sign in with a password instead

By continuing you accept the Terms & Conditions and the Privacy policy.

Staff: open “Sign in with a password instead” and type your username instead of the email. After the password we ask for your 2FA code.