Running Bukkit in Offline Mode

Running a Bukkit server in offline mode in a secure environment can be helpful for developers working on Bukkit plugins because it will allow them to connect with multiple test users simultaneously. Since offline mode allows a Minecraft client to connect to the server without being authenticated by Minecraft, care should be taken not to use offline mode on a publicly accessible server. Otherwise, anyone would be able to connect to the server as any given user without any form of authentication.

Enabling offline mode on a Bukkit server is very easy although not very well documented in my opinion. There are basically two steps required to make this change:

  1. First, you must edit the file to include the following line:


  2. The second thing you must do is make sure the command you are using to start the Bukkit server does not include the -o true parameter. This parameter is included in the documentation for starting the Bukkit server on the Bukkit web site, but it is not explained. This parameter basically forces the Bukkit server to run in online mode and will cause it to overwrite your setting in the file. If you are using a command such as this to start your Bukkit server:

    java -Xms1024M -Xmx1024M -jar craftbukkit.jar -o true

    Simply change it to this:

    java -Xms1024M -Xmx1024M -jar craftbukkit.jar

Posted in Bukkit Tagged with: , ,
10 comments on “Running Bukkit in Offline Mode
  1. arthusagain says:

    thx so much, bro. i have been searching for help with this for like an entire month. you helped me so much. im eternely grateful.

  2. Sho says:

    Bro thanx i also have been looking 4 this!! life saver

  3. Minecrafter says:

    Testing now……WORKS THANK YOU SO MUCH!

  4. Cheffin says:

    Hope this works- I’ll find out later

  5. Stephen says:

    Thanks sooo much!!

  6. kinibini34 says:

    Thank you very much! This really helped me.

  7. adiaden says:


Leave a Reply

Your email address will not be published. Required fields are marked *