Skip to content

PlaceholderAPI

Claimo integrates with PlaceholderAPI in both directions — it consumes placeholders and provides its own.

With PlaceholderAPI installed:

  • In commands — any %placeholder% in a voucher’s cmd (beyond %player%) is resolved for the redeeming player, e.g. %player_uuid%, %vault_eco_balance%.
  • In the custom requirement — compare any PAPI value to a target with an operator. See Requirements → custom.

Claimo registers a claimo expansion so other plugins — scoreboards, holograms, GUIs — can read voucher state. Replace <id> with a code name.

Placeholder Value
%claimo_total_codes% Number of loaded codes
%claimo_uses_<id>% Total (global) redemptions of the code
%claimo_player_uses_<id>% Redemptions by the viewing player
%claimo_redeemed_<id>% true/false — whether the viewing player has redeemed the code
%claimo_remaining_<id>% Redemptions left (per its limit mode), or unlimited
%claimo_limit_<id>% The code’s limit amount, or unlimited
%claimo_can_redeem_<id>% true/false — not expired and not exhausted for the player
%claimo_expired_<id>% true/false

Show a player how many times they can still redeem the welcome code on a scoreboard:

Welcome reward: %claimo_remaining_welcome% left

If MiniPlaceholders is installed, Claimo also registers a claimo expansion there, so the exact same values are available as MiniMessage tags — usable anywhere a plugin resolves MiniPlaceholders (chat, holograms, MiniMessage GUIs).

The per-code id is passed as a tag argument rather than a suffix, and everything else maps one-to-one:

PlaceholderAPI MiniMessage tag
%claimo_total_codes% <claimo_total_codes>
%claimo_uses_<id>% <claimo_uses:'<id>'>
%claimo_player_uses_<id>% <claimo_player_uses:'<id>'>
%claimo_redeemed_<id>% <claimo_redeemed:'<id>'>
%claimo_remaining_<id>% <claimo_remaining:'<id>'>
%claimo_limit_<id>% <claimo_limit:'<id>'>
%claimo_can_redeem_<id>% <claimo_can_redeem:'<id>'>
%claimo_expired_<id>% <claimo_expired:'<id>'>
Welcome reward: <claimo_remaining:'welcome'> left