Skip to content

Commit cb0e724

Browse files
committed
fix(docs): enhance command examples with color tags
1 parent 5938541 commit cb0e724

File tree

15 files changed

+43
-43
lines changed

15 files changed

+43
-43
lines changed

content/docs/characters/manage/actions.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Using `<player>` in a parameter will be replaced with the name of the player who
5454
To add a greeting action to a character named "Steve", use the following command:
5555

5656
```
57-
/character action add Steve greet any_click send-message Hello, <player>!
57+
/character action add <aqua>Steve</aqua> <yellow>greet</yellow> <green>any_click</green> <light_purple>send-message</light_purple> <gold>Hello, <player>!</gold>
5858
```
5959

6060
This action will be triggered on any click and sends `Hello, NonSwag!` if the player's name is NonSwag.
@@ -81,7 +81,7 @@ To set a cooldown for an action, use the command:
8181
#### Example [!toc] [#cooldown-set-example]
8282

8383
```
84-
/character action cooldown Steve greet 10s
84+
/character action cooldown <aqua>Steve</aqua> <yellow>greet</yellow> <green>10s</green>
8585
```
8686

8787
This sets a cooldown of **10 seconds** for the **greet** action of the character **Steve**.
@@ -94,7 +94,7 @@ To view the current cooldown for an action, use the command
9494
#### Example [!toc] [#cooldown-view-example]
9595

9696
```
97-
/character action cooldown Steve greet
97+
/character action cooldown <aqua>Steve</aqua> <yellow>greet</yellow>
9898
```
9999

100100
---
@@ -112,7 +112,7 @@ To define a permission for an action, use the command
112112
#### Example [!toc] [#permission-set-example]
113113

114114
```
115-
/character action permission Steve greet set warm.welcome.permission
115+
/character action permission <aqua>Steve</aqua> <yellow>greet</yellow> <green>set</green> <light_purple>warm.welcome.permission</light_purple>
116116
```
117117

118118
### Remove a Permission
@@ -123,7 +123,7 @@ To remove a permission for an action, use the command
123123
#### Example [!toc] [#permission-remove-example]
124124

125125
```
126-
/character action permission Steve greet remove
126+
/character action permission <aqua>Steve</aqua> <yellow>greet</yellow> <green>remove</green>
127127
```
128128

129129
### View Current Permission
@@ -134,7 +134,7 @@ To view the current permission for an action, use the command
134134
#### Example [!toc] [#permission-view-example]
135135

136136
```
137-
/character action permission Steve greet
137+
/character action permission <aqua>Steve</aqua> <yellow>greet</yellow>
138138
```
139139

140140
---
@@ -147,7 +147,7 @@ To remove a specific action from a character, use the command
147147
### Example [!toc] [#remove-example]
148148

149149
```
150-
/character action remove Steve greet
150+
/character action remove <aqua>Steve</aqua> <yellow>greet</yellow>
151151
```
152152

