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:
- First, you must edit the server.properties file to include the following line:
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 server.properties 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