mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
Destroyed 安装 (markdown)
parent
6bdda88525
commit
920a384c1c
104
安装.md
104
安装.md
@ -1,104 +0,0 @@
|
||||
## Initial Setup:
|
||||
- Download the files (download from plugin page)
|
||||
- Extract the contents from the zip (if it's in a zip file)
|
||||
- Put "PlotSquared.jar" into your "plugins" directory for the server
|
||||
- Run the server once to generate the necessary files
|
||||
|
||||
## Database Configuration
|
||||
|
||||
### Database: SQLite
|
||||
If you do not have a MySQL database, storage should automatically be set for SQLite and you may skip this step.
|
||||
|
||||
### Database: MySQL
|
||||
**Please remember you can only have MySQL or SQLite but not both**
|
||||
|
||||
- Navigate to "storage.yml"
|
||||
- Configure the settings for your MySQL database
|
||||
- See here if you have no idea what MySQL is.
|
||||
|
||||
## PlotMe conversion (Optional)
|
||||
- Please make sure you have completed the steps above
|
||||
- If everything goes well, it will convert all plots, copy over the configuration, and reconfigure your multiverse settings (it should take less than a minute for 100,000 plots)
|
||||
|
||||
#### Step 1: Install PlotSquared/Delete PlotMe.jar
|
||||
Delete `PlotMe.jar`. This is required if you have version 0.15, 0.15.1 or 0.15.2-SNAPSHOT of PlotMe, as those versions will [try to prevent](https://github.com/WorldCretornica/PlotMe-Core/blob/73440da224b4b7f655c774e683780e771ffea379/src/bukkit/java/com/worldcretornica/plotme_core/bukkit/PlotMe_CorePlugin.java#L27-L30) you from converting. Once you start your server with it, PlotMe conversion will automatically take place. PlotSquared will indicate when the conversion process is complete. If you are having any issues with it taking too long, please tell us.
|
||||
|
||||
#### Step 2: Switching Generators
|
||||
Sometimes PlotSquared will be unable to switch the generators for your plot worlds. If this is the case, you will need to manually switch the generator over while the server is stopped.
|
||||
|
||||
If you have multiverse or multiworld, you can change the generator within the their respective configuration. Otherwise you will need to change the generator to "PlotSquared" in the "Bukkit.yml" which is located in your root folder.
|
||||
|
||||
If you start the server without having switched over the generators, you may see a debug message saying: `Plot 'X;Z' in DB for world 'plotworld' does not exist! Please create this world, or remove the plots from the DB!`. This is a gentle reminder that you need to switch the generator over for a world.
|
||||
#### Step 3: Optimizing your worlds:
|
||||
[See here](https://github.com/IntellectualCrafters/PlotSquared/wiki/World-reduction)
|
||||
## World Creation
|
||||
####[Tutorial: Custom Augmented](https://github.com/IntellectualCrafters/PlotSquared/wiki/TerrainControl)
|
||||
- Tutorial for using a non PlotSquared generator such as TerrainControl
|
||||
|
||||
####[Tutorial: Partial Augmented](https://github.com/IntellectualCrafters/PlotSquared/wiki/Augmented-Plot-Worlds)
|
||||
- Tutorial for adding plot clusters to an existing world
|
||||
|
||||
#### Optional: Generate a world with a schematic already in the plot:
|
||||
Navigate to the following directory:
|
||||
`plugins\PlotSquared\schematics\GEN_ROAD_SCHEMATIC\<world>`
|
||||
You may need to create the directories if they do not exist (case sensitive).
|
||||
- Replace `<world>` with the name of your world
|
||||
|
||||
Put a schematic called `plot.schematic` in the folder, then generate the world (see below).
|
||||
_Note: the schematic pastes from the plot height defined in the settings.yml_
|
||||
####Option 1: Creating a world with Multiverse:
|
||||
`/mv create <world> normal -g PlotSquared`
|
||||
|
||||
It will also accept several arguments:
|
||||
- `s` or `size` (plot size)
|
||||
- `g` or `gap` (road width)
|
||||
- `h` or `height` (plot height)
|
||||
- `f` or `floor` (plot floor block)
|
||||
- `m` or `main` (plot main block)
|
||||
- `w` or `wall` (plot wall block)
|
||||
- `b` or `border` (plot border block)
|
||||
|
||||
Examples:
|
||||
- `/plot create <world> normal -g PlotSquared:size=64`
|
||||
- `/plot create <world> normal -g PlotSquared:h=64,main=5:2`
|
||||
|
||||
####Option 2: Creating a world with Multiworld:
|
||||
`/mw create <world> plugin:PlotSquared`
|
||||
|
||||
####Option 3: Using the setup command (supports the new world types):
|
||||
- Use the command: `/plot setup`
|
||||
|
||||
When done, you will be prompted to set the generator. This IS REQUIRED if you have selected the DEFAULT terrain type AND you do not have Multiverse or MultiWorld installed.
|
||||
|
||||
To set the generator:
|
||||
- navigate to you bukkit.yml file (in the root folder)
|
||||
- set the generator for the world under the "worlds"
|
||||
e.g.
|
||||
```YAML
|
||||
worlds:
|
||||
<world name>:
|
||||
generator: PlotSquared
|
||||
```
|
||||
|
||||
## Adding Road Schematics
|
||||
##### Road schematics are added after world generation. You are also capable of changing the roads whenever you want, however newly created roads are recommended.
|
||||
First you want to build a road surrounding your plot. If you want to save time, you are only required to create roads on the west, and northwest part of the road relative to the plot. (If you are worried about messing up, it's best just to build the road around the whole plot)
|
||||
|
||||
Here is what a road might look like:
|
||||
![Road schematic](http://i.imgur.com/XeVojbB.png)
|
||||
|
||||
Once you have created the road, stand in the plot and execute the following command:
|
||||
|
||||
`/plot createroadschematic`
|
||||
|
||||
|
||||
To test the schematic (recommended), stand in some other road not part of the schematic. Te following will regenerate the road in the chunk you are standing in:
|
||||
|
||||
`/plot debugroadregen`
|
||||
|
||||
|
||||
If all is well, you can begin regenerating the roads in the entire map. Open up your console and execute the following command (this may take a while / also causes lag spikes):
|
||||
|
||||
`/plot regenallroads`
|
||||
## Example configuration:
|
||||
[Click Here](https://github.com/IntellectualCrafters/PlotSquared/wiki/Example-configuration)
|
Loading…
Reference in New Issue
Block a user