https://github.com/edk0/bukkit-sudo
Execute privileged commands on Minecraft servers as arbitrary users
https://github.com/edk0/bukkit-sudo
Last synced: 8 months ago
JSON representation
Execute privileged commands on Minecraft servers as arbitrary users
- Host: GitHub
- URL: https://github.com/edk0/bukkit-sudo
- Owner: edk0
- Created: 2012-11-10T14:16:08.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-19T22:41:42.000Z (over 12 years ago)
- Last Synced: 2025-01-29T20:18:08.440Z (9 months ago)
- Language: Java
- Homepage:
- Size: 117 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
bukkit-sudo
===========
A Bukkit plugin for executing commands with other usernames.
Usage
-----
/sudo [-psv] [--]
/sudo [-psv] -u [--]
I'm well aware that the first form is all but useless - I just wanted the
syntax to match that of sudo.
Without `-p` set, /sudo gives you op permissions plus any permissions held by
the calling user. With `-p` it gives you every permission. Some plugins might
have "bad permissions" that make `-p` a bad option but in the absence of these
(and I don't know of any important ones) it's probably a good idea.
*Note that the `-u` option has no effect on the permission set /sudo gives
you.* `-u` simply runs the command from the username given instead of your own
name.
By default /sudo prints [sudo] in front of everything the command tries to
send back. `-s` (silent) disables this behaviour.
Conversely, if you feel /sudo does not spam you enough, you can specify `-v`
to get some extra output.
If `` contains words beginning with a `-` character the `--` is
required or they could under certain circumstances be parsed as options.
Permissions
-----------
* `sudo.*` - everything
* `sudo.name` - /sudo -u
* `sudo.op` - /sudo
* `sudo.permission` - /sudo -p