Custom Widgets: Difference between revisions
Jump to navigation
Jump to search
RobertWesner (talk | contribs) No edit summary |
RobertWesner (talk | contribs) No edit summary |
||
| Line 8: | Line 8: | ||
===Online Badge=== | ===Online Badge=== | ||
[[File:Screenshot_20261008_134626.png|200px|thumb|right]] | |||
Simple badge that uses the BetaMC stats API to check weather the user is online or offline. | Simple badge that uses the BetaMC stats API to check weather the user is online or offline. | ||
| Line 15: | Line 17: | ||
</pre> | </pre> | ||
[[File: | ===Stats=== | ||
[[File:Screenshot_20261011_110705.png|160px|thumb|right|Example Stats #1: Simple and concise]] | |||
[[File:Screenshot_20261011_110731.png|160px|thumb|right|Example Stats #2: All of them except for online badge]] | |||
All-in-one customizable stats widget. Automatically floats to the right. Stats can be added and omitted as wanted. Ordering is fixed. | |||
====Example #1==== | |||
<pre> | |||
<br class="cc -stats (skin=full, online, firstJoin, playTime)"> | |||
</pre> | |||
====Example #2==== | |||
<pre> | |||
<br class="cc -stats (skin=face, firstJoin, lastSeen, score, playTime, balance, blocksPlaced, blocksBroken, blocksTraveled, playersKilled, mobsKilled, deaths, damageDealt, damageTaken)"> | |||
</pre> | |||
{| class="wikitable" | |||
|+ List of all stats | |||
! Id !! Description | |||
|- | |||
| <code>skin=?</code> || May be set to either <code>skin=face</code> or <code>skin=full</code>. | |||
|- | |||
| <code>online</code> || Displays online badge next to name. | |||
|- | |||
| <code>firstJoin</code> || Date of the initial join. | |||
|- | |||
| <code>lastSeen</code> || Date of last join, displays "online" if currently online. | |||
|- | |||
| <code>score</code> || Total score. | |||
|- | |||
| <code>playTime</code> || Time played in days, hours, minutes. | |||
|- | |||
| <code>balance</code> || Total <code>/baltop</code> balance including banks. | |||
|- | |||
| <code>blocksPlaced</code> || Total blocks placed. | |||
|- | |||
| <code>blocksBroken</code> || Total blocks broken. | |||
|- | |||
| <code>blocksTraveled</code> || Distance of blocks travelled. | |||
|- | |||
| <code>playersKilled</code> || Count of killed players. | |||
|- | |||
| <code>mobsKilled</code> || Count of killed mobs. | |||
|- | |||
| <code>deaths</code> || Count of deaths. | |||
|- | |||
| <code>damageDealt</code> || Amount of damage dealt to players and mobs. | |||
|- | |||
| <code>damageTaken</code> || Amount of damage taken. | |||
|} | |||
==General Widgets== | ==General Widgets== | ||
(none yet) | (none yet) | ||
Latest revision as of 09:25, 11 October 2026
What?
Widgets! Tiny stuffs, custom made, loaded dynamically. Easy to add, just put the below codes somewhere on the page, and it works.
User Page Widgets
These widgets cannot be used outside of User pages and automatically detect and use the name of the user.
Online Badge

Simple badge that uses the BetaMC stats API to check weather the user is online or offline.
<br class="cc -online>
Stats


All-in-one customizable stats widget. Automatically floats to the right. Stats can be added and omitted as wanted. Ordering is fixed.
Example #1
<br class="cc -stats (skin=full, online, firstJoin, playTime)">
Example #2
<br class="cc -stats (skin=face, firstJoin, lastSeen, score, playTime, balance, blocksPlaced, blocksBroken, blocksTraveled, playersKilled, mobsKilled, deaths, damageDealt, damageTaken)">
| Id | Description |
|---|---|
skin=? |
May be set to either skin=face or skin=full.
|
online |
Displays online badge next to name. |
firstJoin |
Date of the initial join. |
lastSeen |
Date of last join, displays "online" if currently online. |
score |
Total score. |
playTime |
Time played in days, hours, minutes. |
balance |
Total /baltop balance including banks.
|
blocksPlaced |
Total blocks placed. |
blocksBroken |
Total blocks broken. |
blocksTraveled |
Distance of blocks travelled. |
playersKilled |
Count of killed players. |
mobsKilled |
Count of killed mobs. |
deaths |
Count of deaths. |
damageDealt |
Amount of damage dealt to players and mobs. |
damageTaken |
Amount of damage taken. |
General Widgets
(none yet)