[TUTORIAL] Using Bukkit plugins in Singleplayer

Discussion in 'Bukkit Help' started by iMint, Mar 18, 2012.

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

    iMint

    Ever saw a really awesome plugin, and thought "Wow, I'd really love to have that as a mod for singleplayer!"

    WELL YOU CAN! Here's how:

    1. Download the Bukkit server and save it into a folder on your desktop.
    2. Run the server.
    3. Download any plugins you want and put them in the "plugins" folder.
    4. In the server properties file, set the IP to 127.0.0.1
    5. Start Minecraft and go to Multiplayer.
    6. Type "localhost" as the server IP.
    Enjoy! You'll experience NO lag, and other players cannot join your server. It is the same as playing Singleplayer, except you can have all the plugins you want!
     
  2. Hahaha. That's the only way I play Minecraft these days :D
     
    iMint likes this.
  3. Offline

    LinkterSHD

    One thing what if people dont have a lot of ram and dont want lag on their plugins :p
     
  4. Offline

    unimatrix Bukkit Sponsor

    so you just invented the hot water?
     
    cowslayer7890 likes this.
  5. Offline

    SirTyler

    Hey, someone had to invent it right? Its like the guy that "Invented" the internet, we all know that it was originally Al Gore's and he stole it from Man Bear Pig.

    But yeah this is really actually a pretty common knowledge, I do it all the time when I am testing plugins on my test server.
     
    cowslayer7890 likes this.
  6. Offline

    Phinary

    I prefer client mods :(
     
  7. Offline

    iscerm1ng

    D: either says 'connection lost: end of stream' or 'javasockettimeoutexception: read timed out' but almost worked :)
     
  8. Offline

    chaseoes

    That's not singleplayer.. that's multiplayer running on your computer.
     
  9. Offline

    mindless728

    which is the same as 1.3 single player now
     
  10. Offline

    chaseoes

    Yes, if you leave out the fact that it requires you to run a server.
     
  11. Offline

    ohtwo

    But the question is, does running 1.3 (even though single player is running a server) more resource intensive than running a Bukkit server locally? I'm guessing it is. Add to that, you can't claim no lag. It's very possible.
     
  12. Offline

    mindless728

    Well, I would say it is the same as running a vanilla server along with the client (as that is what it is), running Bukkit is slightly more resource intensive (both CPU and memory), but for one player it would probably not be that much different (unless you had a lot of heavy plugins)

    except you are running a server in the background, in fact, other people on your local connection can connect to it as well
     
  13. Offline

    ohtwo

    I don't understand why it's better to run it in the background. I'm not trying to shoot you down or anything. I just don't understand the whole point of this. Most Bukkit plugins are really made for multiplayer, and not to mention the fact that there are other mod packages that are more suitable for single player (and might even run better) than Bukkit. I can't say much because I don't have much experience with single player mods, but I don't understand running Bukkit locally.
     
  14. Offline

    mindless728

    I am NOT saying it is better, I was just stating that it is run in the background and is the same thing as what the OP is doing, ie running the client and the server

    as for the single player mods, depending on what they are (ie do they affect how the game runs or not) will have to be re-written as a lot of the things are in the server section and not in the client section of the code so a lot of the mods will be a lot harder to do now
     
  15. Offline

    chaseoes

    But that's different from actually running the server through your client.. this way requires you to actually run a multiplayer server and have it running in a separate command prompt or something.
     
  16. Offline

    mindless728

    performance wise, probably and this way allows you better access to the server that is running (as opposed to no console access or anything)
     
  17. Offline

    lokpique

    I'm kind of let down... I came hoping to see some feature that actually let me run single player mode with bukkit mods... not simple instructions on how to run a local server...

    We should follow this thread up with some instructions on how to break and place blocks too, i guess.
     
  18. Offline

    anthonyc39

    lmfao
     
  19. Offline

    lokpique

    This is actually a really good thread for people who don't realize they can do this... but please at least refer to it as "running a local server and locking other's out".
     
  20. Offline

    ohtwo

    Or starting a server without port forwarding!
     
  21. Offline

    lokpique

    Well... not exactly. If you have anyone else on your network (like in a dorm.)... or if you have a little brother who might grief it... then you still want to lock it to 127.0.0.1 to prevent others from the internal network from accessing it too.
     
  22. Offline

    ohtwo

    My school never allowed open ports unless you request it anyway. And why would you leave the server on if you're away? My point is, I just don't see the value in this. Great idea, but overall, it won't seem to benefit the user much. Just a personal opinion.
     
    anthonyc39 likes this.
  23. Offline

    anthonyc39

    worded very well. i agree
     
  24. Offline

    spindoxdoghi

    why it no work for me can someone do a youtube video for me and put it here cuz i needz the help :p
     
  25. Offline

    Alphieboy

    well, then you'l have to blame you're self, you could easily build a epic and strong computer for less than 1000$ but yes i do understand what you mean :)
     
Thread Status:
Not open for further replies.

Share This Page