Developer API

1) Add the Dependency

Don't forget to change always the version!

2) Add mc-Credits to plugin.yml

3) Example how to use the CreditsAPI

As an example, add Credit to a player.

Event
Description

CreditChangeEvent

Triggered when a player's credit balance is modified.

PlayerBoughtEvent

Triggered when a player buys anything in the credit shop.

Last updated