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

# Preset

> Create and manage presets for roles, claim times, and entries.

<Warning>
  `<>` means an argument is required, `[]` means it's optional
</Warning>

### Viewing presets

View an existing preset.

<CodeGroup>
  ```js Syntax theme={null}
  /preset view <preset_name>
  ```
</CodeGroup>

* `preset_name` (text): required <br />
  The name of the preset you want to view.

### Creating a preset

Create a new preset.

<CodeGroup>
  ```js Syntax theme={null}
  /preset create <preset_name>
  ```
</CodeGroup>

* `preset_name` (text): required <br />
  The name you want to give the new preset.

### Removing a preset

Remove an existing preset.

<CodeGroup>
  ```js Syntax theme={null}
  /preset remove <preset_name>
  ```
</CodeGroup>

* `preset_name` (text): required <br />
  The name of the preset you want to delete.

### Adding a role to a preset

Add a role configuration to an existing preset.

<CodeGroup>
  ```js Syntax theme={null}
  /preset add-role <preset_name> <role> <claim_time> [entries] [claim_time_stack] [entries_stack]
  ```
</CodeGroup>

* `preset_name` (text): required <br />
  The name of the preset you want to modify.
* `role` (role): required <br />
  The role you want to add to the preset.
* `claim_time` (time): required <br />
  The claim time assigned to this role.
* `entries` (number): defaults to **0** <br />
  The number of extra entries this role grants.
* `claim_time_stack` (bool): defaults to **false** <br />
  Whether claim time stacks with other roles.
* `entries_stack` (bool): defaults to **false** <br />
  Whether entries stack with other roles.

### Removing a role from a preset

Remove a role from an existing preset.

<CodeGroup>
  ```js Syntax theme={null}
  /preset remove-role <preset_name> <role>
  ```
</CodeGroup>

* `preset_name` (text): required <br />
  The name of the preset you want to modify.
* `role` (role): required <br />
  The role you want to remove from the preset.
