How do I add plugins to a singleplayer world?

Plugins are for bukkit servers, you need the Bukkit API to run them. In other words; you can't run plugins in singleplayer.

What you can do is run a public bukkit server in which only you can join. To do this:

  1. Op yourself '/OP'
  2. Edit server.properties and set max value to 0
  3. Edit the ops.json and change your 'Bypass Player limit ' to true

This page may help you.

The simple answer is, this is not possible. However, it is possible to run a small non-port-forwarded server and connect to it with localhost. Here's a direct quote for those of you that don't like links:

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:

Download the Bukkit server and save it into a folder on your desktop.*

Run the server.*

Download any plugins you want and put them in the "plugins" folder.

In the server properties file, set the IP to 127.0.0.1

Start Minecraft and go to Multiplayer.

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!

*More information on that subject can be found here.

Good luck!

-HewwwoCraziness