BitAspire Wiki
CyberTokensCyberTokens

Placeholders

PlaceholderAPI values provided by CyberTokens through the %ctk_*% expansion.

CyberTokens registers the %ctk_*% PlaceholderAPI expansion when PlaceholderAPI is installed and available during startup.

Currency metadata

PlaceholderDescription
%ctk_currency_name_single%Singular currency name from config.currency.name.single
%ctk_currency_name_plural%Plural currency name from config.currency.name.plural
%ctk_currency_symbol%Currency symbol from config.currency.symbol

Balance and rank

PlaceholderDescription
%ctk_balance% or %ctk_player_balance%Raw numeric balance
%ctk_balance_formatted% or %ctk_player_balance_formatted%Balance rendered through the configured output formatter
%ctk_top_position% or %ctk_player_top_position%Current leaderboard position for the player
%ctk_transactions_count% or %ctk_player_transactions_count%Stored transaction count for the player

Last transaction

PlaceholderDescription
%ctk_last_transaction% or %ctk_player_last_transaction%Last transaction ID
%ctk_last_type% or %ctk_player_last_type%Last transaction type
%ctk_last_reason% or %ctk_player_last_reason%Last transaction reason
%ctk_last_sender% or %ctk_player_last_sender%Sender recorded on the last transaction
%ctk_last_amount% or %ctk_player_last_amount%Raw amount of the last transaction

Default values

When the player is missing or there is no transaction history yet, CyberTokens falls back to simple defaults:

  • numeric placeholders return 0
  • sender/type placeholders return none
  • missing reasons return the language value used for "no reason"

Formatting note

Some display plugins want {ctk_balance_formatted} instead of %ctk_balance_formatted%. Use the syntax required by the plugin that is reading the value.

Last updated on

On this page