Placeholder

Plugins supported placeholder

PlaceholderAPI Support 📜

LaagBounty integrates with PlaceholderAPI to display bounty information on signs, holograms, scoreboards, and other plugins. All placeholders require PlaceholderAPI to be installed.

📌 Player-Specific Placeholders

These placeholders require a player context (show information about a specific player).

PlaceholderDescriptionOutput
%laagbounty_player_bounty%Player's total bounty amount1500.00
%laagbounty_player_bounty_formatted%Player's bounty with thousand separators1,500.00
%laagbounty_player_has_bounty%Bounty status (true/false)true
%laagbounty_player_rank%Player's rank in leaderboard (0 = no bounty)3
%laagbounty_player_contributors%Count of unique placer contributors5

📊 Leaderboard Placeholders

Dynamic placeholders for top bounty rankings (replace X with rank number 1-100+).

PlaceholderDescriptionOutput
%laagbounty_top_X_player%Player name at rank XSteve
%laagbounty_top_X_amount%Bounty amount at rank X2500.00
%laagbounty_top_X_amount_formatted%Bounty amount at rank X with separators2,500.00
%laagbounty_top_X_uuid%UUID of player at rank X[uuid]

Examples:

  • %laagbounty_top_1_player% → Top bounty player
  • %laagbounty_top_5_amount_formatted% → 5th highest bounty with formatting
  • %laagbounty_top_10_uuid% → UUID of 10th ranked player

📊 Global Statistics Placeholders

Server-wide bounty statistics (require no player context).

PlaceholderDescriptionOutput
%laagbounty_total_bounties%Count of active bounties15
%laagbounty_total_amount%Sum of all bounties25000.00
%laagbounty_total_amount_formatted%Sum with thousand separators25,000.00

📉 Legacy Placeholders

For backward compatibility with older configurations.

PlaceholderDescriptionOutput
%laagbounty_amount%Alias: %laagbounty_player_bounty%1500.00
%laagbounty_has_bounty%Bounty status (Yes/No)Yes

📌 Placeholder Behavior

  • Missing Ranks: Return N/A for names, 0.00 for amounts
  • No Bounty: Player-specific placeholders return 0 or false
  • Formatting: All amounts display with 2 decimal places
  • Sorting: Leaderboard ranks by highest bounty amount
  • Updates: Refresh in real-time as bounties change