Simple code to disable console logging to op's chat.

Discussion in 'Plugin Development' started by Novality, Apr 16, 2022.

Thread Status:
Not open for further replies.
  1. Offline

    Novality

    I'm running a 1.8.8 spigot server. I have a plugin that dispatches commands through console which causes mass logging to op's chats in-game.

    I've tried:
    - Looking for an option in server.properties but that doesn't exist yet in this version.
    - Setting silent-commandblock-console to true in spigot.yml
    - Updating Essentials to an EssentialsX version in order to get an option in their newer config.yml's, but having EssentialsX on the server breaks commands so I'm stuck with a super old version of the original Essentials that does not have an option to disable commandblock-console in the config.
    - Setting logAdminCommands to false.
    - Setting commandBlockOutput to false.
    - Setting sendCommandFeedback to false.

    Any solution involving java code, a config option, something in-game, or another plugin that fixes this is accepted!
     
  2. Online

    timtower Administrator Administrator Moderator

    @Novality Use a permissions plugin instead of op status
     
    Strahan likes this.
  3. Offline

    Novality

    Unfortunately, I suppose that's what I'll have to do.
     
  4. Offline

    Strahan

    In a properly secured server, there should be no OPs anyway so it's best practices.
     
Thread Status:
Not open for further replies.

Share This Page