Skip to content

Commit a2816b8

Browse files
Added links
1 parent e750786 commit a2816b8

File tree

15 files changed

+65
-67
lines changed

15 files changed

+65
-67
lines changed

commands/ability.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,29 @@ description: Gets and sets player privileges.
66

77
## Syntax
88

9-
`ability <player> <ability> [value]`
10-
11-
`ability <player> [ability]`
9+
`ability <player> [ability] [value]`
1210

1311
## Arguments
1412

15-
`<player>` Selector
13+
`<player>` [Selector](../data-types.md#selector)
1614

1715
Specifies the player for which to grant/revoke/query the privilege.
1816

1917
Must be a player name or target selector.
2018

21-
`<ability>` or \[`ability]` String
19+
`[ability]` [String](../data-types.md#string)
2220

2321
Specifies the player privilege (such as `fly` or `server`).
2422

25-
`[value]` Boolean
23+
`[value]` [Boolean](../data-types.md#boolean)
2624

2725
Specifies the value to set the ability to, must be either `true` or `false`. If not specified, returns the current privilege's value.
2826

2927
## Result
3028

3129
Fails if the arguments are not specified correctly.
3230

33-
On success, sets the player privilege into the specified privilege. If `value: Boolean` isn't specified, returns whether the player has the specified privilege. If `ability: Privilege` isn't specified, returns what privileges the player has.
31+
On success, sets the player privilege into the specified privilege. If `[value]` isn't specified, returns whether the player has the specified privilege. If `<ability>` isn't specified, returns what privileges the player has.
3432

3533
## History
3634

commands/execute.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ _Usage_
7070

7171
_Arguments_
7272

73-
`<axes>` String
73+
`<axes>` [String](../data-types.md#string)
7474

7575
Any non-repeating combination of the characters 'x', 'y', and 'z'. Axes can be declared in any order, but they cannot duplicate. (For example, `x`, `xz`, `zyx`, or `yz`.)
7676

@@ -101,7 +101,7 @@ _Syntax_
101101

102102
_Arguments_
103103

104-
`<anchor>` String (either`eyes` or `feet`)
104+
`<anchor>` [String](../data-types.md#string) (either`eyes` or `feet`)
105105

106106
Whether to anchor the executed command to eyes or feet.
107107

@@ -119,7 +119,7 @@ _Syntax_
119119

120120
_Arguments_
121121

122-
`<targets>` Selector
122+
`<targets>` [Selector](../data-types.md#selector)
123123

124124
Target entity/entities to become the new executor.
125125

@@ -153,7 +153,7 @@ _Syntax_
153153

154154
_Arguments_
155155

156-
`<targets>`: Selector
156+
`<targets>` [Selector](../data-types.md#selector)
157157

158158
Target entity/entities to match position, rotation, and dimension with.
159159

@@ -196,19 +196,19 @@ _**Arguments**_
196196

197197
Options: `facing <pos>`
198198

199-
`<pos>` Position
199+
`<pos>` [Position](../data-types.md#position)
200200

201201
Coordinates to rotate toward.
202202

203203
Options: `facing entity <targets> [anchor]`
204204

205-
`<targets>` Selector
205+
`<targets>` [Selector](../data-types.md#selector)
206206

207207
The target(s) to rotate toward.
208208

209209
Must be a player name or [target selector](../target-selectors.md).
210210

211-
`[anchor]` String (either `eyes` or `feet`)
211+
`[anchor]` [String](../data-types.md#string) (either `eyes` or `feet`)
212212

213213
Whether to face the target's _eyes_ or _feet_
214214

@@ -251,13 +251,13 @@ _**Arguments**_
251251

252252
Option: `positioned <pos>`
253253

254-
`<pos>` Position
254+
`<pos>` [Position](../data-types.md#position)
255255

256256
New position.
257257

258258
Option: `positioned as <targets>`
259259

260-
`<targets>` Selector
260+
`<targets>` [Selector](../data-types.md#selector)
261261

262262
The target(s) to match position with.
263263

@@ -293,13 +293,13 @@ _**Arguments**_
293293

294294
Option: `rotated <rot>`
295295

296-
`<rot>` Rotation
296+
`<rot>` [Rotation](../data-types.md#rotation)
297297

298298
The rotation (yaw and optionally pitch), in degrees
299299

300300
Option: `rotated as <targets>`
301301

302-
`<targets>`: Selector
302+
`<targets>` [Selector](../data-types.md#selector)
303303

304304
The target(s) to match rotation with.
305305

@@ -333,12 +333,12 @@ _**Syntax**_
333333

334334
_**Arguments**_
335335

336-
`<command>` Long string\
336+
`<command>` [Long string](../data-types.md#long-string)
337337
Can be any [Better Command](./)
338338

339339
_**Result**_
340340

341-
Execute this command. Fails if <_command_> fails.
341+
Execute this command. Fails if <command> fails.
342342

343343
## Examples
344344

commands/gamemode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: Sets a player's game mode.
1010

1111
## Arguments
1212

13-
`<gamemode>` String
13+
`<gamemode>` [String](../data-types.md#string)
1414

1515
Specifies the new game mode.
1616

@@ -19,7 +19,7 @@ Must be one of the following:
1919
* `survival` (can be abbreviated as `s` or `0`)
2020
* `creative` (can be abbreviated as `c` or `1`)
2121

22-
`[target]` Selector
22+
`[target]` [Selector](../data-types.md#selector)
2323

2424
Specifies the target(s). If not specified, defaults to the player who executes the command.
2525

commands/give.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ If there is not enough room in the player's inventory, gives the specified item(
2020

2121
## Arguments
2222

23-
`<targets>` Selector
23+
`<targets>` [Selector](../data-types.md#selector)
2424

2525
Specifies the target(s) to give item(s) to.
2626

27-
`<item>` Item
27+
`<item>` [Item](../data-types.md#item)
2828

2929
Specifies the item to give.
3030

commands/kill.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Kills entities. If, for some reason, entities do not die when attempting to kill
1616

1717
## Arguments
1818

19-
`[targets]` Selector
19+
`[targets]` [Selector](../data-types.md#selector)
2020

2121
Specifies the target(s) to kill. If not specified, defaults to the player who executed the command.
2222

commands/me.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: Broadcasts a narrative message about yourself.
1010

1111
## Arguments
1212

13-
`<action>` Long string
13+
`<action>` [Long string](../data-types.md#long-string)
1414

1515
Specifies the message to display.
1616

commands/msg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ description: 'Sends a private message to one or more players. (aliases: /w, /tel
1010

1111
## Arguments
1212

13-
`<targets>` Selector
13+
`<targets>` [Selector](../data-types.md#selector)
1414

1515
Specifies the player(s) to send the message to.
1616

17-
`<message>` Long string
17+
`<message>` [Long string](../data-types.md#long-string)
1818

1919
Specifies the message to tell.
2020

commands/old.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: >-
1212

1313
## Arguments
1414

15-
`<command>` Long string
15+
`<command>` [Long string](../data-types.md#long-string)
1616

1717
Specifies the command to run (such as `/give` or `give`) and its arguments
1818

commands/say.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: Broadcasts message in the chat to all players on the server.
1010

1111
## Arguments
1212

13-
`<message>` Long string
13+
`<message>` [Long string](../data-types.md#long-string)
1414

1515
Specifies the message to say.
1616

commands/scoreboard.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ Sets the default number format to styled, which indicates that the score is disp
4646

4747
### Arguments
4848

49-
`<objective>` String
49+
`<objective>` [String](../data-types.md#string)
5050

5151
Specifies the internal objective name.
5252

5353
Must be a single word, containing only alphanumeric characters and underscores.
5454

55-
`<criterion>` String
55+
`<criterion>` [String](../data-types.md#string)
5656

5757
Specifies the criterion of the new objective. Must be a valid scoreboard objective criterion.
5858

59-
`<displayName>` Long string
59+
`<displayName>` [Long string](../data-types.md#long-string)
6060

6161
Specifies the display name, defaulting to `<objective>` when unspecified
6262

63-
`<slot>` String
63+
`<slot>` [String](../data-types.md#string)
6464

6565
Specifies the slot to display the objective. Must be a scoreboard display slot. Valid slots are `sidebar` and `sidebar.<color>` where `<color>` is a valid team color.
6666

@@ -72,7 +72,7 @@ Specifies the sort order.
7272

7373
Specifies the text to show instead of a score.
7474

75-
`<color>` String
75+
`<color>` [String](../data-types.md#string)
7676

7777
Any valid [Minetest colorstring](https://api.minetest.net/colors) or team color.
7878

@@ -142,49 +142,49 @@ Sets the number format of the targets' scores to fixed, which indicates that the
142142

143143
### Arguments
144144

145-
`<target>` Selector or String
145+
`<target>` [Selector](../data-types.md#selector) or String
146146

147147
Specifies the score holder.
148148

149149
It must be either a target selector, a fake player name, or `*` for all score holders being tracked by the scoreboard system. Named players do not have to be online.
150150

151-
`<targets>` Selector or String
151+
`<targets>` [Selector](../data-types.md#selector) or String
152152

153153
Specifies the score holders.
154154

155155
It must be either a target selector, a fake player name, or `*` for all score holders being tracked by the scoreboard system. Named players do not have to be online.
156156

157-
`<objective>` String
157+
`<objective>` [String](../data-types.md#string)
158158

159159
Specifies the internal objective name
160160

161161
Must be a single word containing only alphanumeric characters and underscores.
162162

163-
`<score>` Number
163+
`<score>` [Number](../data-types.md#number)
164164

165165
Specifies the new score, or an amount to add/subtract from the score. Must be a number from -99,999,999,999,999 to 100,000,000,000,000.
166166

167-
`[min]`/`[max]` Number or `*`
167+
`[min]`/`[max]` [Number](../data-types.md#number) or `*`
168168

169169
Specifies the minimum and maximum value.
170170

171171
Must be a number from -99,999,999,999,999 to 100,000,000,000,000.
172172

173173
If not specified, or `*`, default is minimum or maximum value, respectively.
174174

175-
`<targetObjective>` String
175+
`<targetObjective>` [String](../data-types.md#string)
176176

177177
Specifies the objective for targets.&#x20;
178178

179179
Must be a single word containing only alphanumeric characters and underscores.
180180

181-
`<source>` Selector or String
181+
`<source>` [Selector](../data-types.md#selector) or String
182182

183183
Specifies the source score holders whose scores are used as source inputs.
184184

185185
It must be either a target selector, a fake player name, or `*` for all score holders being tracked by the scoreboard system. Named players do not have to be online.
186186

187-
`<operation>` String
187+
`<operation>` [String](../data-types.md#string)
188188

189189
Specifies the operation to be applied.
190190

@@ -202,15 +202,15 @@ Valid values:
202202

203203
In all cases except `><`, source's score remains unchanged when performing the operation on a target. If target or source isn't tracked by the specified objective, it is set to 0. If more than one score holder is specified as sources, performs the operation once with each source's score. If more than one target score holder is specified, performs the operation for each target one by one.
204204

205-
`[displayName]` Long string
205+
`[displayName]` [Long string](../data-types.md#long-string)
206206

207207
Specifies the display name.
208208

209-
`<contents>` Long string
209+
`<contents>` [Long string](../data-types.md#long-string)
210210

211211
Specifies display text
212212

213-
`<color>` String
213+
`<color>[String](../data-types.md#string)
214214

215215
Any valid [Minetest colorstring](https://api.minetest.net/colors) or team color.
216216

0 commit comments

Comments
 (0)