PlaceholderAPI Support

Spawn Elytra integrates with PlaceholderAPI to provide usage statistics that can be displayed in various plugins.

Requirements

  • PlaceholderAPI plugin installed

  • Spawn Elytra plugin installed

  • Server restart after installing both plugins

Available Placeholders

Placeholder
Description
Example Output

%spawnelytra_fly_count%

Times player activated elytra

42

%spawnelytra_boost_count%

Times player used boost

156

%spawnelytra_total_count%

Combined fly + boost count

198

Installation

  1. Install Spawn Elytra

  2. Restart your server

  3. Placeholders will automatically register

To verify installation:

/papi ecloud download SpawnElytra
/papi reload

Usage Examples

Scoreboards

Using with scoreboards (FeatherBoard, AnimatedScoreboard, etc.):

Holograms

Using with hologram plugins (HolographicDisplays, DecentHolograms):

Chat Plugins

Using with chat formatting plugins (EssentialsChat, ChatControl):

Tab List

Using with TAB plugin:

Signs

Using with sign plugins:

DeluxeMenus

Create a stats menu:

Quests Plugins

Use placeholders for quest objectives:

Leaderboards

Create leaderboards with LeaderHeads or similar:

Advanced Usage

Conditional Displays

With conditional placeholders:

Math Operations

Combine with math placeholders:

Rank Systems

Create ranks based on usage:

Troubleshooting

Placeholders Not Working

  1. Check PlaceholderAPI is installed: /papi version

  2. Verify Spawn Elytra is loaded: /spawnelytra info

  3. Check expansion is registered: /papi list

  4. Try reloading: /papi reload

Common Issues

  • Shows %placeholder%: PlaceholderAPI not installed

  • Shows 0 always: Player data not loading correctly

  • Not updating: May need to rejoin server

Debug Commands

Performance Considerations

  • Placeholders are cached and update efficiently

  • Safe to use in frequently updating displays

  • No significant performance impact

  • Data persists across server restarts

Data Storage

Player statistics are stored in:

Example data file:

API Information

For developers wanting to access the data directly:

See Also

Last updated