Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-147722

/scoreboard doesn't parse # consistently in player names


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Preview, Preview, 1.17.41 Hotfix, 1.18.12 Hotfix, 1.19.70, 1.19.83 Hotfix, Preview, 1.20.41 Hotfix
    • None
    • Confirmed
    • Windows
    • 864878

      The bug

      /scoreboard only accepts # when it's the very first character of a fake player name. Using # elsewhere in the name requires quotes, even though there is no ambiguity.

      How to reproduce

      /scoreboard objectives add test dummy
      /scoreboard players set #test test 1
      /scoreboard players set test# test 2
      /scoreboard players set te#st test 3

      Expected result
      All three "set" commands succeed

      Observed result
      Only the first one succeeds, the others error

      The only character that should be unparseable without quotes is the space character. So this command should work as well:

      /scoreboard players set ~!@#$%^&รก12345 test 1

      Please ensure that this is the case when fixing this issue

            tryashtar [Mod] tryashtar
            2 Vote for this issue
            0 Start watching this issue