SkLevels - ✅ Manage custom levels ✅ Easy API

API SkLevels - ✅ Manage custom levels ✅ Easy API 1.3

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Fixed event [sklevels[api ] ]level[ ]up which returned the XP instead of the level.
Added two new functions!

* SkLevelsUsernameRanking(<level id>, <amount>):
This function returns a list with all players ranked from top to bottom.
Replace <amount> by the amount of players you want to return. For example, 10 will return the first ten players.

*
SkLevelsGetPlayerRanking(<player>, <level id>):
Returns the current ranking of a player.
WARNING: THIS SKRIPT NOW REQUIRES SKRIPT-REFLECT!

Added events:


- on sklevelsapi xp add
Triggers when a player receives xp for a specific level
event-string = level id
event-integer = the xp given
event-player = you guessed it

- on sklevelsapi level up
Triggers when a player levels up
event-string = level id
event-integer = the level before the level up
event-player = you guessed it