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 : "--"
# 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 : "--"
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!"
messageformat : "&eRunAsOP &8> &f{message}"
nopermissions : "You can't use that command!"
usage : "Usage: {usage}"
success : "Forced {name} to run &e{cmd}&f!"
If you found a bug or have a suggestion, add a comment
Satisfied? Leave a review!
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Run Command As OP | Sudo without granting perms! is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 692 times (via Spigot). Download it and open it directly in the game.