Plugin category: Admin Suggested name: NoOPCB What I want: I want there to be permission nodes so none ops can use command blocks Ideas for commands: No commands needed for this plugin. Ideas for permissions: NoOPCB.use When I'd like it by: As soon as possible Please note do not recommend me a plugin that makes a block into a command executing block. I need to use command blocks for an adventure map.
I asked for this at the irc some time at the past, but they refused to implement this, I don't think they deside to implement this
That's good. Could you do it or recommend a plugin that can? I do not have the skills to program this.
I'm adding this to http://dev.bukkit.org/server-mods/instances/ It's a pain in the arse to do or I'd have done it this way to start with, rather than using commands. Gimme a day or so and I'll be pushing some code. I'm pretty damn sure it cannot be done with variable triggers, the only way to do this is to handle the network packet yourself (e.g. via ProtocolLib), because the packet handling code for the packet involved generates no Bukkit events you can hook into. I'll probably allow restricting the commands used via the permission, for my own purposes I don't want people running things like /mvcreate, /mvdelete etc from command blocks.
I'd do it as it's own plugin, but it depends on a lot of code in Instances, and is related to what Instances tries to achieve. For some reason there is no way in Bukkit to set the command (unless I missed it in the API) on a CommandBlock, and you have to resort to using NMS.