randombyte-developer / command-utils

A Sponge plugin.
https://ore.spongepowered.org/RandomByte/CommandUtils
GNU General Public License v2.0
6 stars 1 forks source link

Make *-command run as an OP instead of console #15

Closed asdfasdfsg closed 4 years ago

asdfasdfsg commented 4 years ago

For example if I want a user to execute alias for WorldEdit command //chunk current implementation will run this command in a console and nothing will happen for the user. There are plenty of other cases of OP-running command benefits.

randombyte-developer commented 4 years ago

Only a player can be OP. So you want the player to temporarily have the permission to execute the command? LuckPerms already has something like this implemented. https://github.com/lucko/LuckPerms/wiki/Command-Usage:-Permission#lp-usergroup-usergroup-permission-settemp-node-truefalse-duration-temporary-modifier-context

Specify a short duration like 3 seconds to revoke the permission.

randombyte-developer commented 4 years ago

Closed due to inactivity.