AlonsoLeaguesAPI - AlonsoAliaga/AlonsoLeagues GitHub Wiki
AlonsoLeaguesAPI can be used to make some checks and modify player data easily.
- Returns available league identifiers. (Includes no ranked)
- Returns whether or not the player with that uuid is loaded.
- Returns whether or not the player is ranked. (Is not in No Ranked league)
- Returns whether or not the player is in last league.
- Add points to the player. Returns whether succes or not, returns false if player is not online or loaded.
- Remove points from player. Returns whether succes or not, returns false if player is not online or loaded.
- Set points for the player. Returns whether succes or not, returns false if player is not online or loaded.
- Get player's points. Returns 0 if player is not online or loaded.
- Set player's league. Returns whether succes or not, returns false if player is not online, not loaded or is already in that league.
- Get player's league identifier.
- When player changes league.
- When new player is registered.
- When player data is about to be deleted.