/

/defaultgamemode

op 2Server

/defaultgamemode decides what mode a player gets on first join. Existing players keep whatever they already have.

Commandready
25
/defaultgamemode survival
Press C to copy

Examples

  • Adventure by default
    /defaultgamemode adventure

Common questions about /defaultgamemode

Does it change players already on the server?

No. Use /gamemode with a selector for that.

How is this different from force-gamemode?

/defaultgamemode only decides what a player gets the first time they join. force-gamemode is a server.properties setting, not a game rule, and it goes further: with it enabled, returning players are reset to the default mode every time they log in.