- Plugin credits like discord probot.
Command | Description | Aliases |
---|---|---|
/credits |
To see your credits |
/c |
/credits <PlayerName> |
To see the credits of a specific person |
/c <PlayerName> |
/credits <PlayerName> <Count> <Reason> |
Transfer credits to someone |
/c <PlayerName> <Count> <Reason> |
/daily |
To get your daily reward |
/d |
- use Laith98Dev\Credits\Main;
- $api = Main::getInstance();
- $api->getCredits(Player); // to get player credits
- $api->addCredits(Player, $count); // to add credits
- $api->reduceCredits(Player, $count); // to reduce credits
- $api->transferCredits(Player, $toName, $count, $reason); // to transfer credits