execute as @s run item replace entity @s container.8 with written_book{display:{Name:'{"text":"Buch der Infos","color":"#982FCC","italic":false}',Lore:['[{"text":"Ein kleines Buch zur ","color":"white","italic":false},{"text":"Map","color":"aqua"},{"text":" und deren","color":"white"},{"text":" Elementen","color":"aqua"}]','[{"text":"Sowie ein paar ","color":"white","italic":false},{"text":"Statistiken","color":"aqua"}]']},title:"",author:"Pikatscha",pages:['[{"text":"Heyy ","bold":true},{"selector":"@s","color":"dark_purple","bold":true,"underlined":true},{"text":"!","color":"black","bold":true,"underlined":false},{"text":"\\n\\n>==============<\\n","bold":true},{"text":"Deine Stats","bold":true,"underlined":true},{"text":"\\n\\nCheckpoint:  ","color":"aqua","bold":false,"underlined":false},{"score":{"name":"@s","objective":"checkpoint"},"color":"gold","bold":true},{"text":"\\nTode:  ","color":"aqua","bold":false},{"score":{"name":"@s","objective":"death.total"},"color":"gold","bold":true},{"text":"\\nIn diesem Lvl: ","color":"aqua","bold":false},{"score":{"name":"@s","objective":"death.last_check"},"color":"gold"},{"text":"\\n\\nInteraktionen\\n\\n","bold":true,"underlined":true},{"text":"Free-Cam ","color":"dark_green","bold":true,"underlined":false},{"text":"(klicken)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Zum ","color":"white"},{"text":"aktivieren ","color":"dark_green"},{"text":"der Free-Cam\\nhier klicken oder den Befehl:\\n"},{"text":"/trigger free_cam","color":"gray"},{"text":" nutzen.","color":"white"}]},"clickEvent":{"action":"run_command","value":"/trigger free_cam"}},{"text":"\\n(/trigger free_cam)","color":"yellow","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}}]','[{"text":"Hinweise zur Map\\n\\n","bold":true,"underlined":true,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}},{"text":"NPC\\n","color":"aqua","underlined":false,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}},{"text":"Um das nächste Level zu starten, muss man teilweise mit einem NPC reden.","color":"dark_gray","bold":false,"underlined":false,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}},{"text":"(Rechtsklick)\\n","color":"yellow","bold":false,"underlined":false,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}},{"text":"\\nMan sollte erst einen Dialog starten, wenn alle Spieler soweit sind.","color":"#7A5050","bold":false,"italic":true,"underlined":false,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}}]','[{"text":"Hinweise zur Map\\n\\n","bold":true,"underlined":true,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}},{"text":"Kosmetik-Items\\n","color":"aqua","underlined":false,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}},{"text":"Es gibt in den Leveln Emerald Blöcke, auf welchen der erste Spieler eine Rüstung bekommen kann.\\nDiese hat keine Vorteile.","color":"dark_gray","bold":false,"underlined":false,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}}]','[{"text":"","hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}},{"text":"Hinweise zur Map\\n\\n","bold":true,"underlined":true,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}},{"text":"Free-Cam\\n","color":"aqua","bold":true,"underlined":false,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}},{"text":"Mit /trigger oder diesem Buch kann man die Free-Cam aktivieren. Du kannst mit ihr durch die Map fliegen, aber schau dir nicht zukünftige Level an. Eigentlich selbstverständlich.","color":"dark_gray","bold":false,"underlined":false,"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]}}]']}
effect give @a minecraft:saturation infinite 255 true
effect give @a minecraft:resistance infinite 255 true