AntiToggleSneak - Disable Toggle Sneak 1.0

Disable Toggle Sneak with multiple modes (silent, verbal, kick, and ban).

  1. Religion
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Source Code:
    https://landon.pw/git/r/AntiToggleSneak

    Disable unfair ToggleSneak advantages, such as chatting while shifted, opening containers while shifted, and modifying containers while shifted. Supports four modes (silent, verbal, kick, and ban).
    config.yml
    Code (YAML):
    # Options: silent / kick / ban
    # silent - Cancel the event
    # kick - Kick the player
    # ban - Ban the player
    # verbal - Send a message & cancel the event.
    mode
    : "silent"

    # Commands to be ran via Console if mode is kick or ban.
    kick
    : "kick %player% ToggleSneak -s"
    ban
    : "ban %player% ToggleSneak -s"

    # Message to be sent if mode is verbal.
    verbal
    : "&cToggle Sneak is not allowed. Your action has been cancelled."