Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/Sudo plugin
Sudo plugin

Sudo plugin

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

4
0

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>
SelectorTarget
@pNearest player to the sender (or command block)
@aAll online players
@rA random online player
@sThe 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

PermissionDefaultDescription
sudo.useOPAllows use of the /sudo command
sudo.bypassfalsePlayer 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

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:MIT
Опубликован:3 недели назад
Обновлён:3 недели назад
Главная