GainExpDisplay

Displays XP gain and Mending repair progress in the action bar with fully configurable messages.

278

Quick challenge

How far can you run before the mobs catch you?

GainExpDisplay

GainExpDisplay

paper purpur modrinth spigot hangar github

##

A lightweight Minecraft plugin that shows useful feedback in the action bar whenever you gain experience or when items are repaired by Mending.

✨ Features

- Displays XP gained directly in the action bar - Shows Mending repair amount and durability progress - Fully customizable messages using MiniMessage - 7 languages supported - Lightweight and performance-friendly

📸 Showcase

- XP Gained

Gaining XP

- Mending Repair

Mending Repair

⚙️ Configuration

- Permission requirement and messages toggle are fully configurable in ```config.yml```. - All messages are fully customizable in translation files using translation files format.

```yaml

Configuration version, DO NOT MODIFY THIS VALUE!

config-version: 3.0.0

######################################################

Language #

######################################################

Language setting (available: en_US, es_ES, de_DE, fr_FR, zh_CN, ja_JP, th_TH)

If the specified language file is missing, it will fall back to en_US.

lang: en_US

Adding custom language

1. Create a new file in the translations directory

2. Use en_US.yml as a template

3. Modify the file as needed

4. Set language to your custom language file name

######################################################

Permissions #

######################################################

When set to true, players require permissions to see any message.

This setting applies globally to all message types.

See below for a list of permissions.

require-permission: false

Permissions for displaying messages:

#

gainexpdisplay.gainexp - Display text when gaining experience

gainexpdisplay.mending - Display text when repairing items with Mending

######################################################

Settings #

######################################################

When set to true, players will see text when gaining exp.

gain-xp: enabled: true

When set to true, players will see text when repairing items with Mending.

mending-repair: enabled: true ```

📚 Command & Permissions

- Command

| Command | Permission | Description | | ----------------- | --------------------------- | ------------------- | | ```/ged reload``` | ```gainexpdisplay.reload``` | Reload config file. |

- Permissions

| Permission | Description | Default | | ---------------------------- | ----------------------------------------------- | ---------- | | ```gainexpdisplay.gainxp``` | Display text when gaining experience. | ```true``` | | ```gainexpdisplay.mending``` | Display text when repairing items with Mending. | ```true``` |

ADS