I'm creating an adventure map and have some questions. I haven't made one in a while and need some help. I want to set a map to adventure mode so players can't break blocks. How do I do that? Also, how do I create mining tools and other items to be used on certain blocks and places? Also, I want to have some player commands, like having a command block have a player say something, or having an announcement across the screen, when the player starts (spawns for the first time in) the map and/or when they don't have to activate any type of redstone contraption. I've tried Googling it, and I can't really find out how to do. I'm using version 1.13 Minecraft. Also, I don't want to use any mods (vanilla Minecraft).
This is an example of what commands that I want to learn and use: