Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-206766

/playsound does not work properly from server console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 20w48a
    • None
    • java version "1.8.0_271"
      Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
      Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)

      Windows 10 64-bit, Version 2004, Build 19041.630
    • Unconfirmed
    • (Unassigned)

      Issue:

      When using the `/playsound` command formatted as `/playsound [sound] master @a` in the server console:

      1. It will only play the sound at the center of the worldspawn, even if `master` and `@a` are selected.
      2. If too far away from the world spawn, the server will say "The sound is too far away to be heard."

      When using the `/playsound` command on the client with OP, it works as expected and plays the sound globally to all players.

      Expected Result:

      `/playsound` should work play sounds in the server console, just like it does locally on the client.

       

      Current Workaround:

      The current workaround is to do `/execute at @a run playsound [sound] master @a`, though, this shouldn't be necessary.

            Unassigned Unassigned
            darkswordsman Kyle Barr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: