uSkyBlock icon indicating copy to clipboard operation
uSkyBlock copied to clipboard

[Suggestion] WorldBorder Integration

Open BlackBeltPanda opened this issue 8 years ago • 5 comments

I'd love to see a form of WorldBorder integration, ideally integration with both the vanilla world border and the WorldBorder plugin with a config setting to toggle one or the other.

The idea is that uSkyBlock would create a world border at the edge of the furthest island's region, centered at 0,0, and expand as necessary. This would also be beneficial in preventing chunks from being loaded by players with the ability to fly who decide to fly straight for hours on end. It would also help in the off chance that terrain generation fails and vanilla terrain is generated (has happened to me a few times), preventing flying players from generating tons of vanilla terrain that has to be WorldEdit'ed away.

BlackBeltPanda avatar Oct 22 '16 16:10 BlackBeltPanda

So, maybe doing some per player borders would be nice, right? I mean like using per player packets (ProtocolLib) to apply borders to player island, but only he/she can see them.

Lmmb74 avatar Oct 22 '16 17:10 Lmmb74

Ok, just to clarify your suggestion @BlackBeltPanda , you'd like the following:

  1. A config-setting allowing configuration of World-Border integration
  2. When config is enabled, maintain the world-border when a new island is created (increasing or decreasing the border as neccesary).

Is this correct?

Reg. @Lmmb74 - we already have that, try out the /usb rg show commands.

rlf avatar Oct 22 '16 17:10 rlf

That's correct; basically a way to prevent players from flying outside the area in which all islands exist.

BlackBeltPanda avatar Oct 22 '16 18:10 BlackBeltPanda

I can make this, but tell me @rlf which would be better: NMS (without Reflection but declaring which to use in main class :P); or Reflection?

Lmmb74 avatar Oct 22 '16 20:10 Lmmb74

As I said @Lmmb74 , we already have this! No need for you to "make it". Checkout https://github.com/rlf/uSkyBlock/blob/master/uSkyBlock-Core/src/main/java/us/talabrek/ultimateskyblock/command/admin/RegionCommand.java

But, please open a new issue, if you'd like to discuss improvements, since this issue is about something completely different.

rlf avatar Oct 23 '16 08:10 rlf