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?

  1. Download PlaceholderAPI from its official release page and upload it to plugins/.
  2. 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 reload

How 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.

Display and menu plugins
PluginOn our test server
MiniPlaceholdersInstalled for the test
DecentHologramsInstalled for the test
FancyHologramsInstalled for the test
HolographicDisplaysCompiled against only
DeluxeMenusCompiled against only

Still stuck?

Ask us on Discord or email [email protected]. Tell us your Paper version and paste the console error.