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

Data get block via rcon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.14.2
    • None
    • Unconfirmed
    • (Unassigned)

      I was trying to recover the data from a chest via rcon. The idea was to get the amount of items inside a chest and display it on a webpage. When I run the following command on my game client I get a json response with all the info from chest inventory. If I run it on the console I get the same response. But when I run it via rcon I get "The target block is not a block entity".

      I'm running the rcon command via "mcrcon-0.0.5-bin-windows" but the idea as to use this libraryhttps://github.com/thedudeguy/PHP-Minecraft-Rcon so then I can format the output and display it on a browser. Everything is doable after getting the response back from the server via rcon and php, since after that is just php, json format and some math. The only issue here is getting the data via rcon.

      This may seem a weird idea... Also weird to get different response from rcon... 

        1. chrome_BRF7w0haMh.png
          26 kB
          Dinis Pimpão
        2. cmd_tyHC0DvbTJ.png
          4 kB
          Dinis Pimpão
        3. javaw_CDOweAZP8y.png
          177 kB
          Dinis Pimpão

            Unassigned Unassigned
            Dinip Dinis Pimpão
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: