literalplus / commandblockerultimate

Blocks commands and does it well, or at least it thinks so. Compatible with BungeeCord and Spigot!
http://j.l1t.li/cmdblk
GNU General Public License v2.0
6 stars 5 forks source link

Multiple Filter Lists #22

Open Twonox opened 8 years ago

Twonox commented 8 years ago

Could you add only console commands system ? The operators can't use defined commands.

Twonox commented 8 years ago

And why not a separate commands list with a different message like nocheatplus.

literalplus commented 8 years ago

Hi,

thanks for your report. Could you elaborate what you mean? From my understanding, you want an option that allows the console to bypass command blocks. The command blocker doe's not apply to console as far as I can remember.

Also, I have no idea what you are trying to say with second post. Please open a separate issue for that and clearly explain what you would like to see.

Best regards

-- Above message was sent from my mobile phone. There may and will be all kinds of errors included.

On 20 Jul 2016 14:51, "Twonox" notifications@github.com wrote:

And why not a separate commands list with a different message like nocheatplus.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xxyy/commandblockerultimate/issues/22#issuecomment-233939457, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhY_rQgdpSXTkv-HkFs_vLkNGxsfsouks5qXhm9gaJpZM4JQvX2 .

Twonox commented 8 years ago
protection:
  plugins:
    hide:
      active: true
      nopermission:
        message: '&cI''m sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error.'
        commands:
        - plugins
        - version
        - icanhasbukkit
      unknowncommand:
        message: Unknown command. Type "/help" for help.
        commands:
        - bukkit:version
        - bukkit:plugins
  commands:
    consoleonly:
      active: false
      message: '&cI''m sorry, but this command can''t be executed in chat. Use the console instead!'
      commands:
      - op
      - deop
      - plugins

It's NoCheatPlus features. We can set an other message with a secondary list of commands.

  1. message: '&cI''m sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error.'
  2. message: 'Unknown command. Type "/help" for help.'

And we can block commands for operators IG. (/op, /deop and /plugins are executable only with console)

message: '&cI''m sorry, but this command can''t be executed in chat. Use the console instead!'

Thus, could you do same thing with your plugins please ? I wouldn't use NCP but this command blocker feature is only in this plugins, so if you add this to your plugins I can remove NCP from my server with no problems.

Twonox commented 8 years ago

Do you have understand or my english is bad ? xD

literalplus commented 8 years ago

I understand what you want, but such configuration format would require a major rework of the plugin.

Actually, I've had something in that direction in mind already, but I probably won't have enough time to implement that in the near future. This applies especially since it's not easy to keep things simple with such a powerful format.

-- Above message was sent from my mobile phone. There may and will be all kinds of errors included.

On 22 Jul 2016 21:05, "Twonox" notifications@github.com wrote:

Do you have understand or my english is bad ? xD

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xxyy/commandblockerultimate/issues/22#issuecomment-234629156, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhY_mFKsmsro9GEtxndFQF5e51f5suIks5qYRRpgaJpZM4JQvX2 .

Twonox commented 8 years ago

You can't use NoCheatPlus's codes to simplify the job ?

https://github.com/NoCheatPlus/NoCheatPlus

I think, with Searching System you can search ConsoleOnly to find easly the codes.

If not, it's not problem, thank you for it all the same.

literalplus commented 8 years ago

I won't be stealing others' code, the whole point of coding for fun is that you get to figure out everything yourself!

I'm sure I'd be able to do it, but as I said, that's going to take some time that I'm not sure when I'll have.

-- Above message was sent from my mobile phone. There may and will be all kinds of errors included.

On 23 Jul 2016 12:34, "Twonox" notifications@github.com wrote:

You can't use NoCheatPlus's codes to simplify the job ?

https://github.com/NoCheatPlus/NoCheatPlus

I think, with Searching System you can search ConsoleOnly to find easly the codes.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xxyy/commandblockerultimate/issues/22#issuecomment-234711543, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhY_rfUBOd3UrZEu_6TZIoI18lfyL0Hks5qYe5HgaJpZM4JQvX2 .

literalplus commented 7 years ago

This will also provide permissions per command group if implemented.