Request -- add max-radius protection to all commands
LadyCailinBot opened this issue ยท 8 comments
WORLDEDIT-2796 - Reported by Deathgleaner..User.
I have noticed very recently that the max-radius limit in config.yml does not apply to some commands that use radius. Examples:
//sphere
//hsphere
//cyl
//hcyl
//pyramid
//hpyramid
It would be lovely to have a max radius restriction on these as well.
For example, if max-radius was set to 50 and a user did //hsphere glass 51 or //hsphere glass 500 (accidentally typed another Zero), WorldEdit would tell them "maximum radius: 50".
For cylinders, maybe a max height?
For pyramids, max-radius = max-side-length , i.e. the pyramids would obey the same radius restriction, only for size, so that if a user did //hpyramid stone 51 they'd get the "maximum radius: 50" message.
Comment by wizjany
we will likely add finer controls for limits in future versions
that particular setting was only meant for brushes though, and it will stay that way until said future versions arrive
you can always use the max-blocks-changed limit for what you want
Comment by Deathgleaner..User.
Yes, max-blocks-changed is what I am using right now to prevent Worldedit mishaps. However, if a user types in //sphere stone 500, the server gets really caught up still, since Worldedit will still try to generate that huge sphere.
I just would like a way to stop users from entering in gigantic radii.
Comment by PseudoKnight
max-radius is used on utility commands (/fixwater). max-brush-radius is used for brushes. He's suggesting max-radius apply to generation commands as well.
Comment by Dark_Arc
This is a bug per http://wiki.sk89q.com/wiki/WorldEdit/Configuration/Bukkit