ScoreboardContext

class ScoreboardContext(player: Player)

The Context which is used to update the variables.

Variables:

  • name

  • uuid

  • mine_id

Components:

  • mine_display

Author

MarkusTieger

Since

0.2.0

Parameters

player

The player which will be used to create the functions for the variables.

Constructors

Link copied to clipboard
constructor(player: Player)

Functions

Link copied to clipboard
fun update(string: String): String

Formats a string with the current variables.

fun update(component: Component): Component

Formats a component and it's children with the current variables.