CommandTermBlock 1.0

Block terms in specified commands, or block specific commands.

  1. Henry
    Based on this request from BoomScoom: https://www.spigotmc.org/threads/2-block-1.85739

    Command Term Block
    Block commands or terms in a command.

    Commands/Permissions:

    commandtermblock.reload - Access to /reload-ctb.
    commandtermblock.bypass - Bypass the term block filter if enabled in the config.


    Configuration:
    Code (Text):
    # Specify the terms you wish to block here.
    blocked-terms:
    - "-1"

    # If you want players with the permission commandtermblock.bypass to bypass the term filter, set this to true.
    permission-bypass: true

    # If you want to ignore the block-terms-in-commands list, set this to true.
    block-in-all-commands: false

    # Specify the commands you want to block terms in.
    block-terms-in-commands:
    - buy

    # Specify the commands you want to block fully. commandtermblock.bypass does not affect this.
    blocked-commands:
    - op


    GitHub: https://github.com/xenryjake/CommandTermBlock
    ark9026, zThana, cardos and 1 other person like this.