[SPIGOT-995] Permissions for Command Block usage Created: 22/Jun/15 Updated: 13/Jul/15 Resolved: 13/Jul/15 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Hex | Assignee: | md_5 |
Resolution: | Won't Fix | Votes: | 4 |
Labels: | craftbukkit |
Description |
Currently the only way to modify a command block is to be an opped player that is in gamemode 1. I propose that we add a permission node that, when granted, allows a player to modify a command block. In order to do this, the method net.minecraft.server.CommandBlockListenerAbstract.a(EntityHuman) must return true assuming that the specified player has the permission node (as far as I know). I could probably add this into an nms patch, but my dev environment is a mess. If nobody wants to do this I could make a PR for it, but do you people think that this would actually be a useful addition? |
Comments |
Comment by md_5 [ 13/Jul/15 ] |
Plugin can do this. |
Comment by Hex [ 13/Jul/15 ] |
Go ahead and close this/the PR. I thought that this would be useful to have in core bukkit, but you've convinced me that it's probably better to use plugins for this. |
Comment by md_5 [ 12/Jul/15 ] |
Still waiting for you to respond to the PR you made. |
Comment by Hex [ 22/Jun/15 ] |
EDIT - I've made a PR for this issue, it has yet to be accepted. |