https://github.com/vsrstudio/levelsystem
https://github.com/vsrstudio/levelsystem
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vsrstudio/levelsystem
- Owner: VsrStudio
- Created: 2024-11-15T06:43:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-14T09:05:54.000Z (6 months ago)
- Last Synced: 2025-12-16T12:49:38.576Z (6 months ago)
- Language: PHP
- Size: 40 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LevelSystem
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.
## Features
- Customizable player levels and experience
- Integration with the **ScoreHud** plugin for displaying player level and experience
- Player data stored in `playerData.yml`
## Configuration
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.
## Usage
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
## Commands
There are no commands available by default. You can interact with the system through code or events.