Moving from hMod to Bukkit

Discussion in 'Bukkit Help' started by DJ411, Jan 3, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    Hey forum members. Probably like most of you, all coming from hMod. well i am to. Using it at the moment on my server. With that all cleared up i wanted to ask how Bukkit will work.

    For hMod all i did was install the server files to my server. I then located the bin folder. Did that chmod +x command. Once i did that command all i have to do is ./

    Will this mod be the same? Hopefully a mod or leader can answer this but will a tutorial be made for the users that don't know Linux that well.
  2. Offline


    Here's the steps:

    1. Download Craft Bukkit
    2. Put the .jar in a folder
    3. Open TextEdit and paste this in:
    cd "${0%/*}";
    java -Xms512M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar
    *NOTE: Change the .jar to the name of the current craftbukkit version. If not, it won't start.
    4. Open Terminal and type: "chmod a+x " (no quotes, but space after the "x") and drag and drop the file you made in step 3 into the terminal which should look like: chmod a+x /Users/YourUser/Desktop/server (depending on what you named the file, no need for the .txt at the end either, nor .sh or .command)
    5. Move that file into the same folder as the .jar
    6. Double-click the file from 3 and 4. Done!

    It'll show some errors, but they're harmless. Just stop it, quit Terminal and double-click the server again and no errors will show as well as all the needed files and folders being there! Much easier than hMod in my opinion, plus you don't even need the minecraft_server.jar because it already contains all the needed files to run it.

    EDIT: Download the pre-built folder with the server file and README.
  3. Offline


    Thank you! I have recently converted to Ubuntu and this was quite useful.
  4. Offline


    No problem, I wonder if they would actually sticky this and have someone running Windows post how to set it up the same way for newbies. Though I might want to change the .jar name so people don't try to just copy and paste it and wonder why it won't work.

    Edit: Actually, I wonder if I should just make a base folder with the server file in it so all someone would need to do is make sure it's executable, put the bukkit jar in the folder and double-click it...yeah, I'll do that and post the link in my post and add it to my sig.
  5. I hope you dont mind but i have added this to the wiki has your name and is a bit bugged but ill fix in morning
  6. Offline


    Oh nice! Nah, I don't mind at all. :D
  7. Offline


    it is insanely easy for windows. download that same .jar then open notepad and insert the code at the end of my post (changing the [file name] to that of the .jar). save it as a .bat file. run that. sometimes it crashes after the first load since it's building the config files, but if it does just run the script again.

    @echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar [file name].jar
  8. Offline


    Sweet! Thanks for the code, I'll put that in my pre-built folder so it'll work for any OS. I'll also add you in the README for the code as my thanks :)
    --- merged: Jan 8, 2011 2:25 AM ---
    There, now my sig also has the link to download the pre-built folder with instructions in the README and everything but the .jar :D
  9. Offline


    thank you very much for the mention, however all I did was copy that code from the Hey0 x64 nogui file
  10. Offline


    which is funny since it is using the 32bit version of java (ie program files x86)
  11. Offline


    it cant just call /program files/ on a 64 system because the java is 32bit and inside the (x86) folder
  12. Offline


    not necessarily, as i have the 64bit jvm installed so on Win7 x64 i am using Program Files (and the server can access more than 2GB ram)
  13. Offline


    why cant i download?
Thread Status:
Not open for further replies.

Share This Page