
XP System 2
Create an XP system that rewards the player for doing things like breaking blocks, killing mobs, and other various functions of the game. Display a UI on the...
00—hytaleServer2026.01.17mod
XP System 2 now tracks server-side experience and levels for each player. A lightweight HUD in the top-left shows the current level and XP progress.
What’s included
- Earn XP from common actions: breaking blocks, placing blocks, and killing non-player mobs. Values are configurable.
- Per-player XP/level storage via a dedicated component; progress persists with the player entity.
- Automatic level-ups with rollover XP and a chat notice when you advance.
- Custom HUD (
xpsystem2.ui) anchored top-left with live level/XP text so players always see their progress.
Configuration
- A config file named
xpsystem2.jsonis created in the mod’s data folder. You can adjust XP amounts for each action, the base XP per level, and growth scaling there.
Notes and limitations
- XP is intentionally not awarded for killing other players to limit easy farming.
- The HUD uses the custom HUD channel; if another mod sets its own custom HUD, only one can be active at a time.
- Default XP curve: base 75 XP for level 1 → 18% growth per level; defaults can be tuned in the config.