MC Toolkit / Commands / Player Command Builder / Default Gamemode Command Generator
Default Gamemode Command Generator
Build a /defaultgamemode command to set the gamemode new and respawning players receive by default — exact Java Edition syntax, copy and paste.
/defaultgamemode <gamemode>
Most of these need operator permission — run them from an op's chat, a command block, or the server console.