Group (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.2-dev35

Syntax

[the] group[s] of %offlineplayers%

Description

The primary group or all groups of a player. This expression requires Vault and a compatible permissions plugin to be installed. If you have LuckPerms, ensure you have vault integration enabled in the luck perms configurations.

Examples

on join:
	broadcast "%group of player%" # this is the player's primary group
	broadcast "%groups of player%" # this is all of the player's groups

View source