tellraw @s [{"text":"\n        - = ","color":"gray"},{"translate":"blue.tr.tutorial.transfer_title","fallback":"Ownership Transferring","color":"white"},{"text":" = -\n\n"},{"translate":"blue.tr.tutorial.transfer_1","fallback":" This menu can be used to transfer the ownership of any of your trims to the nearest player. You must have the 4 templates anywhere in your inventory "},{"translate":"blue.tr.tutorial.transfer_2","fallback":"OR","color":"white"},{"translate":"blue.tr.tutorial.transfer_3","fallback":" the full set equipped while the target has an untrimmed set on."}," ",{"text":"ℹ\n","color":"dark_gray","hoverEvent":{"action":"show_text","contents":[{"translate":"blue.tr.tutorial.transfer_hover_1","fallback":"Transferring can be disabled by the server.\n","color":"gray"},{"translate":"blue.tr.tutorial.transfer_hover_2","fallback":"The target needs to be within 6 blocks and not completely invisible\n\nIf you're having trouble with the direct armor method, try using templates. You can untrim your armor by placing a smithing table on top another.","color":"dark_gray"}]},"clickEvent":{"action":"run_command","value":"/trigger TrimCMDs.BLUE set 5"}},{"translate":"blue.tr.tutorial.transfer_4","fallback":"\n ⚠ You cannot undo this action by yourself ⚠\n","color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger TrimCMDs.BLUE set 3"},"hoverEvent":{"action":"show_text","contents":{"translate":"blue.tr.tutorial.transfer_warning","fallback":"The only way you can get ownership back is by killing the new owner, or having the owner transfer it back. You can view the current owner in the [Owners] menu","color":"gray"}}}]
playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1
advancement grant @s only blue:tr/tags tutorial_transfer