1. Wiki
  2. /Commands
  3. //scoreboard

/scoreboard

Put commands in your add-on as functions: GodCraft writes and packs them for you.Get GodCraft

/scoreboard: Creates objectives and changes scores, the main way to store numbers like points or timers.

Syntax

<angle brackets> are required, [square brackets] optional. /scoreboard has 11 forms:

/scoreboard <category: scoreboardobjectivescategory> <action: scoreboardaddaction> <objective: scoreboardobjectives> <criteria: scoreboardcriteria> [displayName: id]
/scoreboard <category: scoreboardobjectivescategory> <action: scoreboardremoveaction> <objective: scoreboardobjectives>
/scoreboard <category: scoreboardobjectivescategory> <action: scoreboardlistaction>
/scoreboard <category: scoreboardobjectivescategory> <action: scoreboardsetdisplayaction> <displaySlot: scoreboarddisplayslotsortable> [objective: scoreboardobjectives] [sortOrder: scoreboardsortorder]
/scoreboard <category: scoreboardobjectivescategory> <action: scoreboardsetdisplayaction> <displaySlot: scoreboarddisplayslotnonsortable> [objective: scoreboardobjectives]
/scoreboard <category: scoreboardplayerscategory> <action: scoreboardlistaction> [playername: wildcardselection]
/scoreboard <category: scoreboardplayerscategory> <action: scoreboardresetaction> <player: wildcardselection> [objective: scoreboardobjectives]
/scoreboard <category: scoreboardplayerscategory> <action: scoreboardtestaction> <player: wildcardselection> <objective: scoreboardobjectives> <min: wildcardint> [max: wildcardint]
/scoreboard <category: scoreboardplayerscategory> <action: scoreboardrandomaction> <player: wildcardselection> <objective: scoreboardobjectives> <min: int> <max: int>
/scoreboard <category: scoreboardplayerscategory> <action: scoreboardplayersnumaction> <player: wildcardselection> <objective: scoreboardobjectives> <count: int>
/scoreboard <category: scoreboardplayerscategory> <action: scoreboardoperationaction> <targetName: wildcardselection> <targetObjective: scoreboardobjectives> <operation: operator> <selector: wildcardselection> <objective: scoreboardobjectives>

Commands: Commands

We use cookies to improve your experience and analyse site traffic. Learn more