Blocking a plugins command from displaying in chat and console when run from command block

Blocking a plugins command from displaying in chat and console when run from command block - Unrecognizable woman holding paw of dog

I am trying to create a timer for a mini game I am working on by using a plugin called Multiple Scoreboards. The plugin basically lets you display different scoreboards to different players, so I am having it display a timer scoreboard to only the players in the minigame.

The way that I am running the timer is by subtracting 1 point every second from a player called Time_Left that is displayed on the sidebar. However, the command block that is subtracting a point every second is displaying the command it's running in both the chat of the oped players and the console.

Is there a way I can block this command from being shown to the console and oped players when it is run by a command block?

Thanks, Jonny



Best Answer

The commands /gamerule commandBlockOutput false and /gamerule logAdminCommands false should work. The first command blocks the output from chat, and the second blocks it from logging.




Pictures about "Blocking a plugins command from displaying in chat and console when run from command block"

Blocking a plugins command from displaying in chat and console when run from command block - From above of crop anonymous male hacker typing on netbook with data on screen while sitting at desk
Blocking a plugins command from displaying in chat and console when run from command block - Unrecognizable ethnic man training purebred dog sitting on floor
Blocking a plugins command from displaying in chat and console when run from command block - From above of Asian child pointing with finger at platform while training intelligent dog in town



How do you make it so command block commands not appear in chat?

To completely hide your plugin list from other users you need to do the following:
  • Override the /plugin command.
  • Override the /pl command.
  • Override the /version command.
  • Override the /ver command.
  • Override the /help command.
  • Override the /? command.
  • Override all plugin commands with the string response "Unknown command.


  • How do you hide a command block input?

    The "commandblockoutput" gamerule, when set to false, will disable that chat output.



    Obtaining Command Blocks In Vanilla Survival On Prototech




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Ivan Babydov, Sora Shimazaki, Zen Chung, Sam Lion