Constructors
constructor
- new Scoreboard(name: string | ScoreboardOpts): Scoreboard
- new Scoreboard(name: string, opts: ScoreboardOpts): Scoreboard
- new Scoreboard(name: string, slot: number, opts: ScoreboardOpts): Scoreboard
- new Scoreboard(name: string, slot: number, type: string): Scoreboard
- new Scoreboard(name: string, slot: number, type: string, scores: any): Scoreboard
-
Parameters
-
name: string | ScoreboardOpts
-
Parameters
-
name: string
-
opts: ScoreboardOpts
-
Parameters
-
name: string
-
slot: number
-
opts: ScoreboardOpts
-
Parameters
-
name: string
-
slot: number
-
type: string
-
Parameters
-
name: string
-
slot: number
-
type: string
-
scores: any
Properties
name
name: string
slot
slot: number
Methods
set
-
Parameters
-
index: number
-
text: string
-
Parameters
-
Parameters
-
scores: (string | [number, string])[]
setName
-
Parameters
setScore
-
Parameters
-
index: number
-
text: string
setSlot
-
Parameters
show
-
Parameters
Velt's
Scoreboard
utility