π§© PlaceholderAPI Integration
PlaceholderAPI support in ProgressiveUnlock is optional, but it allows you to display player-specific progression data (XP, level, etc.) in chat messages, scoreboards, holograms, signs, and other plugins that support PlaceholderAPI.
π How to Enable PlaceholderAPI Support
- Make sure you have PlaceholderAPI installed on your server.
- ProgressiveUnlock will automatically register its placeholders when PlaceholderAPI is present.
- You do not need to install expansions manually for ProgressiveUnlock β it is integrated directly.
If PlaceholderAPI is not installed, the placeholders will simply not be parsed and shown as-is (e.g.
%progressiveunlock_xp%
).
π·οΈ Available Placeholders
Placeholder | Description | Example Output |
---|---|---|
%progressiveunlock_xp% |
Playerβs current XP | 135 |
%progressiveunlock_level% |
Playerβs current level | 2 |
%progressiveunlock_requiredxp% |
XP required to reach the next level | 200 |
π Example Usages
π In Scoreboards
If you're using a scoreboard plugin like FeatherBoard or SimpleScore, you can add:
XP: %progressiveunlock_xp%
Level: %progressiveunlock_level%
Next Level in: %progressiveunlock_requiredxp% XP
π¬ In Chat Messages
With chat formatting plugins such as ChatControl or EssentialsChat:
[Level %progressiveunlock_level% | XP: %progressiveunlock_xp%/%progressiveunlock_requiredxp%] %player%: %message%
π§± On Signs
Using plugins that allow signs with placeholders (e.g., QuickBoard or PlaceholderSigns):
Line 1: [Progress]
Line 2: Level %progressiveunlock_level%
Line 3: XP: %progressiveunlock_xp%
Line 4: To next: %progressiveunlock_requiredxp%
π§ Summary
- π¦ Optional integration β plugin works without PlaceholderAPI
- π§© Dynamic placeholders for displaying XP, level, and required XP
- π§° Compatible with most plugins supporting PlaceholderAPI
Need a new placeholder or custom behavior? Feel free to suggest it!