# Command and permission

| Command                                        | Permission                                       | Description                                                             |
| ---------------------------------------------- | ------------------------------------------------ | ----------------------------------------------------------------------- |
| /duel help                                     | none                                             | Displays information about the plugin.                                  |
| /duel \<player>                                | <p>If enable in config.</p><p>duel.askplayer</p> | Ask another player in duel.                                             |
| /duel accept                                   | <p>If enable in config.</p><p>duel.accept</p>    | Accept duel from another player.                                        |
| /duel deny                                     | <p>If enable in config.</p><p>duel.deny</p>      | Deny duel from another player.                                          |
| /duel createarena \<Loc1> \<Loc2> \<ArenaName> | duel.createarena                                 | <p>Create a arena for duel.</p><p>/duel createrena x,y,z x,y,z test</p> |
| /duel deletearena \<ArenaName>                 | duel.deletearena                                 | Delete arena.                                                           |
| /duel listarena                                | duel.listarena                                   | List all arena.                                                         |
| /duel reload                                   | duel.reload                                      | Reload the plugin.                                                      |
| /duel cancel                                   | duel.cancel                                      | Cancel the current request duel                                         |


---

# Agent Instructions: 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:

```
GET https://docs.zachfr.com/plugin/duel/command-and-permission.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
