Skip to content

Commit 7f41e74

Browse files
committed
Change inconsistent YAML code blocks to say YAML instead of YML
1 parent 169e79a commit 7f41e74

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

docs/en/create-commands/permissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ We first declare the command as normal. Nothing fancy is going on here:
128128

129129
In our **plugin.yml** we can also set up our permissions for example...
130130

131-
```yml
131+
```yaml
132132
permissions:
133133
economy.*:
134134
description: Gives the user full access to the economy commands

docs/en/user-setup/command-conversion/entity-selectors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ EssentialsX includes a command `/ext` which lets you extinguish a player that is
2020

2121
To convert this command, we could use the following `config.yml` file:
2222

23-
```yml
23+
```yaml
2424
verbose-outputs: false
2525
create-dispatcher-json: false
2626
plugins-to-convert:
@@ -44,7 +44,7 @@ However, the above `config.yml` **will not** support the following commands:
4444

4545
To handle this, we have to use the conversion with arguments (as described in the [previous section](./single-command-with-args)). For this `ext` command, we want to only use this command on _one or more players_, therefore, we want to use the `api:players` argument which is compatible with one or more players:
4646

47-
```yml
47+
```yaml
4848
verbose-outputs: false
4949
create-dispatcher-json: false
5050
plugins-to-convert:

docs/en/user-setup/command-conversion/single-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ To add commands to be converted, add them under the `other-command-to-convert` s
8585

8686
In this example, we want to convert the `//set` command from WorldEdit, as well as a custom command `/mycommand`. Note that since WorldEdit's `//set` command has two forward slashes, we ignore the first one (because that is the symbol used to start commands), but must make sure that we include the second one as that is part of WorldEdit's command syntax. This is the following `config.yml` that you would need:
8787

88-
```yml
88+
```yaml
8989
verbose-outputs: false
9090
create-dispatcher-json: false
9191
plugins-to-convert: []

docs/en/user-setup/config.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ If `true`, outputs command registration and unregistration logs in the console.
9696

9797
**Default value**
9898

99-
```yml
99+
```yaml
100100
verbose-outputs: false
101101
```
102102

103103
**Example value**
104104

105-
```yml
105+
```yaml
106106
verbose-outputs: true
107107
```
108108

@@ -112,13 +112,13 @@ If `true`, turns off all logging from the CommandAPI, except for errors.
112112

113113
**Default value**
114114

115-
```yml
115+
```yaml
116116
silent-logs: false
117117
```
118118

119119
**Example value**
120120

121-
```yml
121+
```yaml
122122
silent-logs: true
123123
```
124124

@@ -132,7 +132,7 @@ Controls messages that the CommandAPI displays to players. Available messages:
132132

133133
**Default value**
134134

135-
```yml
135+
```yaml
136136
messages:
137137
missing-executor-implementation: "This command has no implementations for %s"
138138
```
@@ -147,13 +147,13 @@ The `command_registration.json` JSON representation of commands is in the same f
147147

148148
**Default value**
149149

150-
```yml
150+
```yaml
151151
create-dispatcher-json: false
152152
```
153153

154154
**Example value**
155155

156-
```yml
156+
```yaml
157157
create-dispatcher-json: true
158158
```
159159

@@ -171,13 +171,13 @@ This feature is very experimental and should only be used if you know what you
171171

172172
**Default value**
173173

174-
```yml
174+
```yaml
175175
use-latest-nms-version: false
176176
```
177177

178178
**Example value**
179179

180-
```yml
180+
```yaml
181181
use-latest-nms-version: true
182182
```
183183

@@ -195,13 +195,13 @@ Take the warning from the [`use-latest-nms-version`](#use-latest-nms-version) an
195195

196196
**Default value**
197197

198-
```yml
198+
```yaml
199199
be-lenient-for-minor-versions: false
200200
```
201201

202202
**Example value**
203203

204-
```yml
204+
```yaml
205205
be-lenient-for-minor-versions: true
206206
```
207207

@@ -215,13 +215,13 @@ By default, this value is set to `true` and the CommandAPI will hook into the `S
215215

216216
**Default value**
217217

218-
```yml
218+
```yaml
219219
hook-paper-reload: true
220220
```
221221

222222
**Example value**
223223

224-
```yml
224+
```yaml
225225
hook-paper-reload: false
226226
```
227227

@@ -235,13 +235,13 @@ Note that datapacks will still be reloaded if performed manually when `hook-pape
235235

236236
**Default value**
237237

238-
```yml
238+
```yaml
239239
skip-initial-datapack-reload: false
240240
```
241241

242242
**Example value**
243243

244-
```yml
244+
```yaml
245245
skip-initial-datapack-reload: true
246246
```
247247

@@ -251,18 +251,18 @@ Controls the list of plugins to process for command conversion. See [Command con
251251

252252
**Default value**
253253

254-
```yml
254+
```yaml
255255
plugins-to-convert: []
256256
```
257257

258258
**Example value**
259259

260-
```yml
260+
```yaml
261261
plugins-to-convert:
262262
- Essentials: ~
263263
```
264264

265-
```yml
265+
```yaml
266266
plugins-to-convert:
267267
- Essentials:
268268
- speed
@@ -272,7 +272,7 @@ plugins-to-convert:
272272
- MyOtherPlugin: ~
273273
```
274274

275-
```yml
275+
```yaml
276276
plugins-to-convert:
277277
- Essentials:
278278
- speed <speed>[0..10]
@@ -287,13 +287,13 @@ Determines whether the proxy sender should be skipped when converting a command.
287287

288288
**Default value**
289289

290-
```yml
290+
```yaml
291291
skip-sender-proxy: []
292292
```
293293

294294
**Example value**
295295

296-
```yml
296+
```yaml
297297
skip-sender-proxy:
298298
- SkinsRestorer
299299
- MyPlugin
@@ -305,13 +305,13 @@ A list of other commands to convert. This should be used for commands which aren
305305

306306
**Default value**
307307

308-
```yml
308+
```yaml
309309
other-commands-to-convert: []
310310
```
311311

312312
**Example value**
313313

314-
```yml
314+
```yaml
315315
other-commands-to-convert:
316316
- /set
317317
- mycommand

0 commit comments

Comments
 (0)