I have just set up a new Minecraft server and was wondering: how do I put myself in creative and no one else? Is this a Bukkit plugin or can I do this without Bukkit? Remember I just want me to be in creative.


Solution 1:

This is trivially easy with unmodded Minecraft and the standard Minecraft server from Mojang.

  1. Make sure your server is set to use Survival mode by default in server.properties. This is the default mode, but if you've been tweaking things make sure this line reads like so:

    gamemode=0
    
  2. Add yourself as an op, either by adding your Minecraft username to the file ops.txt (while it's not running) or by using the op <name> command in the server's console (while it's running) or the /op <name> command in the Minecraft client when you're logged in.

  3. Log in and use the command /gamemode c, which will put you (and only you) in Creative Mode.

You will now be in Creative mode while everyone else will start and stay in Survival mode. Easy!

Your personal gamemode setting is part of the world save, so it will "stick" across logins and server restarts. If you ever want to switch to Survival mode use /gamemode s.

Solution 2:

Just type

/gamemode <Playername> 1

and that will set you to creative but will leave everyone else the same.