RunAsOP

Plugin description
Have you ever wanted to grant a user temporary administrator permissions for one single command? RunAsOP is the solution for you. This extremely lightweight plugin allows you to force/sudo players to send commands as an operator! It works by giving temporary admin permissions to the target for a one time, per command use and takes it away when the command is performed. Works with Bukkit and Paper Minecraft servers.
What is this about?
Basically, RunAsOP lets you force your players to use commands if they don't have the permissions for it. For example, if you want to spawn a mob at a player's location:
/runasop playername summon mob ~ ~ ~ .
Is it safe?
Yes, this plugin has 4 layers of security to ensure that the temporary op status can not be abused in any way, even in extreme and unlikely circumstances such as an unexpected server crash.
Commands
/runasreload - Reloads the plugin's configuration files
/runasop (player) (command) - Forces the target player to run the specified command as an OP. Use
$name for the plugin to substitute in the target's name.
Aliases: /tempop, /sudoop
Permissions
All commands are only accessible to operators and the console.
Configuration
The config is split into settings.yml and messages.yml
settings.yml
Code (YAML):
# What a line in messages.yml will start with if you don't want to use messageformat
# For example "Plugin > some message" is the default message
# You can change it to "some message" if you replace the default with the following in messages.yml
# example: "--some message"
negateformat
:
"--"
messages.yml
Code (YAML):
# The format that all messages will follow unless negated with prefix stated in settings.yml
messageformat
:
"&eRunAsOP &8> &f{message}"
nopermissions
:
"You can't use that command!"
usage
:
"Usage: {usage}"
success
:
"Forced {name} to run &e{cmd}&f!"
Support
If you found a bug or have a suggestion,
add a comment
Satisfied? Leave a review!