# Runs periodically so newly joined players receive recipes, # but each player is granted recipes only once to avoid packet spam. schedule function allrecipes:load 10s replace execute as @a[tag=!allrecipes_given] run recipe give @s * tag @a[tag=!allrecipes_given] add allrecipes_given