Player List Priority (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.16

Syntax

[the] (player|tab)[ ]list priority of %players%

Description

The priority of the player in the player list in the tab menu. Used to sort players on the tab list. Lowest priority is at the bottom of tab and highest priority is at the top. If 2 players have same priority then they will be sorted A-Z (but still be above those with lower priority).

Examples

on join:
	player has permission "group.mod"
	set the player's tab list priority to 5

View source