> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Group Actions

> Manage player groups and inheritance.

Group actions provide control over a player's primary group and their inheritance (membership) in other groups.

## Available Actions

| Action ID                   | Description                                                 |
| :-------------------------- | :---------------------------------------------------------- |
| `set_primary_group_action`  | Sets the player's primary group.                            |
| `add_inheritance_action`    | Adds a group to the player's inherited groups (membership). |
| `remove_inheritance_action` | Removes a group from the player's inherited groups.         |

## Configuration

<ResponseField name="group" type="Var<String>" required>
  The name of the LuckPerms group.
</ResponseField>

## Example Usage

<CodeGroup>
  ```yaml Set Rank theme={null}
  # Sets the player's primary rank to VIP
  set_primary_group_action:
    group: "vip"
  ```

  ```yaml Add Sub-Group theme={null}
  # Adds the player to the 'supporter' group
  add_inheritance_action:
    group: "supporter"
  ```
</CodeGroup>
