WorldGuard

WorldGuard

8M Downloads

Polygonal selections allow unlimited claim volumes with /rg claim

LadyCailinBot opened this issue · 6 comments

commented

WORLDGUARD-3130 - Reported by fhntv24

  1. Select region with normal cuboid selection
  2. Change selection to poly 2d
  3. //expand vert , and any other expand that you want
  4. Make region bigger that maximum value
  5. in chat /rg claim ... And you have you region

other sub bug: polygon 2d ignores all other regions , so you can claim all the world!

commented

Comment by Станислав.Усенков

Confirms! Really critical! Players are meking infinite regions!

commented

Comment by sk89q

This is because the code to get the number of blocks in a polygon was not very accurate and someone had the real bright idea of returning 0 instead of even an approximate number.

For the time being, I recommend disabling polygon regions, but I will see if I can fix the algorithm for polygons.

commented

Comment by Станислав.Усенков

Sorry, I use poly regions widely on my server =) I can't just disable them.
A lot of main city's plots are made as poly regions: http://primary.voxile.ru
Please look at the code asap ^_^

commented

Comment by fhntv24

@sk89q how do you disable them?

commented

Comment by fhntv24

Disabled them wia InClassTranslator. That did help , but really - fix at least what poly ignores other regions.

commented

Comment by sk89q

I have disabled polygons for now. I made a new issue, WORLDGUARD-3173, about re-enabling polygon support once volume() is fixed for polygons.