A simple and customizable LevelSystem plugin for PocketMine-MP that allows you to manage player levels and experience. It integrates with the ScoreHud plugin to display level and experience data in the scoreboard.
- Customizable player levels and experience
- Integration with the ScoreHud plugin for displaying player level and experience
- Player data stored in
playerData.yml
The plugin uses a playerData.yml file to store player levels and experience. The default configuration does not require any changes, but you can modify the file manually if necessary.
Once installed and enabled, the LevelSystem plugin will automatically manage player levels and experience. You can access and update player data programmatically with the following functions:
getPlayerData($name)- Retrieves player data (level and experience).savePlayerData($name, $data)- Saves player data (level and experience).
The ScoreHud plugin will display the player's level and experience using the following tags:
{levelsystem.level}- Player's level{levelsystem.exp}- Player's experience
There are no commands available by default. You can interact with the system through code or events.