WorldEdit

WorldEdit

43M Downloads

Request -- add max-radius protection to all commands

LadyCailinBot opened this issue ยท 8 comments

commented

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.

commented

Comment by wizjany

that setting is specifically for brushes...

commented

Comment by Deathgleaner..User.

But why not have it apply to these commands?

commented

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

commented

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.

commented

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.

commented

Comment by Dark_Arc

This is a bug per http://wiki.sk89q.com/wiki/WorldEdit/Configuration/Bukkit

commented

Comment by PseudoKnight

What is a bug?

commented

Comment by wizjany

Dark_Arc, fuck off please, thanks.