Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 836 Bytes

File metadata and controls

23 lines (18 loc) · 836 Bytes

Credits

  • Plugin credits like discord probot.

Commands

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

API

  • 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

Other

  • Donate