HomeJavaModsAdvPlots - β
AdvPlots - β
[​IMG]
AdvPlots.png
AdvPlots is a custom Plot Manager and World Generator for PlotSquared showcasing the limitless possibilities of the P² API.
Source: GitHub

Notice - This plugin is obsolete and will no longer be maintained.
This plugin has become mostly obsolete since the introduction of schematic road generation in the hybrid generator bundled with PlotSquared. AdvPlots is significantly more difficult to install than the default generator, and it will be much more tedious for me to help you install it. I recommend you only use this if you specifically need some functionality not offered in the default generator. As of PlotSquared 3.0.0 you can convert your AdvPlots world to the hybrid generator by configuring the correct road.offset.x and road.offset.z.

Overview
AdvPlots allows for some really cool customizations when it comes to world generation. It uses advanced schematic based world generation to provide you with complete control over the look of each plot.

Requires
- PlotSquared
- WorldEdit


Features
Schematic based world generation:
- Schematics are tessellated to create the plots
- Can be a simple square, or an epic castle
Any shape you want:
- Break free from the limitations of square plots.
- Use simple polygons, donuts, or some funky spiral
Supports mega plots
- Merge your plots together to create one big creatively shaped plot
Seamless integration with PlotSquared:
- Uses /plot setup - to help you create a world with AdvPlots.

Installation
(I will be uploading some cool schematics in the near future. Don't worry, I'll get some help from people that are actually good at building.)

For this tutorial I am going to use a rectangle with rounded corners as an example (Hopefully I don't bore you to death with my creativity, or lack thereof). It's not a fancy castle, but hopefully this will give you an idea of how it works.

First off you are going to want to create the plot you are going to tessellate. Not all parts of the plot have to be joined together. You could in fact have four circles as your "single plot".

There are two important constraints.
- The road needs to be symmetrical about the line x=z (the imaginary line between the two blue angles seen below)
- The schematic must start from the minimum x, and minimum z coordinate of the plot. It cannot start any higher or else it wouldn't include all the blocks in the plot.

Remember, you are not required to have walls, they just make it easier to view the plot.

So, to begin, it is probably useful to have WorldEdit installed (unless you have another plugin that can save schematics). I will be assuming you are using WE.

1] Select the entire plot (between the blue angles) and make sure you have expanded it to include all the blocks in your plot.
e.g. Use //expand vert

2] Copy the blocks with //copy

3] Save the schematic with //schem save default
(or whatever name you want)

2014-10-18_22.46.16.png
We are now going to create a schematic to show PlotSquared how a single merging works.

This first one is a simple merge in one direction. Notice on the very right how the wall has also extended?

4] Copy the blocks again with //copy

5] Save the schematic with //schem save east
(again, it can be called whatever you wish)

2014-10-18_22.47.07.png
Now we are going to show PlotSquared how a merge in two directions works. Notice how the only road blocks remaining are in the bottom left corner?

6] Copy the blocks again with //copy

7] Save the schematic with //schem save southeast
(these are just encouraged naming conventions still)

2014-10-18_22.47.21.png
This last one will show PlotSquared how a full on merge looks like. It's entirely up to you what road blocks you actually want to remove, but I decided for this example that all roads should be removed if a plot is merged in all directions.

8] Copy the blocks again with //copy

9] Save the schematic with //schem save all
(Yay, another schematic!)

2014-10-18_22.48.03.png
Now that you have these schematics, you will need to copy them over to your PlotSquared schematics folder.

By default WorldEdit stores schematics in: "plugins/worldedit/schematics"
simply move them to

"plugins/plotsquared/schematics"
(You may need to create the directory)

Adding the world to the settings.yml using the setup command:
Use the setup command /plots setup <worldname> AdvPlots

Remember the names you chose for the schematics above.


Adding the world to the settings.yml manually (not recommended)
In your PlotSquared settings.yml, you will then need to add the world. Here is an example, where <worldname> is the name of the world you are going to create later.

The important part here is the schematic section a few lines down, which you may need to change depending on what you called your schematics:

Code (Text):

worlds:
  <worldname>:
    plot:
      height: 0
      schematic:
        merged_east: east
        merged_all: all
        default: default
        merged_southeast: southeast
      biome: FOREST
      auto_merge: false
      floor:
      - '2:0'
      size: 32
      filling:
      - '1:0'
    economy:
      use: false
      prices:
        sell: 75.0
        merge: 100.0
        claim: 100.0
    schematic:
      on_claim: false
      specify_on_claim: false
      file: 'null'
    flags:
      default: []
    natural_mob_spawning: false
    chat:
      enabled: false
    wall:
      height: 64
      filling: '1:0'
      block: '44:0'
    road:
      block: '155:0'
      height: 64
      width: 7
      stripes: '98:0'
      enable_stripes: false
    events:
      spawn:
        egg: false
        breeding: false
      pve: false
      pvp: false
    event:
      spawn:
        custom: true

============================================

Examples
2014-10-15_14.50.59.png
========================================

If you need any help, or have some feedback, I'd appreciate it if you would leave comment in the discussion section, or send me a PM.




Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AdvPlots - β is a free Minecraft Java mod. Downloaded 4,210 times (via Spigot). Download it and open it directly in the game.

Explore more