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

Books showing json when non op and using score:{}

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.8, Minecraft 1.8.1-pre3
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      When I try to give a book with command to a non-op player, he see the json code instead of the formatted code.

      What I see (OP):

      What other's see (non-OP)

      I tried to remove the score:{} then it works.

      Command used (only the 3rd page isn't working):

      /replaceitem entity @a[0,64,0,64,m=2] slot.hotbar.4 minecraft:written_book 1 0 {author:"§6M§elakuss§r",title:"§a§lReplica§r",pages:["[{text:'§2Welcome in Replica§r\n\n'},{text:'Rules',bold:true},{text:'\nCopy the picture in front of you on the floor as fast as possible.\nThe last player who did not finish to copy the picture lose a life.\nEach round last 3 minutes max.'}]","[{text:'§4Powerups§r\n\n'},{text:'The chest in front of you contain powerups.\nYou can use one per round.\n'},{text:'* Upgraded Pickaxe\n',hoverEvent:{action:'show_text',value:'Destroy blocks faster\n\u00A71Permanent!'}},{text:'* Instant Copy\n',hoverEvent:{action:'show_text',value:'Copy a part of the picture instantly'}},{text:'* Protection\n',hoverEvent:{action:'show_text',value:'You\'re immune to other\'s attack for 2 turns'}},{text:'* Designer\n',hoverEvent:{action:'show_text',value:'You will be the next player to draw the picture\n\u00A77Only the last player who use this powerup will get it'}},{text:'* Ink Attack\n',hoverEvent:{action:'show_text',value:'Turn blocks black near your opponents'}},{text:'* Nausea ',hoverEvent:{action:'show_text',value:'Give nausea for 30 seconds to your opponents'}},{text:'| Freeze\n',hoverEvent:{action:'show_text',value:'Freeze all players for 10 seconds'}},{text:'* Speed Up!\n',hoverEvent:{action:'show_text',value:'Set the timer to 30 seconds'}}]","[{text:'§aStatistics§r\n\nPlayer: '},{text:'You'},{text:'\nScore: '},{score:{objective:'win',name:'@p'}},{text:'\n\n§3Particles§r: '},{text:'ON',hoverEvent:{action:'show_text',value:'Click to activate your particles'},clickEvent:{action:'run_command',value:'/trigger particle set 1'}},{text:'/'},{text:'OFF',hoverEvent:{action:'show_text',value:'Click to hide your particles'},clickEvent:{action:'run_command',value:'/trigger particle set 0'}},{text:'\n§6§lHat§r [?]\n',hoverEvent:{action:'show_text',value:'Click a hat to select it'}},{text:'Dropper Style\n',hoverEvent:{action:'show_text',value:'Dropper'},clickEvent:{action:'run_command',value:'/trigger hat set 1'}},{text:'Bouncy Head\n',hoverEvent:{action:'show_text',value:'Slime Block'},clickEvent:{action:'run_command',value:'/trigger hat set 2'}},{text:'Space\n',hoverEvent:{action:'show_text',value:'Glass Block'},clickEvent:{action:'run_command',value:'/trigger hat set 3'}},{text:'Brillant\n',hoverEvent:{action:'show_text',value:'Sea Lantern'},clickEvent:{action:'run_command',value:'/trigger hat set 4'}},{text:'Frozen\n',hoverEvent:{action:'show_text',value:'Ice Block'},clickEvent:{action:'run_command',value:'/trigger hat set 5'}},{text:'Ninja Style\n',hoverEvent:{action:'show_text',value:'Leaves Block'},clickEvent:{action:'run_command',value:'/trigger hat set 6'}}]"]}

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mlakuss Mlakuss
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: