How to use PlaceholderAPI with your plugin
PlaceholderAPI lets plugins share values, such as a player's balance or rank, as placeholders like %player_name% that other plugins can show.
When does my plugin need PlaceholderAPI?
Your plugin needs PlaceholderAPI when your report lists it under "Plugins it needs" to read or provide placeholders such as %player_name%.
How do I install it?
- Download PlaceholderAPI from its official release page and upload it to
plugins/. - Restart your server so PlaceholderAPI creates its configuration folder.
Do I need expansions?
Yes, if your plugin reads placeholders from another plugin such as player stats or Vault. Your report lists any expansion your plugin expects.
/papi ecloud download <name>
/papi reloadHow do I test a placeholder?
Run the parse command in game or console to see the live value for a player.
/papi parse me %placeholder%Hologram, menu and modern placeholder plugins
When your report includes hologram, menu or MiniMessage placeholder hooks, install the listed plugin in plugins/. Check a hook marked "Compiled against only" once on your own server after installing.
| Plugin | On our test server |
|---|---|
| MiniPlaceholders | Installed for the test |
| DecentHolograms | Installed for the test |
| FancyHolograms | Installed for the test |
| HolographicDisplays | Compiled against only |
| DeluxeMenus | Compiled against only |
Still stuck?
Ask us on Discord or email [email protected]. Tell us your Paper version and paste the console error.