WorldEdit

WorldEdit

43M Downloads

Per-group max-selection permissions

LadyCailinBot opened this issue ยท 2 comments

commented

WORLDEDIT-2990 - Reported by Marcel.Gregoriadis

Hello, my server will get a creative world where worldedit will be enabled for users. But they could easily produce lags, thats where I need help!
But this max. select setting should only be for specific permission groups.

commented

Comment by PseudoKnight

Use limits.

limits:
    max-blocks-changed:
        default: 10000
        maximum: 1000000```

The example above means that by default people cannot edit more than 10000 blocks at a time. However, people with worldedit.limit can adjust this limit temporarily using "//limit 20000", all the way up to the maximum value. People with worldedit.limit.unrestricted are not restricted by the default or maximum limits. Thus you have 4 effective permission groups to limit blocks changed by given commands: none, default, maximum, unlimited.

Note that limits (and max-radius) does not apply to all commands.
commented

This is out of scope for WorldEdit. Limits are intended to reduce the risk of commands admins run, not protect the server from large edits.