Skip to content

PlaceholderAPI

Narcilioo edited this page Jul 23, 2026 · 1 revision

PlaceholderAPI

Complete guide to using PlaceholderAPI with GlowPlayersPro.

Overview

GlowPlayersPro provides a PlaceholderAPI expansion that allows you to use placeholders in other plugins like TAB, ScoreboardSidebar, and many more.

Installation

  1. Download PlaceholderAPI
  2. Place the JAR file in the plugins/ folder
  3. Restart the server

GlowPlayersPro will automatically register its expansion.

Available Placeholders

%glowplayerspro_color%

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)

Usage in Plugins

TAB

_DEFAULT_:
  tagprefix: "%luckperms-prefix%%glowplayerspro_color%"
  customtabname: "%glowplayerspro_color%%player%"

ScoreboardSidebar

title: "Player Info"
lines:
  - "Glow color: %glowplayerspro_color%%player%"

Other Plugins

Use the placeholder anywhere that supports placeholders:

%glowplayerspro_color%

How It Works

  1. Player enables glow with /glow red
  2. Plugin saves the color "RED" in player data
  3. Placeholder %glowplayerspro_color% returns §c (red color code)
  4. Plugin using the placeholder applies this color

For Neon Effect

  1. Player enables neon with /glow neon
  2. Plugin starts a color cycle
  3. Placeholder returns the current cycle color
  4. Color changes every neon-speed-ticks configured

Testing Placeholders

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.

Compatibility

Compatible Plugins

  • TAB
  • ScoreboardSidebar
  • DeluxeChat
  • AnyPlace
  • Any plugin that supports placeholders

Verifying the Expansion

To verify the expansion is registered:

/papi list

Look for glowplayerspro in the list.

Troubleshooting

Placeholder Not Working

  1. Check if PlaceholderAPI is installed

    /papi
    

    If the command doesn't exist, PlaceholderAPI isn't installed.

  2. Check if the expansion is registered

    /papi list
    

    Look for glowplayerspro in the list.

  3. Re-register the expansion

    /papi reload
    
  4. Test the placeholder

    /papi parse <player> %glowplayerspro_color%
    

Placeholder Returns Empty

  1. Player has no active glow
  2. Glow was recently disabled
  3. There's an error in player data

Placeholder Doesn't Change in Neon

  1. Check if neon effect is active
  2. Check the speed in neon-speed-ticks
  3. Placeholder reflects the current cycle color

Important Notes

  • 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

Clone this wiki locally