跳转至

/scoreboard

文档版本:1.21.0.24

/scoreboard命令command.scoreboard.description

执行条件

该命令需要权限等级:gamedirectors|1。该命令需要开启作弊。

用法

/scoreboard objectives add <objective:string> dummy [displayName:string]

command.scoreboard.1.description

categoryScoreboardObjectivesCategory
枚举类型。command.enum.scoreboardobjectivescategory.description单值枚举,请直接使用objectives
actionScoreboardAddAction
枚举类型。command.enum.scoreboardaddaction.description单值枚举,请直接使用add
objectiveScoreboardObjectives
软枚举类型。command.scoreboard.objective.description
criteriaScoreboardCriteria
枚举类型。command.enum.scoreboardcriteria.description单值枚举,请直接使用dummy
displayNamestring
基本类型,可选。command.scoreboard.displayName.description
/scoreboard objectives remove <objective:string>

command.scoreboard.2.description

categoryScoreboardObjectivesCategory
枚举类型。command.enum.scoreboardobjectivescategory.description单值枚举,请直接使用objectives
actionScoreboardRemoveAction
枚举类型。command.enum.scoreboardremoveaction.description单值枚举,请直接使用remove
objectiveScoreboardObjectives
软枚举类型。command.scoreboard.objective.description
/scoreboard objectives list

command.scoreboard.3.description

categoryScoreboardObjectivesCategory
枚举类型。command.enum.scoreboardobjectivescategory.description单值枚举,请直接使用objectives
actionScoreboardListAction
枚举类型。command.enum.scoreboardlistaction.description单值枚举,请直接使用list
/scoreboard objectives setdisplay <displaySlot:ScoreboardDisplaySlotSortable> [objective:string] [sortOrder:ScoreboardSortOrder]

command.scoreboard.4.description

categoryScoreboardObjectivesCategory
枚举类型。command.enum.scoreboardobjectivescategory.description单值枚举,请直接使用objectives
actionScoreboardSetDisplayAction
枚举类型。command.enum.scoreboardsetdisplayaction.description单值枚举,请直接使用setdisplay
displaySlotScoreboardDisplaySlotSortable
枚举类型。command.enum.scoreboarddisplayslotsortable.description枚举值如下:
描述
list command.enum.scoreboarddisplayslotsortable.list
sidebar command.enum.scoreboarddisplayslotsortable.sidebar
objectiveScoreboardObjectives
软枚举类型,可选。command.scoreboard.objective.description
sortOrderScoreboardSortOrder
枚举类型,可选。command.enum.scoreboardsortorder.description枚举值如下:
描述
ascending command.enum.scoreboardsortorder.ascending
descending command.enum.scoreboardsortorder.descending
/scoreboard objectives setdisplay belowname [objective:string]

command.scoreboard.5.description

categoryScoreboardObjectivesCategory
枚举类型。command.enum.scoreboardobjectivescategory.description单值枚举,请直接使用objectives
actionScoreboardSetDisplayAction
枚举类型。command.enum.scoreboardsetdisplayaction.description单值枚举,请直接使用setdisplay
displaySlotScoreboardDisplaySlotNonSortable
枚举类型。command.enum.scoreboarddisplayslotnonsortable.description单值枚举,请直接使用belowname
objectiveScoreboardObjectives
软枚举类型,可选。command.scoreboard.objective.description
/scoreboard players list [playername:target]

command.scoreboard.6.description

categoryScoreboardPlayersCategory
枚举类型。command.enum.scoreboardplayerscategory.description单值枚举,请直接使用players
actionScoreboardListAction
枚举类型。command.enum.scoreboardlistaction.description单值枚举,请直接使用list
playernametarget
基本类型,可选。command.scoreboard.playername.description
/scoreboard players reset <player:target> [objective:string]

command.scoreboard.7.description

categoryScoreboardPlayersCategory
枚举类型。command.enum.scoreboardplayerscategory.description单值枚举,请直接使用players
actionScoreboardResetAction
枚举类型。command.enum.scoreboardresetaction.description单值枚举,请直接使用reset
playertarget
基本类型。command.scoreboard.player.description
objectiveScoreboardObjectives
软枚举类型,可选。command.scoreboard.objective.description
/scoreboard players test <player:target> <objective:string> <min:wildcard int> [max:wildcard int]

command.scoreboard.8.description

categoryScoreboardPlayersCategory
枚举类型。command.enum.scoreboardplayerscategory.description单值枚举,请直接使用players
actionScoreboardTestAction
枚举类型。command.enum.scoreboardtestaction.description单值枚举,请直接使用test
playertarget
基本类型。command.scoreboard.player.description
objectiveScoreboardObjectives
软枚举类型。command.scoreboard.objective.description
minwildcard int
基本类型。command.scoreboard.min.description
maxwildcard int
基本类型,可选。command.scoreboard.max.description
/scoreboard players random <player:target> <objective:string> <min:int> <max:int>

command.scoreboard.9.description

categoryScoreboardPlayersCategory
枚举类型。command.enum.scoreboardplayerscategory.description单值枚举,请直接使用players
actionScoreboardRandomAction
枚举类型。command.enum.scoreboardrandomaction.description单值枚举,请直接使用random
playertarget
基本类型。command.scoreboard.player.description
objectiveScoreboardObjectives
软枚举类型。command.scoreboard.objective.description
minint
基本类型。command.scoreboard.min.description
maxint
基本类型。command.scoreboard.max.description
/scoreboard players <action:ScoreboardPlayersNumAction> <player:target> <objective:string> <count:int>

command.scoreboard.10.description

categoryScoreboardPlayersCategory
枚举类型。command.enum.scoreboardplayerscategory.description单值枚举,请直接使用players
actionScoreboardPlayersNumAction
枚举类型。command.enum.scoreboardplayersnumaction.description枚举值如下:
描述
set command.enum.scoreboardplayersnumaction.set
add command.enum.scoreboardplayersnumaction.add
remove command.enum.scoreboardplayersnumaction.remove
playertarget
基本类型。command.scoreboard.player.description
objectiveScoreboardObjectives
软枚举类型。command.scoreboard.objective.description
countint
基本类型。command.scoreboard.count.description
/scoreboard players operation <targetName:target> <targetObjective:string> <operation:operator> <selector:target> <objective:string>

command.scoreboard.11.description

categoryScoreboardPlayersCategory
枚举类型。command.enum.scoreboardplayerscategory.description单值枚举,请直接使用players
actionScoreboardOperationAction
枚举类型。command.enum.scoreboardoperationaction.description单值枚举,请直接使用operation
targetNametarget
基本类型。command.scoreboard.targetName.description
targetObjectiveScoreboardObjectives
软枚举类型。command.scoreboard.targetObjective.description
operationoperator
基本类型。command.scoreboard.operation.description
selectortarget
基本类型。command.scoreboard.selector.description
objectiveScoreboardObjectives
软枚举类型。command.scoreboard.objective.description