espidev / ProtectionStones

A useful and intuitive Minecraft region protection plugin that uses a certain block to protect regions.
https://www.spigotmc.org/resources/protectionstones-updated-for-1-13-wg7.61797/
GNU General Public License v3.0
67 stars 34 forks source link

Protection stone location inside protected area aka offset #400

Open LKits opened 6 months ago

LKits commented 6 months ago

For some reason you have removed "offset" feature which was really nice.

I'd like to create a protection stone that is 15x15x15, but stone is being placed on the floor (bottom level).

Settings would be: x_radius = 7 y_radius = 7 z_radius = 7 x_offset = 0 y_offset = -7 z_offset = 0

Please consider adding this feature once again.

Leonardo-Fiori commented 5 months ago

Yep can confirm protection stones offset values do not work and are very useful indeed

    x_radius = 3
    y_radius = 3
    z_radius = 3

    # Offset the protection block
    # If you would like to make the protection block not be at the center of new regions, you can offset it here
    # ex. x_offset = 64, y_offset = 0, z_offset = 64 would make it at the corner of a created region
    x_offset = 10
    y_offset = -3
    z_offset = 0

Offsetting seems to have no effect, tried different values `

espidev commented 5 months ago

it was removed a few years ago because it didn't work properly: https://github.com/espidev/ProtectionStones/commit/8e4e98ceb6ad6935ca7420b9d73bfa62a534507d