From server.properties
From Console
From In-game
From server.properties:
Third Step
Make sure to turn OFF the server. Fourth Step
Under the General Section, Click the Files tab Fifth Step
Click the server.properties file Sixth Step
Scroll down to till you see gamemode=[value] and edit the [value] to your prefered gamemode (creative, survival, adventure or spectator) and hit the Save Content button Seventh Step
Now, Head to the Console tab and hit Start From Console:
Note: You cannot change the entire server’s gamemode via console unless a placeholder like @a is mentionedFirst Step
Head over to the Console Tab Second Step
Type in the Console: gamemode [value] [playername], Enter your prefered gamemode (creative, survival, adventure or spectator) in the placeholder [value] and in the placeholder [playername], type the
username of the player you want to make into a different gamemode. From In-game:
Keynote: To change gamemode from In-game, you will need to be an Operator.If you don’t know how to OP a player, Here’s the article on How to OP a playerFirst Step
Join your server with your server-ip Second Step
Type in chat /gamemode [value] [playername], Enter your prefered gamemode (creative, survival, adventure or spectator) in the placeholder [value] and in the placeholder [playername], type the
username of the player you want to make into a different gamemode.If you are just changing the gamemode for yourself, you don’t necessarily need to put your username in the [playername] placeholder
There you go! You’ve now learned how to change gamemodes!