> For the complete documentation index, see [llms.txt](https://skript-luckperms.gitbook.io/skript-luckperms/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://skript-luckperms.gitbook.io/skript-luckperms/creation-deletion.md).

# Creation/Deletion

### Creating a LuckPerms Group

Creating a LuckPerms group is very simple: You just need to provide a string for what the group should be named.\
\
Consider this example:

```dart
create new luckperms group named "mycoolgroup"
```

## Creating a LuckPerms Track

Creating a LuckPerms track is almost exactly the same as creating a LuckPerms Group:\
You need to provide a string for the name.\
\
Consider this example:

```dart
create new luckperms track with name "mytrack123"
```

{% hint style="warning" %}
The name of a group/track must match the following regex, else it will not be created:

```
[a-z0-9_.-]+
```

{% endhint %}

## Deleting a LuckPerms Group

Deleting a LuckPerms group is pretty simple:\
All you need to provide is the group to delete (in most cases just a string with the name of the group).\
\
Consider this example:<br>

```dart
delete luckperms group "mycoolgroup"
```

## Deleting a LuckPerms Track

Just like deleting a LuckPerms track:\
You need to provide the track to delete.\
\
Consider this example:<br>

```dart
delete luckperms group "mytrack123"
```

{% hint style="warning" %}
All of these effects are AsyncEffects and will cause return code blocks they are in (if any) to not work.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://skript-luckperms.gitbook.io/skript-luckperms/creation-deletion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
