-Added small API.
For this to work you need to add my plugin to your plugin external jars dependencies and to set
softdepends: ConnectTheBlocks on your plugin.yml file
Code (Java):
//You can use these methods for obtaining player data
//Returns a list with finished categories of player.
List
<String
> list
= ConnectTheBlocksAPI.
getFinished
(player
)
;
//Returns the number of completed levels of player on certain category.
int levels
= ConnectTheBlocksAPI.
getCompletedLevels
(player,category
)
;
-25% OFF until 17th June