setDisplayName

public abstract void setDisplayName(String name)

Sets the "friendly" name to display of this player. This may include color.

Note that this name will not be displayed in game, only in chat and places defined by plugins.

Parameters

name

The new display name.