Custom Widgets

From BetaMC Wiki
Revision as of 09:25, 11 October 2026 by RobertWesner (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Example Stats #1: Simple and concise
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

<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)">
List of all stats
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)