Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 184 commands...
NameTabList
Syntaxtablist [add/remove/update] (name:<name>) (display:<display>) (uuid:<uuid>) (skin_blob:<blob>) (latency:<#>) (gamemode:creative/survival/adventure/spectator) (listed:true/false)
Short DescriptionModifies values in the player's tablist.
Full DescriptionAdds, removes, or updates a player profile entry in the player's tab-list view.

Using 'add' will add a new entry to the client's player list.
'name' must be specified.
'display' if unspecified will be the same as the name.
'uuid' if unspecified will be randomly generated.
'skin_blob' if unspecified will be a default Minecraft skin. Skin blob should be in format "texture;signature" (separated by semicolon).
'latency' is a number representing the players ping, if unspecified will be 0. 0 renders as full ping, -1 renders an "X", 500 renders orange (3 bars), 1000 renders red (1 bar).
'gamemode' if unspecified will be creative. 'spectator' renders as faded and is pushed below all non-spectator entries.
'listed' determines whether the entry will show up in the tab list, defaults to 'true'.

Using 'remove' will remove an entry from the tab list.
'uuid' must be specified.

Using 'update' will update an existing entry in the tab list.
'uuid' must be specified.
Only 'display', 'latency', 'gamemode', and 'listed' can be updated.

Usage of display names that are not empty requires enabling Denizen/config.yml option "Allow restricted actions".
Using this tool to add entries that look like real players (but aren't) is forbidden.
Related TagsNone
Usage Example
# Use to add a new empty entry to the player's tab list to fill space.
- tablist add name:<empty> display:<empty> gamemode:spectator
Usage Example
# Use to update an existing entry
- tablist update uuid:<[uuid]> gamemode:spectator latency:200
Groupplayer
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/TablistCommand.java#L32