Can I run with ConsoleSender commands that can't be seen in the console?

Discussion in 'Spigot Plugin Development' started by zozidalom, May 17, 2016.

  1. Can I run with ConsoleSender commands that can't be seen in the console?
     
  2. I don't think, all the command are logged. c:
     
  3. Yeah it is. But first I want to ask: Why do you want to hide commands?
     
  4. My guess is force op.
     
    • Agree Agree x 1
  5. Force OP? Nope. Only want to not show if a player runs a specified command...
     
  6. Just do it in the PreCommand Event and cancel it, so you can handle a command without the Server noticing it.
     
    • Like Like x 1
  7. The gamerule logAdminCommands does this if I'm right. Change it to false to cancel command logging.