This pull request is part of an effort to enable the usage of WorldEdit for less privileged (non-admin) players on a server without risking disruption of the world as a whole.
In this specific case, huge edits (those which require confirmation due to safe.lua) require an extra privilege (worldedit_huge) to confirm. This is to prevent players having the worldedit privilege from creating requests that hang the server for a long time.
Also, the worldedit_global privileg is required to loading/saving from/to the schems folder since this is global. An interesting alternative approach might be to have per-player schems namespaces.
This pull request is part of an effort to enable the usage of WorldEdit for less privileged (non-admin) players on a server without risking disruption of the world as a whole.
In this specific case, huge edits (those which require confirmation due to safe.lua) require an extra privilege (worldedit_huge) to confirm. This is to prevent players having the worldedit privilege from creating requests that hang the server for a long time.
Also, the worldedit_global privileg is required to loading/saving from/to the schems folder since this is global. An interesting alternative approach might be to have per-player schems namespaces.