# Commands

You can edit or disable them by following the logic on the page [commands](https://xg7plugins.gitbook.io/doc/files-and-configuration/commands "mention")

\*: Requires specific permission\
(): Optional\
\[]: Optional set\
<>: Required\
\|: Option separator

## XG7Plugins Commands

| Command            | Description                                             | Syntax                                                     | Permission                    |
| ------------------ | ------------------------------------------------------- | ---------------------------------------------------------- | ----------------------------- |
| `/configs`         | Base command for configuration management               | `/configs <plugin> [<file> [<edit\|reload\|save>]]`        | `xg7plugins.config-edit`      |
| `/configs edit`    | Edits a configuration file                              | `/configs <plugin> <file> edit`                            | `xg7plugins.config-edit`      |
| `/configs reload`  | Reloads a configuration file                            | `/configs <plugin> <file> reload`                          | `xg7plugins.config-edit`      |
| `/configs save`    | Saves a configuration file                              | `/configs <plugin> <file> save`                            | `xg7plugins.config-edit`      |
| `/lang`            | Sets the language of the player                         | `/lang [<player> <lang>]`                                  | `xg7plugins.command.lang`     |
| `/tasks`           | Task manager                                            | `/tasks [<stop \| delete \| restart \| see> <ID>]`         | `xg7plugins.command.tasks`    |
| `/tasks delete`    | Deletes a task from the tasks registry                  | `/tasks delete <id>`                                       | `xg7plugins.command.tasks`    |
| `/tasks restart`   | Restarts a stopped task                                 | `/tasks restart <id>`                                      | `xg7plugins.command.tasks`    |
| `/tasks see`       | Shows detailed information about a task                 | `/tasks see <id>`                                          | `xg7plugins.command.tasks`    |
| `/tasks stop`      | Stops a running task                                    | `/tasks stop <id>`                                         | `xg7plugins.command.tasks`    |
| `/variable`        | Manages a global or player variable                     | `/variable <set\|get\|delete\|list\|clear> [name] [value]` | `xg7plugins.command.variable` |
| `/variable set`    | Sets a variable                                         | `/variable set <global\|player> <name> <value>`            | `xg7plugins.command.variable` |
| `/variable delete` | Deletes a variable                                      | `/variable delete <global\|player> <name>`                 | `xg7plugins.command.variable` |
| `/variable get`    | Gets a variable                                         | `/variable get <global\|player> <name>`                    | `xg7plugins.command.variable` |
| `/variable clear`  | Clears all variables                                    | `/variable clear <global\|player\|all>`                    | `xg7plugins.command.variable` |
| `/variable list`   | Lists all variables                                     | `/variable list`                                           | `xg7plugins.command.variable` |
| `/reload`          | Reloads a plugin                                        | `/reload (plugin) (cause)`                                 | `xg7plugins.command.reload`   |
| `/comment`         | Sends a comment of a plugin to creator                  | `/comment <plugin> <message>`                              | `xg7plugins.comment`          |
| `/update`          | Updates a plugin                                        | `/update <<check> <plugin> \| plugin>`                     | `xg7plugins.command.update`   |
| `/update check`    | Checks for updates for all plugins or a specific plugin | `/update check (plugin)`                                   | `xg7plugins.command.update`   |
