Talk:Console/Don't Starve Together Commands/@comment-34427238-20180816151708

Is there a command that can give the 2nd player all items? I've tried giving them it with, GetPlayer.components.builder:GiveAllRecipes(2)

for k,v in pairs(AllPlayers) do c_GetPlayer.components.builder:GiveAllRecipes(2)(v)end

for k,v in pairs(AllPlayers) do c_GetPlayer.components.builder:GiveAllRecipes(v)end

and

for k,v in pairs(AllPlayers) do GetPlayer.components.builder:GiveAllRecipes(2)(v)end

Everything else works, besides that command.