RunAs is a simple way to run commands as someone else.
Features:
- Run commands as someone else.
- Run commands as the console
Commands
Command | Description | Permission |
/sudo <player> <command> | Run <command> as <player> | 'runas.player' |
/sudo <console(Default "c") | Run <command> as console | 'runas.console' |
(There are two aliases for "/sudo" : /run <player/c> <command> & /runas <player/c> <command>)
Config
showUnknowCmdInSteadOfDontHavePerms # If true, "Unknow Command" will be shown, instead of "You don't have permission to do this" ConsoleAlias # the console alias
Examples
/sudo c /say test OR /sudo c say test |
The command "/kill" will be executed by the console |
/sudo abc123 /kill OR /sudo abc123 kill |
The command "/kill" will be executed by "abc123" |
I know, my english isn't so good and hopefully its possible to understand this site. If you have any problems with the plugin, just write me a PM. Source code: GitHub