0
0
mirror of https://github.com/Pumpkin-MC/Pumpkin-Website.git synced 2025-02-07 02:39:44 +00:00
Alexander Medvedev 530524b739 init
2024-12-22 19:45:25 +01:00

35 lines
678 B
Markdown

# Commands
Pumpkin supports Vanilla commands and allows you to configure where they can be ran from.
## Configuring Commands
#### `use_console`: Boolean
Whether commands from the console are accepted or not.
:::code-group
```toml [features.toml] {2}
[commands]
use_console = false
```
:::
#### `log_console`: Boolean
Whether commands from players should be logged in the console or not.
:::code-group
```toml [features.toml] {2}
[commands]
log_console = false
```
:::
## Default Config
By default, Pumpkin will allow commands from console and log all commands run by players.
:::code-group
```toml [features.toml]
[commands]
use_console = true
log_console = true
```
:::