Mark-225 / BlueBridge

MIT License
19 stars 6 forks source link

More worldguard replacement variables. #12

Open ryantheleach opened 2 years ago

ryantheleach commented 2 years ago

I would appreciate the ability to add the dimensions to worldguard regions.

The primary reason for using the display for us is to list plots available.

The X and Z width/breadth is readily apparent by viewing them on the map, but having them directly listed would be useful for cuboid regions.

The option to have a 'height' and 'depth' display, which could be the y component, offset by a 'sea-level' flag or value, (or worst case, just the y value)

Mark-225 commented 2 years ago

Okay so I will probably add these new variables:

The only difficulty here is probably getting the sea-level, because I have to get that from the Bukkit API (which I can't access asynchronously), so I might have to cache those values somehow.

ryantheleach commented 2 years ago

That along with being able to pick which html template is used per plot would work for me, as I could hardcode the offset depending on the plot type being used.

However I worry that others using this may find that sealevel being global may be inflexible.