PlotSquared icon indicating copy to clipboard operation
PlotSquared copied to clipboard

Wrap world border around furthest plot + 1

Open MCAlagaesia opened this issue 4 years ago • 5 comments

PlotSquared Feature Suggestion: Currently, the world border wraps around the furthest plot. Players who own plots on the border are unable to "take a step back" and look at their plot from a distance because they can't fly beyond the border.

A solution to this problem is to wrap the border around the furthest plot, plus 1, allowing unobstructed movement around the edge of the entire world.

How should it be implemented? In each direction, the world border should wrap around the furthest plot + 1. The outermost ring of plots should be unclaimable* as in the current system. This prevents users from expanding the world border arbitrarily by abusing this change. The only difference should be that users are now able to fly a short distance beyond the world border.

Additional context * As an additional feature, the outermost ring of "unclaimable" plots could be made claimable by users with a certain admin permission. This allows the creation of merged/megaplots at the world border, which was not possible before.

Checklist:

  • [X] I made sure there are no duplicates of my suggestion (Use search)
  • [X] I made sure my suggestion does not exist yet (Check the wiki)
  • [X] I made sure my suggestion is useful for the majority of PlotSquared users

MCAlagaesia avatar Dec 20 '20 12:12 MCAlagaesia

Another idea to solve this problem with the current features:

  1. Change the road size
  2. Set the road flag for "fly" or "gamemode"

worlds.yml:

    road:
      width: 60
      height: 63
      block: grass_block
      flags:
        fly: true
# or: gamemode: creative

RedstoneFuture avatar Dec 21 '20 11:12 RedstoneFuture

Thanks for the suggestion RedstoneFuture! Just wondering, how does road width work to push the world border back? I thought it would change the road width (currently 5 blocks of road plus the plot edges, so it is set to "7" in the config based on what I understand from this page). Changing the road width is not something I want to do on an existing plot world - unless I misunderstand what road width means.

Even if I did change the road width, I can't even get onto the road because of the world border - so I'm not sure how a bigger road would help. 2020-12-21_22 58 44

MCAlagaesia avatar Dec 21 '20 12:12 MCAlagaesia

Ok, the border seems to end with the last plot. So the feature-request are useful. You're right.

An optional offset for the world border (blocks or plot offset) would be great at here.

(In my server I use the "WorldBorder" plugin with a static border size. Most of the people use "/plot auto" to claim a plot so the plots are basically around the middle.)

RedstoneFuture avatar Dec 21 '20 14:12 RedstoneFuture

Disable P2's border. Install WorldBorder. Set WB 2 road + 1 plot widths (radius or 4+2 diameter) larger than the plot world. Use WB to pre-fill the map. Win.

Or set the plot world larger by 1 plot all the way around, disable P2 border, set Minecraft's vanilla world border (the cyan stripy one) to encompass the outer road (but NOT the outer most plots) - caution though, as /p auto can still assign those plots when your world is full. (unless that's been fixed, but I don't recall a bug issue for it)

P2 Devs - A PlotSquared border buffer would be nice. "Additional walking space around outer edge plots" - configuration should allow positive integers from 1 to 127(if limited at all), with "road" "plot" and "both" being variables for reusing the plot and/or road width variables (taken from the config)

AeSix avatar Dec 21 '20 15:12 AeSix

That's a very valid feature request imo. The PS border has automatic resizing which makes it more powerful than other world borders. Having some kind of "move-only" border makes sense for the already named reasons.

SirYwell avatar Dec 21 '20 16:12 SirYwell

Once merged and the update released, this will be <world>.world.extra_border in worlds.yml

dordsor21 avatar Nov 14 '22 15:11 dordsor21