> For the complete documentation index, see [llms.txt](https://docs.zachfr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zachfr.com/plugin/duel/command-and-permission.md).

# 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                                         |
