Civcraft / PrisonPearl

Minecraft plugin for civcraft which allows players to imprison other players inside ender pearls
BSD 3-Clause "New" or "Revised" License
4 stars 16 forks source link

Console can't run console commands #32

Closed erocs closed 9 years ago

erocs commented 9 years ago

I tried running /ppcheck against a player and it stated that the console didn't have the right permission to do so. The code specifically locks this command to the console so the permission is rather redundant.

Commands that can be run by players or the console should explicitly grant the console permission. Humbug tags a permission group onto the console object and then adds the individual command permissions into that group (plugin.yml). For commands that are hard coded to only run in the console, the permission is unnecessary.

https://github.com/Civcraft/Humbug/blob/master/src/main/java/com/untamedears/humbug/Humbug.java#L2375

jjj5311 commented 9 years ago

was this solved in the new version?

ttk2 commented 9 years ago

its /pplocateany not /ppcheck right? or are they aliases, if they are then /pplocateany works perfectly.

erocs commented 9 years ago

They are different commands.

On Wed, Jul 1, 2015 at 4:08 PM, ttk2 notifications@github.com wrote:

its /pplocateany not /ppcheck right? or are they aliases, if they are then /pplocateany works perfectly.

— Reply to this email directly or view it on GitHub https://github.com/Civcraft/PrisonPearl/issues/32#issuecomment-117846824 .

ttk2 commented 9 years ago

yup still no perms to run it from the console.

jjj5311 commented 9 years ago

55

suirad commented 9 years ago

This can be closed.