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)

1
TPlayer tokenPlayer = TPlayers.get().getByPlayer(Player);
2
3
// Get current tokens
4
double getTokens();
5
6
// Add tokens
7
void addTokens(double delta);
8
9
// Take Tokens
10
void removeTokens(double delta);
11
12
// Set the players current tokens
13
void setTokens(double amount);
14
15
// Get the player from the TPlayer
16
OfflinePlayer getBukkitPlayer();
17
18
// set the total collected tokens value (mostly just for placeholders)
19
void setTotalCollectedTokens(double amount);
20
21
// Add to the total collected tokens (mostly just for placeholders)
22
void addTotalCollectedTokens(double delta);
23
24
// Removed tokens from the total collected value (mostly just for placeholders)
25
void removeTotalCollectedTokens(double delta);
26
27
// Get the total collected tokens of a player (mostly just for placeholders)
28
double getTotalCollectedTokens();
Copied!
Last modified 4mo ago