promotional bannermobile promotional banner

RemoteCommand

Allows you to execute a command as a different player or the console.

This plugin allows you to execute commands as someone else. It is an "out-of-need-creation" and was coded in less than 30 minutes. I thought I might as well release it, since it's so simple and apparently does not yet exist in this shape.

Features

  • Provides a command to let you execute a command as a different player or the console.
  • The command can also be executed from the console or from a command block.
  • Has various permission nodes to protect you from unwanted commands.
  • You can also send chat messages as that player if you wish.
  • As simple as you would expect it to be.
  • No pointless console outputs that flood your log.

Source code

This plugin is open source on GitHub.

View the source code


Usage

Command syntax is:

  • /as <who> <command|message>

(If the alias "/as" is occupied on your server, use "/remotecmd" )

<who>
Either a name of an online player (may be partial), or console
<command|message>
The command to execute. If it doesn't start with a /, it is considered a chat message (unless <who> is the console).

Note that the command is executed exactly as if the specified player executed it. That means that the checked permissions will be those of the remote player, and any notification or error message of the command will be sent to the remote player.


Permission nodes

remotecommand.*
Gives access to all permissions of this plugin. (default: false)
remotecommand.use
Allows the usage of the "/as" command. (default: op)
remotecommand.console
Allows executing commands as the console. (default: op)
remotecommand.protected
Blocks others without this node to execute commands as the player with this node. You don't want anyone to do nasty stuff as you, the super powerful monster admin, right? ... Right?! (default: op)

That's it. No config, no dependencies, nothing complicated.

If you want to declare your love to me, please put it in the comments. You monster.

The RemoteCommand Team

profile avatar
  • 3
    Projects
  • 88.0K
    Downloads
Donate

More from _ForgeUser7689996

  • DeathControl project image

    DeathControl

    • 81.3K
    • Bukkit Plugins

    Keep items and more on death! Highly customizable.

    • 81.3K
    • March 22, 2015
    • Bukkit Plugins
    • +1
  • RoutePlanner project image

    RoutePlanner

    • 3.8K
    • Bukkit Plugins

    RoutePlanner allows you to define routes to specific locations, and users can be guided through chat messages to these locations

    • 3.8K
    • March 25, 2012
    • Bukkit Plugins
  • DeathControl project image

    DeathControl

    • 81.3K
    • Bukkit Plugins

    Keep items and more on death! Highly customizable.

    • 81.3K
    • March 22, 2015
    • Bukkit Plugins
    • +1
  • RoutePlanner project image

    RoutePlanner

    • 3.8K
    • Bukkit Plugins

    RoutePlanner allows you to define routes to specific locations, and users can be guided through chat messages to these locations

    • 3.8K
    • March 25, 2012
    • Bukkit Plugins