Updated Schematic on Claim (markdown)

NotMyFault 2020-02-16 18:07:29 +01:00
parent 1dd4b5778b
commit 4cdbdc6a4a

@ -1,30 +1,5 @@
## Schematic on Claim ## Schematic on Claim
#### Up to 1.12:
The schematic on claim option is quite strange, and might be hard to understand. Therefore I've decided to create this simple guide that will teach you how to use that powerful feature of PlotSquared.
1. Make sure you have a schematic the exact size of your plots (if you have the plot width set to 32 blocks, then the schematic must be exactly 32x32 blocks big). I would advice you to use WorldEdit to save the schematic.
Select the plot area (from the floor and up) Type `//copy` When you have the selection copied, you can save it with `//schematic save mce schematic_name`
2. When you have the `.schematic` file, place it in `/plugins/PlotSquared/schematics`, if the folder doesn't exists then you'll have to create it.
3. To validate the schematic type `/plot schematic test schematic_name`. You can now test if it pastes successfully using `/plot schematic paste schematic_name`
Now you have a working schematic file. To have it paste on claim you'll need to configure your worlds.yml, here is a simple snippet explaining how to do that in the `worlds.yml`.
```YAML
# The following is a slice from the plotworld settings, change this for each plotworld
schematic:
# File name (without .schematic)
file: 'schematic_name'
# If you want it on claim
on_claim: true`
```
You can use the same schematic for more than one plotworld.
#### 1.13 and later:
To have a schematic pasted on a plot when the plot is claimed you need to: To have a schematic pasted on a plot when the plot is claimed you need to:
1. Build in a plot. If you want an external schematic, then use WorldEdit to paste it in the plot ([Tutorial](https://worldedit.readthedocs.io/en/latest/usage/clipboard/#clipboard)) 1. Build in a plot. If you want an external schematic, then use WorldEdit to paste it in the plot ([Tutorial](https://worldedit.readthedocs.io/en/latest/usage/clipboard/#clipboard))
2. Use `/plot schematic save` to save the schematic. You can find a list of saved schematics by using `/plot schematic list` 2. Use `/plot schematic save` to save the schematic. You can find a list of saved schematics by using `/plot schematic list`