Added clone command.

Jad 2019-08-20 21:44:59 -05:00
parent c4505ccf4c
commit 86005fe7f1
1 changed files with 37 additions and 30 deletions

@ -27,15 +27,16 @@ If you're looking for the [Multiverse-Portals](https://github.com/Multiverse/Mul
15. [Delete Command](#delete-command)
16. [Confirm Command](#confirm-command)
17. [Purge Command](#purge-command)
18. [Modify Command](#modify-command)
18. [Clone Command](#clone-command)
19. [Modify Command](#modify-command)
* [Set](#modify-command-set)
* [Add](#modify-command-addremove)
* [Remove](#modify-command-addremove)
* [Clear](#modify-command-clear)
19. [Gamerule Command](#gamerule-command)
20. [Environment Command](#environment-command)
21. [Silent Command](#silent-command)
22. [Sleep Command - **DISABLED**](#sleep-command)
20. [Gamerule Command](#gamerule-command)
21. [Environment Command](#environment-command)
22. [Silent Command](#silent-command)
23. [Sleep Command - **DISABLED**](#sleep-command)
[↑ Back to Top ↑](#wiki-top)
@ -46,7 +47,7 @@ In Multiverse 2, we have included a handy new help system. To access this help,
In order to properly read this command reference, we'll walk through reading the "usage" of a command.
#### Command Case
Whenever reading this wiki or the in game `[/mv](#help)` help, you should remember that items in __ALL CAPPS__ should be replaced with a variable. Items in lowercase should be typed exactly how they appear.
Whenever reading this wiki or the in-game `[/mv](#help)` help, you should remember that items in __ALL CAPPS__ should be replaced with a variable. Items in lowercase should be typed exactly how they appear.
#### Optional vs. Required Params
Items inside square braces (`[]`) are __OPTIONAL__ where items inside curly braces (`{}`) are __REQUIRED__
#### Simple command example
@ -54,7 +55,7 @@ Let's look at a simple one first:
`[/mv info [WORLD]](#information-command)`
This means that this command has one optional parameter, meaning you could type [`/mv info`](#information-command) __or__ [`/mv info world`](#information-command). Obviously the command will do different things with or without it's params. You can tell what those effects are by reading this wiki.
This means that this command has one optional parameter, meaning you could type [`/mv info`](#information-command) __or__ [`/mv info world`](#information-command). Obviously, the command will do different things with or without its params. You can tell what those effects are by reading this wiki.
#### Complex command example
Let's look at the most complex example:
_NOTE: This is the most complex command in MV2 and in order to use it correctly, please refer to the [Create Command](#create-command)._
@ -62,7 +63,7 @@ _NOTE: This is the most complex command in MV2 and in order to use it correctly,
[`/mv create {NAME} {ENV} -s [SEED] -g [GENERATOR[:ID]]`](#create-command)
At first you will notice that there are 2 required params, __NAME__ and __ENV__. Then you will see the flags afterwards. If you want to use a [[seed|World-Properties#seeds]] you must add `-s gargamel` to the command string. If you want a [[generator|World-Properties#generators]] the same principle applies: `-g BukkitFullOfMoon`. Full examples of this command are located at the [Create Command reference](#create-command)
At first, you will notice that there are 2 required params, __NAME__, and __ENV__. Then you will see the flags afterward. If you want to use a [[seed|World-Properties#seeds]] you must add `-s gargamel` to the command string. If you want a [[generator|World-Properties#generators]] the same principle applies: `-g BukkitFullOfMoon`. Full examples of this command are located at the [Create Command reference](#create-command)
[Back to Top](#wiki-top)
@ -114,7 +115,7 @@ Displays the Multiverse help pages.
#### Details:
Displays an in game help menu for Multiverse. This will only show users commands they have access to. Use the optional integer parameter to indicate which page you would like to view. The total number of pages will be displayed once you use `/mv` for the first time.
The help command now supports searching! This means if you type `/mvh del` you will see a list of all commands whose `name`, `description`, `alias(s)` or `usage` contain 'del'. These results may be paged, depending on how long your search string, so to see another page of a search simply do: `/mvh del 2`.
The help command now supports searching! This means if you type `/mvh del` you will see a list of all commands whose `name`, `description`, `alias(s)` or `usage` contain 'del'. These results may be paged, depending on how long your search string, so to see another page of a search simply do: `/mvh del 2`.
__NOTE:__ When searching, if you try: `/mv delete` you will see the help for the __Delete Command__. This is because you have hit the nail on the head with your search: you typed the exact name of a command! If you wish to __search__ for any commands that contain the word 'delete', use any of the other help aliases: `/mvh delete`, `/mvhelp delete`, `/mv help delete`...
@ -193,14 +194,14 @@ You can use spaces in your seeds as long as you surround them with quotes. You c
---
#### World Types
As of minecraft 1.1, the concept of world types has been introduced. These seem to be like generators, but baked into minecraft itself. Currently, there are only `FLAT`, `LARGEBIOMES` and `NORMAL` for world types. To use a world type, simply use the `-t` parameter, for type. Here is a flat normal world:
As of Minecraft 1.1, the concept of world types has been introduced. These seem to be like generators but baked into Minecraft itself. Currently, there are only `FLAT`, `LARGEBIOMES` and `NORMAL` for world types. To use a world type, simply use the `-t` parameter, for type. Here is a flat normal world:
`/mv create flat_world NORMAL -t FLAT`
---
#### Map Features (Generate Structures)
As of minecraft 1.1 if you want a flat world with no structures, all you have to do is add the `-a false` flag. We used `-a` for **Allow Structures** and because `-g` was already taken.
As of Minecraft 1.1 if you want a flat world with no structures, all you have to do is add the `-a false` flag. We used `-a` for **Allow Structures** and because `-g` was already taken.
*__NOTE:__ This will **only** work with `NORMAL` worlds. @FernFerret has some [neat code here to allow flat Nether worlds with structures](https://github.com/Bukkit/CraftBukkit-Bleeding/commit/68897b284e42f8fc0bba85e736a36b5cbbf89fe3#commitcomment-912997) but it has not been added to CraftBukkit. You'll have to build it yourself.
@ -257,7 +258,7 @@ Imports an existing world folder.
#### Permission:
`multiverse.core.import`
#### Details:
The import command is almost identical to the create command apart from the fact that it is used to import a world folder that already exists. Since the world already exists, you cannot apply a new seed to it, however currently you **MUST** provide the correct environment **AND** Generator for the imported world. If you do not, bad things will happen to your world. We are working to remove these requirements. For this command you do NOT need the `-g` when specifying a generator and in fact you will receive an error message if you provide the `-g`.
The import command is almost identical to the create command apart from the fact that it is used to import a world folder that already exists. Since the world already exists, you cannot apply a new seed to it, however currently you **MUST** provide the correct environment **AND** Generator for the imported world. If you do not, bad things will happen to your world. We are working to remove these requirements. For this command, you do NOT need the `-g` when specifying a generator and in fact, you will receive an error message if you provide the `-g`.
[Back to Top](#wiki-top)
@ -339,7 +340,7 @@ Allows you to teleport to a different world.
#### Details:
The teleport command allows you to teleport yourself or others to a specified world. There are many different permissions associated with this command, with the categories being `self` and `other`; allowing you to teleport yourself and others respectively.
Each Type of [[Destination|Destinations]] will have each of the permissions (`self` and `other`) assoicated with it. The most basic example is for worlds:
Each Type of [[Destination|Destinations]] will have each of the permissions (`self` and `other`) associated with it. The most basic example is for worlds:
multiverse.teleport.self.w
multiverse.teleport.other.w
@ -517,6 +518,27 @@ If you specify the first parameter as `all` All worlds will be purged of the spe
---
## Clone Command
#### Description:
Clones a world (Copies a world directory to another directory)
#### Usage:
`/mv clone world NewWorldName`
#### Examples:
`/mv clone world world_backup`
`/mv clone myworld_nether myworld_nether_backup`
#### Aliases:
`/mv clone`
`/mvclone`
#### Permission:
`multiverse.core.clone`
#### Details:
The Clone command allows you to copy your world to another directory for a backup or to simply have two of the world for whatever reason you'd like.
[Back to Top](#wiki-top)
---
## Modify Command
#### Description:
The modify command has been documented as 4 separate sections for easier documentation. Please see the links below.
@ -577,7 +599,7 @@ See the [[World Properties]] page for more detail on these variables.
The second item is the type required. This means you cannot do `/mv modify set scale fish` or `/mv modify set animals 7`
#####A note about animals and monsters:
The `animals` and `monsters` values when used with `set` will set the overall spawn behavior of animals/monsters. If you have any monsters in the `monsters` list and you `/mv modify set monsters true` you're saying: "I want monsters to spawn, __except__ the ones in the monsters list"
The `animals` and `monsters` values, when used with `set`, will set the overall spawn behavior of animals/monsters. If you have any monsters in the `monsters` list and you `/mv modify set monsters true` you're saying: "I want monsters to spawn, __except__ the ones in the monsters list"
See also: [`/mv modify {add/remove}`](#modify-command-addremove) and [`/mv modify clear`](#modify-command-clear)
@ -686,7 +708,7 @@ All the game rules are case sensitive.
* keepInventory - Boolean
- Whether the player should keep items in their inventory if they die.
* mobGriefing - Boolean
- Whether creepers, endermen, ghasts, and withers should be able to change blocks, or zombies, skeletons, and zombie pigmen can pick up items.
- Whether creepers, endermen, ghasts, and withers should be able to change blocks or zombies, skeletons, and zombie pigmen can pick up items.
[Back to Top](#wiki-top)
@ -727,21 +749,6 @@ Causes several of the startup messages to be hidden when silent mode is enabled.
[Back to Top](#wiki-top)
---
## Sleep Command \*\*WARNING: THIS COMMAND IS CURRENTLY BROKEN!!!\*\*
#### Description:
Takes you to the last bed you slept in.
#### Usage:
`/mv sleep`
#### Examples:
`/mv sleep`
#### Aliases:
`/mv sleep`
#### Permission:
`multiverse.sleep`
#### Details:
Takes you to the last bed you slept in.
[Back to Top](#wiki-top)
<table width="100%"><tr><td><h3><center>