Skip to content

Commit 321fbe5

Browse files
committed
update hologram example on playtime hologram
1 parent 780f5bc commit 321fbe5

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

src/topper/extra/playtime/index.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,13 @@ Now when you save and restart the server, you should see the playtime leaderboar
7777

7878
## Display the Leaderboard
7979

80-
:::tabs key:s
81-
== SpigotMC
8280
We will [display it in a hologram](/topper/extra/hologram/)
8381

8482
Here is an example of a hologram that displays the top 5 players in the leaderboard:
8583

84+
:::tabs key:platform
85+
== SpigotMC
86+
8687
```
8788
&b&lPLAYTIME LEADERBOARD
8889
&7#1 &f%topper_playtime;top_name;1% &7- &b%topper_playtime;top_value;1;time:pattern=HH:mm:ss&type=duration&unit=ticks%
@@ -92,5 +93,17 @@ Here is an example of a hologram that displays the top 5 players in the leaderbo
9293
&7#5 &f%topper_playtime;top_name;5% &7- &b%topper_playtime;top_value;5;time:pattern=HH:mm:ss&type=duration&unit=ticks%
9394
```
9495
95-
![hologram](hologram.png)
96+
== FabricMC
97+
98+
```
99+
<aqua><bold>PLAYTIME LEADERBOARD
100+
<gray>#1 <white>%topper:query playtime;top_name;1% <gray>- <aqua>%topper:query playtime;top_value;1;time:pattern=HH:mm:ss&type=duration&unit=ticks%
101+
<gray>#2 <white>%topper:query playtime;top_name;2% <gray>- <aqua>%topper:query playtime;top_value;2;time:pattern=HH:mm:ss&type=duration&unit=ticks%
102+
<gray>#3 <white>%topper:query playtime;top_name;3% <gray>- <aqua>%topper:query playtime;top_value;3;time:pattern=HH:mm:ss&type=duration&unit=ticks%
103+
<gray>#4 <white>%topper:query playtime;top_name;4% <gray>- <aqua>%topper:query playtime;top_value;4;time:pattern=HH:mm:ss&type=duration&unit=ticks%
104+
<gray>#5 <white>%topper:query playtime;top_name;5% <gray>- <aqua>%topper:query playtime;top_value;5;time:pattern=HH:mm:ss&type=duration&unit=ticks%
105+
```
106+
96107
:::
108+
109+
![hologram](hologram.png)

0 commit comments

Comments
 (0)