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
| Name | Type | Optional | Description |
|---|---|---|---|
player |
player | Player to check. |
Outputs
| Name | Type | Description |
|---|---|---|
group |
string | Primary group name (e.g. "vip", "admin"). |
Examples
VIP welcome message
Send a special welcome to VIP players on join.
- Player Join Trigger → player → LP Get Group
- Compare group == "vip" → Branch
- True branch → Send Message with VIP welcome text