153153
---
@@ -159,6 +159,6 @@ List all actions configured for a character using `/character action list <chara
159159
### Example [!toc] [#list-example]
160160

161161
```
162-
/character action list Steve
162+
/character action list <aqua>Steve</aqua>
163163
164164
```

content/docs/characters/manage/create.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ If you do not specify a type, the default type is `minecraft:player`.
1212
To create a player character named "Steve", you can use the following command:
1313

1414
```
15-
/character create Steve minecraft:player
15+
/character create <aqua>Steve</aqua> <yellow>minecraft:player</yellow>
1616
```
1717

1818
To create a zombie character named "Zed", you would use:
1919

2020
```
21-
/character create Zed minecraft:zombie
21+
/character create <aqua>Zed</aqua> <yellow>minecraft:zombie</yellow>
2222
```

content/docs/characters/manage/delete.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ Deleting a character is permanent and cannot be undone.
1515
## Example [!toc]
1616

1717
```
18-
/character delete Steve
18+
/character delete <aqua>Steve</aqua>
1919
```

content/docs/characters/manage/equipment.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To equip an item in a specific slot for a character, use the command:
2121
To equip a diamond helmet for a character named "Guardian", use:
2222

2323
```
24-
/character equipment set Guardian head minecraft:diamond_helmet
24+
/character equipment set <aqua>Guardian</aqua> <yellow>head</yellow> <green>minecraft:diamond_helmet</green>
2525
```
2626

2727
## Clearing Equipment
@@ -39,7 +39,7 @@ To clear a specific equipment slot for a character, use the command:
3939
To clear the chestplate slot for a character named "Warrior":
4040

4141
```
42-
/character equipment clear Warrior chest
42+
/character equipment clear <aqua>Warrior</aqua> <yellow>chest</yellow>
4343
```
4444

4545
### Clear All Equipment
@@ -52,7 +52,7 @@ To clear all equipment slots for a character, use the command
5252
To clear all equipment for a character named "Mage":
5353

5454
```
55-
/character equipment clear Mage
55+
/character equipment clear <aqua>Mage</aqua>
5656
```
5757

5858
## Available Equipment Slots

content/docs/characters/manage/skins.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ you can use the command `/character skin set <character> player <player> [slim]`
3232
Classic skins can be applied using the following command:
3333

3434
```
35-
/character skin set MyCharacter player Notch
35+
/character skin set <aqua>MyCharacter</aqua> <yellow>player</yellow> <green>Notch</green>
3636
```
3737

3838
To apply a slim skin, just append the `slim` option:
3939

4040
```
41-
/character skin set MyCharacter player Notch slim
41+
/character skin set <aqua>MyCharacter</aqua> <yellow>player</yellow> <green>Notch</green> <light_purple>slim</light_purple>
4242
```
4343

4444
## Applying a Skin from File
@@ -59,7 +59,7 @@ If the file is located in the server's main directory, you can use a relative pa
5959
To change a character's skin using a file, you can use the following command:
6060

6161
```
62-
/character skin set MyCharacter file "/home/skins/my_skin.png"
62+
/character skin set <aqua>MyCharacter</aqua> <yellow>file</yellow> <green>"/home/skins/my_skin.png"</green>
6363
```
6464

6565
## Applying a Skin from URL
@@ -77,15 +77,15 @@ You can change a character's skin using a URL with the command
7777
To change a character's skin using a URL, you can use the following command:
7878

7979
```
80-
/character skin set MyCharacter url "https://example.com/skin.png"
80+
/character skin set <aqua>MyCharacter</aqua> <yellow>url</yellow> <green>"https://example.com/skin.png"</green>
8181
```
8282

8383
## Resetting a Skin
8484

8585
To reset a character's skin to default, you can use the following command:
8686

8787
```
88-
/character skin reset MyCharacter
88+
/character skin reset <aqua>MyCharacter</aqua>
8989
```
9090

9191
<Callout type="info">This will only reset the skin, not the skin layers.</Callout>
@@ -102,7 +102,7 @@ By default, all layers are shown. You can hide or show each layer individually.
102102
To hide a character's cape layer, you can use the following command:
103103

104104
```
105-
/character skin layer hide cape MyCharacter
105+
/character skin layer <aqua>hide</aqua> <yellow>cape</yellow> <green>MyCharacter</green>
106106
```
107107

108108
### Available Skin Layers

content/docs/characters/manage/tag.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ You can customize your character's nametag using the `/character tag` command.
3939
Set the nametag text:
4040

4141
```
42-
/character tag set text <rainbow>Hello there!</rainbow><newline><blue>Welcome to the game!</blue>
42+
/character tag set <aqua>text</aqua> <yellow><rainbow>Hello there!</rainbow><newline><blue>Welcome to the game!</blue></yellow>
4343
```
4444

4545
Change the background color to red:
4646

4747
```
48-
/character tag set background-color red
48+
/character tag set <aqua>background-color</aqua> <yellow>red</yellow>
4949
```
5050

5151
Reset the scale to default:
5252

5353
```
54-
/character tag reset scale
54+
/character tag reset <aqua>scale</aqua>
5555
```

content/docs/perworlds/manage/add.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `<world>` argument is the key of the world you want to add, and `<group>` is
1111
Adding all farmworlds to the group "farmworld":
1212

1313
```
14-
/world group add farmworld:normal farmworld
15-
/world group add farmworld:nether farmworld
16-
/world group add farmworld:the_end farmworld
14+
/world group add <aqua>farmworld:normal</aqua> <yellow>farmworld</yellow>
15+
/world group add <aqua>farmworld:nether</aqua> <yellow>farmworld</yellow>
16+
/world group add <aqua>farmworld:the_end</aqua> <yellow>farmworld</yellow>
1717
```

content/docs/perworlds/manage/create.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ The `<name>` argument is the name you want to give to your world group.
1111
Creating a world group called "farmworld":
1212

1313
```
14-
/world group create farmworld
14+
/world group create <aqua>farmworld</aqua>
1515
```

content/docs/perworlds/manage/delete.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Deleting a group is irreversible. Make sure to back up any important data before
1818
### Example [!toc]
1919

2020
```
21-
/world group delete farmworld
21+
/world group delete <aqua>farmworld</aqua>
2222
```

content/docs/perworlds/manage/options.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ The player state will not change when switching between worlds within the same g
1919
To disable a group entirely, you can use the command:
2020

2121
```
22-
/world group option enabled farmworld false
22+
/world group option <aqua>enabled</aqua> <yellow>farmworld</yellow> <green>false</green>
2323
```
2424

2525
To query the current value of an option, you can use the command:
2626

2727
```
28-
/world group option inventory farmworld
28+
/world group option <aqua>inventory</aqua> <yellow>farmworld</yellow>
2929
```
3030

3131
## All available options [!toc]

0 commit comments

Comments
 (0)