-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 14w30c, Minecraft 1.8, Minecraft 15w43a, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 1.13-pre6, Minecraft 1.13.1, Minecraft 19w08b, Minecraft 1.14, Minecraft 1.14.3, 1.14.4, 1.15, 1.15.2, 20w07a, 1.16.3, 1.19
-
None
-
Confirmed
-
Commands
-
Low
-
Platform
The bug
The score-tag in a book does not work, if you /give it to someone who is not an operator or, in a singleplayer world, if cheats are disabled. Video demonstrating the issue: http://youtu.be/QTfumET7Apo
How to reproduce
- Start a world with cheats off
- Open the world in LAN and and set 'allow cheats' to ON
- /give yourself a command block and insert the command below
- Reopen your world
- Activate the command block. You should now get a book that shows the JSON-text instead of the score.
Alternatively, you can test it on a server if you deop yourself after you entered the following command
/give @a written_book{ title:"Test", author:"Test", pages: [ "{ \"text\":\"\", \"bold\":true, \"extra\": [ { \"score\": { \"name\":\"@p\", \"objective\":\"Test\" } } ] }" ] }
- is duplicated by
-
MC-73054 Written Book Raw JSON Bug With Cheats Off / Not opped players
- Resolved
-
MC-73839 Books showing json when non op and using score:{}
- Resolved
-
MC-74156 Using target in book gived to player brokes content
- Resolved
-
MC-78066 JSON code showing for non-ops (1.8.3)
- Resolved
-
MC-78534 Books not working as intended
- Resolved
-
MC-86609 Book JSON bug
- Resolved
-
MC-136808 Give a book with a score inside the book
- Resolved
- relates to
-
MC-103171 Selectors in written books require player to be operator to work
- Reopened
-
MC-201807 Non-ops cannot run op commands from books
- Reopened