Sudo plugin

Sudo plugin

This plugin introduces a command that alllows you or command blocks to execute any command as another player.

288 downloads 2 followers

SudoPlugin

Run any command as another player — from the console, in-game, or triggered by a command block.


Features

  • Run any command (vanilla or plugin) as another player
  • Full Minecraft selector support: @p, @a, @r, @s, or a player name
  • Works from command blocks, console, and in-game
  • Bypass permission to protect specific players
  • No unnecessary listeners — pure command dispatch

Requirements

  • Paper 1.21.1
  • Java 21

Installation

  1. Download SudoPlugin-1.0.0.jar
  2. Drop it into your server's plugins/ folder
  3. Restart the server

Usage

/sudo <selector> <command>
Selector Target
@p Nearest player to the sender (or command block)
@a All online players
@r A random online player
@s The player who ran the command
<name> A specific player by name

Examples

/sudo @p tp ~ ~10 ~
/sudo @a give @s diamond 1
/sudo mieprenzo gamemode creative

Command Block Setup

Place a command block and enter:

sudo @p <command>

@p resolves to the player nearest to the command block. No pressure plate listener or special setup required — Minecraft's own redstone triggers it.


Permissions

Permission Default Description
sudo.use OP Allows use of the /sudo command
sudo.bypass false Player cannot be targeted by /sudo from other players

Note: sudo.bypass only applies when another player runs /sudo. Command blocks and console always execute regardless.


Made by mieprenzo

No gallery available for this project.

Version Minecraft Loader Download

Sudo plugin 1.0.0

1.0.0

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
paper
Download