During this week-end, I had the idea of going again into setting up a multiplayer Minecraft server with Bukkit.
So, I download the latest CraftBukkit build, everything is all right, I write my run.bat script to launch my .jar file and I input Java’s executable path in my PATH environment variable. As usual.
But, because there’s a but, I’ve got a pretty big issue with my server. On every startup, the “online-mode” boolean in the server.properties file came back to “true”! Of course, I haven’t bought the game yet (shame on me, I know), but this parameter allows me to enable or not the user account checking on Minecraft.net, in other words, it allows cracked versions to log in on the server.
I’ve got a solution to this problem, you just have to edit your Batch script which should look like this:
java -Xms1024M -Xmx1024M -jar craftbukkit.jar -o true
… and to change “- o true” into “-o false”, which should give you this final result:
java -Xms1024M -Xmx1024M -jar craftbukkit.jar -o false
And that’s all! Restart your Bukkit server and normally the offline mode warning message is displayed, your server is now allowing cracked Minecraft versions!