-
Notifications
You must be signed in to change notification settings - Fork 0
PlaceholderAPI
Complete guide to using PlaceholderAPI with GlowPlayersPro.
GlowPlayersPro provides a PlaceholderAPI expansion that allows you to use placeholders in other plugins like TAB, ScoreboardSidebar, and many more.
- Download PlaceholderAPI
- Place the JAR file in the
plugins/folder - Restart the server
GlowPlayersPro will automatically register its expansion.
Returns the current glow color of the player.
Returns:
| State | Return | Description |
|---|---|---|
| Glow disabled | (empty) | Player has no glow |
| Static color |
§c (example) |
Minecraft color code |
| Neon effect | Current cycle color | Changes every tick |
Usage examples:
%glowplayerspro_color% → §c (red)
%glowplayerspro_color%%player% → Steve (colored name)
_DEFAULT_:
tagprefix: "%luckperms-prefix%%glowplayerspro_color%"
customtabname: "%glowplayerspro_color%%player%"title: "Player Info"
lines:
- "Glow color: %glowplayerspro_color%%player%"Use the placeholder anywhere that supports placeholders:
%glowplayerspro_color%
- Player enables glow with
/glow red - Plugin saves the color "RED" in player data
- Placeholder
%glowplayerspro_color%returns§c(red color code) - Plugin using the placeholder applies this color
- Player enables neon with
/glow neon - Plugin starts a color cycle
- Placeholder returns the current cycle color
- Color changes every
neon-speed-ticksconfigured
Use the PlaceholderAPI command to test:
/papi parse <player> %glowplayerspro_color%
Example:
/papi parse Steve %glowplayerspro_color%
If the player has red glow active, the result will be §c.
- TAB
- ScoreboardSidebar
- DeluxeChat
- AnyPlace
- Any plugin that supports placeholders
To verify the expansion is registered:
/papi list
Look for glowplayerspro in the list.
-
Check if PlaceholderAPI is installed
/papiIf the command doesn't exist, PlaceholderAPI isn't installed.
-
Check if the expansion is registered
/papi listLook for
glowplayersproin the list. -
Re-register the expansion
/papi reload -
Test the placeholder
/papi parse <player> %glowplayerspro_color%
- Player has no active glow
- Glow was recently disabled
- There's an error in player data
- Check if neon effect is active
- Check the speed in
neon-speed-ticks - Placeholder reflects the current cycle color
- The expansion persists between PlaceholderAPI reloads (
/papi reload) - Placeholder works even when
use-teams: false - For neon effect, placeholder returns the color in real-time
- Offline players return empty