Skip to content

Commit fc29032

Browse files
committed
fix(docs): update clone command documentation to remove outdated template option
1 parent 6b85164 commit fc29032

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

content/docs/worlds/manage/clone.mdx

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,31 @@ title: Clone a world
33
description: How to use the world clone command.
44
---
55

6-
To clone a world you can use the `/world clone <world> <key> [template]` command.
7-
This command creates a copy of the specified world, allowing you to work on a separate instance without affecting the original.
6+
To clone a world you can use the `/world clone <world>` command.
7+
This command creates a copy of the specified world, allowing you to work on a separate instance without affecting the original.
8+
There are three options: `name`, `key`, and `full`.
9+
If you don't specify any of these options, the cloned world will have an auto generated name and key, and the world data will be copied 1:1.
810

911
<Callout type="info" title="Frequesntly asked questions">
1012
[What does \<key\> stand for, in command arguments?](/docs/worlds/faq#key-argument)
1113
</Callout>
1214

13-
The `template` option defines whether the cloned world should be regenerated or an exact copy of the original world.
15+
The `full` option defines whether the cloned world should be regenerated or an exact copy of the original world.
1416

15-
Example on how to create an exact copy of a world (1:1):
17+
Example on how to create an exact copy of a world:
1618

1719
```
18-
/world clone <aqua>worlds:my_world</aqua> <yellow>my_world_copy</yellow>
20+
/world clone <aqua>worlds:my_world</aqua>
1921
```
2022

21-
Example on how to clone a world's generation settings (no region data, scoreboards, player data, etc.):
23+
Example on how to clone a world's generation settings (no world data, scoreboards, player data, etc.):
2224

2325
```
24-
/world clone <aqua>worlds:my_world</aqua> <yellow>my_world_copy</yellow> template
26+
/world clone <aqua>worlds:my_world</aqua> full <yellow>false</yellow>
27+
```
28+
29+
You can define the name and key of a cloned world by using the `name` and `key` options:
30+
31+
```
32+
/world clone <aqua>worlds:my_world</aqua> name <yellow>"my world copy"</yellow> key <green>my_world_copy</green>
2533
```

0 commit comments

Comments
 (0)