CreditsAPI
CreditsAPI v2
A very simple standalone developer API to implement an economy plugin on the barebones plugin. Simply drag and drop into plugins along with your Credits plugin
Features
- Contains easy to use, no-hassle methods to call into and run.
- MySQL based, config inside to store wherever you need it on your own tables!
- Prepared statement inserts to ensure proper security during uploads.
- Boolean based to return whether there was an error or not.
API Calls
int getCredits(Player)
bool hasCredits(Player)
bool setCredits(Player, int amount)
bool addCredits(Player, int amount)
bool subtractCredits(Player, int amount)
Comments