XP2HP Plugin Documentation

Version: 1.0.7 Author: Mr.Lust Minecraft: 1.21.4 to 1.21.6 (Folia supported) API: Paper / Purpur / Folia Tagline: Scale your player's power with experience!


🧩 Overview

XP2HP allows Minecraft servers to dynamically boost player health and attributes based on their XP level.

  • Fully configurable per-level boosts

  • Supports ALL major attributes

  • Lightweight, Folia-safe

  • Works out-of-the-box with simple YAML


βš™οΈ Configuration

Path: plugins/XP2HP/config.yml

πŸ’– Health Scaling

max-health-on-level:
  0: 20      # Default health (10 hearts)
  10: 24     # 12 hearts at level 10
  20: 28     # 14 hearts at level 20
  30: 32
  40: 36
  50: 40     # 20 hearts at level 50

🧠 Stat Boosts Per Level

πŸ’‘ Format: LEVEL: - minecraft:<attribute>;<value>


πŸ”” Messages and Control Flags


βš”οΈ Supported Attributes

The following attributes can be used in the config:

Attribute
ID in Config
Default

Max Health

max-health-on-level

20.0

Attack Damage

attack_damage

1.0

Armor

armor

0.0

Movement Speed

movement_speed

0.1

Attack Speed

attack_speed

4.0

Luck

luck

0.0

Attack Knockback

attack_knockback

0.0

Scale

scale

1.0

Knockback Resistance

knockback_resistance

0.0


πŸ’¬ Commands

/xp2hp

Main command for interaction.

Subcommands

Command
Description
Permission

/xp2hp info

Plugin metadata

β€”

/xp2hp reload

Reloads the config

xp2hp.admin

/xp2hp get [player]

View stats for self or another player

β€”

/xp2hp set <player> <lvl>

Force XP level and recalculate stats

xp2hp.admin.set


πŸ”‘ Permissions


πŸš€ Installation

  1. Drop the plugin JAR into your plugins/ folder.

  2. Start your server.

  3. Edit config.yml to your liking.

  4. Use /xp2hp reload to apply changes.

Last updated