SupremeTokens

Supreme's internal Token provider & default token support for all plugins.

All placeholders require PlaceholderAPI, if you are looking to use these placeholders on Featherboard please use them like so, Featherboard uses MVDW PlaceholderAPI, so you have to use {placeholderapi_<placeholder without %%>} like {placeholderapi_tokens_current_long}

Supported PlaceholderAPI Version Here

Placeholders

Description

%tokens_current_long%

Current tokens balance, long formatting.

%tokens_current_short%

Current tokens balance, short formatting.

%tokens_current_raw%

Current tokens balance, default java formatting.

%tokens_total_long%

Total tokens collected, long formatting.

%tokens_total_short%

Total tokens collected, short formatting.

%tokens_total_raw%

Total tokens collected, default java formatting.

Developer API (download in discord)

TPlayer tokenPlayer = TPlayers.get().getByPlayer(Player);

// Get current tokens
double getTokens();

// Add tokens
void addTokens(double delta);

// Take Tokens
void removeTokens(double delta);

// Set the players current tokens
void setTokens(double amount);

// Get the player from the TPlayer
OfflinePlayer getBukkitPlayer();

// set the total collected tokens value (mostly just for placeholders)
void setTotalCollectedTokens(double amount);

// Add to the total collected tokens (mostly just for placeholders)
void addTotalCollectedTokens(double delta);

// Removed tokens from the total collected value (mostly just for placeholders)
void removeTotalCollectedTokens(double delta);

// Get the total collected tokens of a player (mostly just for placeholders)
double getTotalCollectedTokens();

Last updated