Volleyball Script Commands

2 min read

View Volleyball Script in the WXMAPS store

Commands

Player commands

Open to everybody, with no permission and no dev switch.

Command
/vbJoin or open the nearest court (when Config.RequireReferee is off)
/vbsolo [1-3]A full scored match against AI on the nearest court
/vbtrain [lesson]Start a training lesson: movement, passing, setting, serving, spiking, blocking. Again to stop
/vbteamYour team, profile and the leaderboard, from anywhere on the map
/vbleaveLeave the current match

The ball carts, the cool box, the beach circle and the referee desk need no command at all.

Admin permission

The builder and the measuring tools are admin-only, per player, and re-checked on the server for every write.

# everyone already in group.admin
add_ace group.admin vsvb.admin allow

# or one person, live from the console, no restart:
add_ace identifier.license:xxxxxxxx vsvb.admin allow

Config.Admin also accepts ESX / QBCore group names, a hard list of identifiers, or your own resolve(src) function.

/vb_adminIn game: do I pass?
vsvb_adminsServer console: re-ask live for everyone connected. The tool for "I added the ace and it still says no"

There is nothing to turn off before you open the server. There is no server-wide dev switch; the tools are simply invisible to anyone without the permission. Keep the ace narrow instead.

Admin commands

Command
/volleyballcreatorThe builder: courts, props, spectators, the referee desk
/vb_markMeasure where the paint sits inside a floor mesh
/vb_court_hereStart a court at your feet
/vb_netoffset · /vb_netz · /vb_poleszNudge the net and poles when a custom model needs it
/vb_hidden · /vb_unhideList and restore world objects removed to clear a court
/vb_ballspot · /vb_ballstockPlace a ball cart, and read how full every cart is
/vb_ballsizeMeasure the beach-circle ball, for Config.Freeplay.ball.radius
/vb_soundPlay every configured sound by name, to check the audio pack

Every one of them re-checks the permission on the server, so they are safe to leave installed on a live server.

Server console

vsvb_adminsWho currently passes the admin check
vsvb_teamsEvery team, with id, tag, name, member count and whether it has a banner
vsvb_team_delete <id>Delete a team. Everybody in it is told and their panel refreshes

The console is root, so there is no ace on the team commands.