# Commands & Permissions

### Commands

* `/sd <dialogueId> [player]`
  * Alias: `/startdialogue <dialogueId> [player]`
  * **Description:** Starts a pre-defined dialogue (specified by `<dialogueId>`) for yourself or optionally for another `[player]`.
  * **Usage:**
    * To start for yourself: `/sd <dialogueId>`
    * To start for another player: `/sd <dialogueId> <playerName>`
* `/sd custom <line1>,[line2],...`
  * **Description:** Displays a quick, temporary dialogue to yourself using the provided text lines. Lines are separated by commas. Maximum lines are defined in `config.yml`.
  * **Usage:** `/sd custom Hello %player_name%!,Welcome to the server.`
  * *(Note: This command can only be run by a player)*
* `/sdreload`
  * Alias: `/dialoguereload`
  * **Description:** Reloads the plugin's `config.yml` file.
  * **Usage:** `/sdreload`

### Permissions

* `strikesdialogues.start.others`
  * **Description:** Allows a player to start pre-defined dialogues for other online players using `/sd <dialogueId> [player]`.
* `strikesdialogues.custom`
  * **Description:** Allows a player to use the `/sd custom ...` command.
* `strikesdialogues.reload`
  * **Description:** Allows a user (player or console) to reload the plugin's configuration using `/sdreload`.


---

# 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://coziest-room.gitbook.io/coziest-docs/coziest-plugins/strikes-dialogues/commands-and-permissions.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.
