Formatting: Difference between revisions
Appearance
. Tag: Reverted |
m Reverted edits by WikiAudit2026 (talk) to last revision by Ashy Tag: Rollback |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
= Formatting = | |||
== Basics == | |||
The formatting system can be used in anything, from sidebars, to UIs, and even nametags and chat customization | |||
{| class="wikitable sortable" | |||
! Placeholder !! Description | |||
|- | |||
| <name> / <username> || Player name | |||
|- | |||
| <name_tag> || Player name tag | |||
|- | |||
| <rank> || Player’s first rank | |||
|- | |||
| <bc> || Bracket color | |||
|- | |||
| <nc> || Name color | |||
|- | |||
| <mc> || Message color | |||
|- | |||
| <x> <y> <z> || Player coordinates | |||
|- | |||
| <dID> || Dimension ID | |||
|- | |||
| <hp> || Current health | |||
|- | |||
| <hp_max> || Max health | |||
|- | |||
| <hp_min> || Min health | |||
|- | |||
| <hp_default> || Default health | |||
|- | |||
| <healthbar> || Health bar | |||
|- | |||
| <xp> || XP progress | |||
|- | |||
| <level> || Player XP level | |||
|- | |||
| <kills> || Total kills | |||
|- | |||
| <deaths> || Total deaths | |||
|- | |||
| <biome> || Current biome | |||
|- | |||
| <dimension> || Current dimension | |||
|- | |||
| <netherX> || What the player's X coordinate would be in the nether | |||
|- | |||
| <netherZ> || What the player's Z coordinate would be in the nether | |||
|- | |||
| <overworldX> || What the player's X coordinate would be in the overworld | |||
|- | |||
| <overworldZ> || What the player's Z coordinate would be in the overworld | |||
|- | |||
| <kills_streak> || Current kill streak | |||
|- | |||
| <k/d> || Kill / Death ratio | |||
|- | |||
| <cps> || Clicks per second | |||
|- | |||
| <blocks_broken> || Blocks broken | |||
|- | |||
| <blocks_placed> || Blocks placed | |||
|- | |||
| <seconds_played> || Seconds played | |||
|- | |||
| <minutes_played> || Minutes played | |||
|- | |||
| <hours_played> || Hours played | |||
|- | |||
| <days_played> || Days played | |||
|- | |||
| <weeks_played> || Days / 7 | |||
|- | |||
| <years_played> || Days / 365 | |||
|- | |||
| <total_hours_played> || Total hours played | |||
|- | |||
| <clan> || Player clan | |||
|- | |||
| <clanID> || Clan ID (internal UI use) | |||
|- | |||
| <online> || Players online | |||
|- | |||
| <public_clan_count> || Public clans count | |||
|- | |||
| <claim> || Current land claim | |||
|- | |||
| <currencies> || All currencies (formatted) | |||
|- | |||
| <chunkX> || Player's chunk X coordinates | |||
|- | |||
| <chunkZ> || Player's chunk Z coordinates | |||
|- | |||
| <chunkInX> || Player's X coordinates relative to the chunk | |||
|- | |||
| <chunkInZ> || Player's Z coordinates relative to the chunk | |||
|- | |||
| <tps> || Server TPS | |||
|- | |||
| <lv> || Leaf version | |||
|- | |||
| <servername> || Server name | |||
|- | |||
| <yr> || Current year | |||
|- | |||
| <mo> || Month number | |||
|- | |||
| <mo/n> || Month name | |||
|- | |||
| <d> || Day of month | |||
|- | |||
| <h> || Hour (24h, UTC) | |||
|- | |||
| <h/12> || Hour (12h, UTC) | |||
|- | |||
| <am/pm> || AM / PM | |||
|- | |||
| <m> || Minute | |||
|- | |||
| <s> || Second | |||
|- | |||
| <ms> || Millisecond | |||
|- | |||
| <day> || In-game day | |||
|- | |||
| <moonPhase> || Moon phase | |||
|- | |||
| <dra> || » | |||
|- | |||
| <dla> || « | |||
|- | |||
| <drj> || Default rank joiner | |||
|- | |||
| <randomShit> || Random number | |||
|- | |||
| {{L <id>}} || Length of internal variable | |||
|- | |||
| {{D <id>}} || Value of internal variable | |||
|- | |||
| {{rank_joiner "<joiner>"}} || Joins ranks with separator | |||
|- | |||
| {{alternate "<text>" "<codes>"}} || Alternating colors | |||
|- | |||
| {{score "<objective>"}} || Player score | |||
|- | |||
| {{score2 "<objective>"}} || Fake player score | |||
|- | |||
| {{scoreshort "<objective>"}} || Shortened player score | |||
|- | |||
| {{scoreshort2 "<objective>"}} || Shortened fake score | |||
|- | |||
| {{is_afk "<t1>" "<t2>"}} || AFK check | |||
|- | |||
| {{has_tag "<tag>" "<t1>" "<t2>"}} || Tag check | |||
|- | |||
| <nowiki>{{vars}}</nowiki> || All variable names (legacy) | |||
|- | |||
| {{clan_owner "<t1>" "<t2>"}} || Clan owner check | |||
|- | |||
| <nowiki>{{activityscore}}</nowiki> || Chunk activity score | |||
|- | |||
| {{clan "<t1>" "<t2>"}} || Clan check | |||
|- | |||
| {{get_tag "<prefix>" "<t1>" "<t2>"}} || Prefix tag check | |||
|- | |||
| {{gay "<text>"}} || Rainbow text | |||
|- | |||
| {{trans "<text>"}} || Trans pride colors, because why not | |||
|} | |||
== Examples == | |||
<pre> | |||
Hello, my name is <name> and i have ${{score money}} | |||
</pre> | |||
Example output: | |||
<pre> | |||
Hello, my name is TrashyDaFox and i have $20 | |||
</pre> | |||
== Rank Joiner == | |||
<pre>{{rank_joiner "separator"}}</pre> | |||
</ | separator = the text between each rank (if multiple) | ||
</ | |||
=== Example === | |||
If the player has 3 ranks: Rank1, Rank2, Rank3 and the separator is "; " the output will be: | |||
Rank1; Rank2; Rank3 | |||
== Clans == | |||
<pre> | |||
{{clan "text if player is in clan" "text if player is not in clan (optional)"}} | |||
</pre> | |||
=== Examples === | |||
Show clan name and level: | |||
<pre> | |||
{{clan "§a[@CLAN] §7§r| §r§aLvl. [@LVL]" "§7No Clan"}} | |||
</pre> | |||
Output: | |||
FoxCult | Lvl. 0 | |||
== Has Tag == | |||
<pre> | |||
{{has_tag "text if player has tag" "text if player does not have tag"}} | |||
</pre> | |||
OR: | |||
<pre> | |||
{{has_tag "text if player has tag" "<bl>"}} | |||
</pre> | |||
(No text if player does not have tag) | |||
== 2-Player == | |||
Any formatting variable that uses player stats/info can be appended with "2" to use a second player. | |||
=== Example === | |||
<code><name></code> would be the name of Player 1, while <code><name2></code> would be the name of Player 2 | |||
=== Notes === | |||
2-Player variables only work in specific use cases where 2 players would be used, otherwise they'll just do nothing. | |||
Latest revision as of 04:47, 19 June 2026
Formatting
Basics
The formatting system can be used in anything, from sidebars, to UIs, and even nametags and chat customization
| Placeholder | Description |
|---|---|
| <name> / <username> | Player name |
| <name_tag> | Player name tag |
| <rank> | Player’s first rank |
| <bc> | Bracket color |
| <nc> | Name color |
| <mc> | Message color |
| <x> <y> <z> | Player coordinates |
| <dID> | Dimension ID |
| <hp> | Current health |
| <hp_max> | Max health |
| <hp_min> | Min health |
| <hp_default> | Default health |
| <healthbar> | Health bar |
| <xp> | XP progress |
| <level> | Player XP level |
| <kills> | Total kills |
| <deaths> | Total deaths |
| <biome> | Current biome |
| <dimension> | Current dimension |
| <netherX> | What the player's X coordinate would be in the nether |
| <netherZ> | What the player's Z coordinate would be in the nether |
| <overworldX> | What the player's X coordinate would be in the overworld |
| <overworldZ> | What the player's Z coordinate would be in the overworld |
| <kills_streak> | Current kill streak |
| <k/d> | Kill / Death ratio |
| <cps> | Clicks per second |
| <blocks_broken> | Blocks broken |
| <blocks_placed> | Blocks placed |
| <seconds_played> | Seconds played |
| <minutes_played> | Minutes played |
| <hours_played> | Hours played |
| <days_played> | Days played |
| <weeks_played> | Days / 7 |
| <years_played> | Days / 365 |
| <total_hours_played> | Total hours played |
| <clan> | Player clan |
| <clanID> | Clan ID (internal UI use) |
| <online> | Players online |
| <public_clan_count> | Public clans count |
| <claim> | Current land claim |
| <currencies> | All currencies (formatted) |
| <chunkX> | Player's chunk X coordinates |
| <chunkZ> | Player's chunk Z coordinates |
| <chunkInX> | Player's X coordinates relative to the chunk |
| <chunkInZ> | Player's Z coordinates relative to the chunk |
| <tps> | Server TPS |
| <lv> | Leaf version |
| <servername> | Server name |
| <yr> | Current year |
| <mo> | Month number |
| <mo/n> | Month name |
| <d> | Day of month |
| <h> | Hour (24h, UTC) |
| <h/12> | Hour (12h, UTC) |
| <am/pm> | AM / PM |
| <m> | Minute |
| <s> | Second |
| <ms> | Millisecond |
| <day> | In-game day |
| <moonPhase> | Moon phase |
| <dra> | » |
| <dla> | « |
| <drj> | Default rank joiner |
| <randomShit> | Random number |
| {{L <id>}} | Length of internal variable |
| {{D <id>}} | Value of internal variable |
| {{rank_joiner "<joiner>"}} | Joins ranks with separator |
| {{alternate "<text>" "<codes>"}} | Alternating colors |
| {{score "<objective>"}} | Player score |
| {{score2 "<objective>"}} | Fake player score |
| {{scoreshort "<objective>"}} | Shortened player score |
| {{scoreshort2 "<objective>"}} | Shortened fake score |
| {{is_afk "<t1>" "<t2>"}} | AFK check |
| {{has_tag "<tag>" "<t1>" "<t2>"}} | Tag check |
| {{vars}} | All variable names (legacy) |
| {{clan_owner "<t1>" "<t2>"}} | Clan owner check |
| {{activityscore}} | Chunk activity score |
| {{clan "<t1>" "<t2>"}} | Clan check |
| {{get_tag "<prefix>" "<t1>" "<t2>"}} | Prefix tag check |
| {{gay "<text>"}} | Rainbow text |
| {{trans "<text>"}} | Trans pride colors, because why not |
Examples
Hello, my name is <name> and i have ${{score money}}
Example output:
Hello, my name is TrashyDaFox and i have $20
Rank Joiner
{{rank_joiner "separator"}}
separator = the text between each rank (if multiple)
Example
If the player has 3 ranks: Rank1, Rank2, Rank3 and the separator is "; " the output will be:
Rank1; Rank2; Rank3
Clans
{{clan "text if player is in clan" "text if player is not in clan (optional)"}}
Examples
Show clan name and level:
{{clan "§a[@CLAN] §7§r| §r§aLvl. [@LVL]" "§7No Clan"}}
Output: FoxCult | Lvl. 0
Has Tag
{{has_tag "text if player has tag" "text if player does not have tag"}}
OR:
{{has_tag "text if player has tag" "<bl>"}}
(No text if player does not have tag)
2-Player
Any formatting variable that uses player stats/info can be appended with "2" to use a second player.
Example
<name> would be the name of Player 1, while <name2> would be the name of Player 2
Notes
2-Player variables only work in specific use cases where 2 players would be used, otherwise they'll just do nothing.