"/execute run" allows for vanilla commands that aren't supposed to work in commands blocks to work

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • Environment:

      No plugins on a fresh world

    • This server is running CraftBukkit version git-Spigot-57bbdd8-b8dd5ec (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT)
    • Yes

      When using "kick @p" on a command block, the command doesn't work as intended. But running the command "execute run kick @p" DOES work, unlike vanilla which prevents this command from running.

      Reproduction steps:
      1- Make sure you're an operator in the server by running "op [your username]" in the console.
      2- Give yourself a command block by running /give @s command_block
      3- Place down the command block, right click to open it, then type "execute run kick @p"
      4- Power the command block ( or make sure the command block is set to "always run" instead of "needs redstone"
      5- You will get kicked from the server.

      This issue isn't specific to /kick, it allows for command blocks to use any vanilla command they shouldn't be able to, including /stop

        1. spigot.png
          spigot.png
          121 kB
        2. vanilla.png
          vanilla.png
          598 kB
        3. video.mov
          3.91 MB

            Assignee:
            Unassigned
            Reporter:
            mygizli04
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: