mirror of
https://github.com/Pumpkin-MC/Pumpkin-Website.git
synced 2025-04-11 23:39:37 +00:00
* Change VitePress config to add locales * Move English documentation into new Directory * Started Dutch translations * Add Translation instructions * Set cleanUrls (Removes .html in URLs) * Ignore typo's for files containing translations * Add Dutch translations * Simplify config structure * Fix main page redirects for Dutch translation * Updated small indent issue --------- Co-authored-by: khalaor-gh <khalaor4@gmail.com>
47 lines
855 B
Markdown
47 lines
855 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
|
|
```
|
|
:::
|
|
|
|
## Operation permission level
|
|
|
|
The default permission level for all players.
|
|
|
|
:::code-group
|
|
```toml [configuration.toml] {2}
|
|
default_op_level = 0
|
|
```
|
|
:::
|
|
|
|
|
|
## 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
|
|
default_op_level = 0
|
|
```
|
|
:::
|