LuckPerms luckperms/get_group

LP Get Group

Returns the primary LuckPerms group name of a player.

Note: Returns the primary group only. Use with Branch or Switch nodes to create rank-based logic.

Inputs

NameTypeOptionalDescription
player player Player to check.

Outputs

NameTypeDescription
group string Primary group name (e.g. "vip", "admin").

Examples

VIP welcome message

Send a special welcome to VIP players on join.

  1. Player Join Trigger → player → LP Get Group
  2. Compare group == "vip" → Branch
  3. True branch → Send Message with VIP welcome text