Volleyball Script Leaderboard & Profile

3 min read

View Volleyball Script in the WXMAPS store

Leaderboard & Profile

Both live in the referee desk menu, and /vbteam opens them from anywhere on the map.

The leaderboard

Three views: the server's top players, the top teams, and your own standing. Your row is highlighted wherever you appear.

Board order: wins, then win rate, then points won, then name. A player with no ranked match is absent from the board entirely rather than sitting at the bottom of it.

What is recorded

Matches, wins, lossesthe record
Win ratederived
Rally points won by your sidethe volume figure
Sets won
Current streak and best streak
A separate vs-AI tallycounted, never ranked

Matches against AI are counted but never ranked. A bout with no human on the far side of the net lands in the vs-AI columns only and does not move your streak; a leaderboard that counted them would rank whoever left the game running overnight. A PvP match backfilled with AI is a real match and is ranked: the test is whether there was a human on each side, not whether NPCs were on the court.

Leaving mid-match records nothing for anyone. A participant leaving already aborts the match back to the lobby, so there is no result to record. Training lessons record nothing either.

The profile

Your record in one place: your name, your team if you are in one, your training stars, and the figures above. The team's banner and roster are one click away on the Team screen, see Teams & banners.

A player who has never finished a match still has a profile. "Come back when you have won something" is not an answer to "show me where I stand".

How players are identified

By their license, not their server id, so a record survives a reconnect, a rename, a restart and a server id being recycled onto somebody else.

On a server with no license key the fallback is the session id, which server ids recycle. On such a server a record is effectively per-session. This is the same honest limitation the team registry carries.

Where it lives, and what a client can reach

Stats are one table; profiles and teams are their own. All of them are keyed by license, the server reads them directly, and no client can reach any of it: all a player's game ever receives is the panel's own answer, which is names, numbers and pictures, and never an identifier.

One write per match, on the final point, plus one when the resource stops. Never per point. A cosmetic change (a banner, a roster edit) is written immediately instead, because it is rare enough that there is nothing to batch, and the cost of deferring one is somebody painting a flag cell by cell and losing it to a restart.