How to change game mode on Minecraft server?

Changing the default game mode and changing a specific player's game mode are separate operations. Determine the scope you want.

Step by step

  1. For single player, run gamemode creative OyuncuAdi from the Java console. Use gamemode survival OyuncuAdi to return to Survival.

  2. If you are going to change the default mode for new players, set gamemode in server.properties and reboot regularly.

  3. If you want to force the default mode at login, look at the force-gamemode setting. This setting may also affect players previously saved in a different mode.

  4. Log out and log in again with a normal account. If there is a plugin in the world that implements separate game modes, the result may differ from the server default.

Keep in mind

Using selector targeting all players to try the command. Verify on your own test account first.

Source and tools