Custom NPC

Discussion in 'Plugin Development' started by NoLiver92, Dec 24, 2012.

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

    NoLiver92

    I want to be able to spawn an NPC that looks like a player. i want to do this in code and not using a library or any other plugin. how would i go about doing this. (some code to start would be helpfull)
     
  2. Offline

    Jogy34

    I would suggest looking at the code from a library that already does this to figure out what you have to do
     
  3. Offline

    MP5K

  4. Offline

    NoLiver92

    did you actually read my post?

    i stated in it :
    Jogy34 i have tried to look at one but its very difficult to debug someone else's code
     
  5. Offline

    EnvisionRed

  6. Offline

    NoLiver92

  7. Offline

    EnvisionRed

    If you've already got craftbukkit.jar as a source, you can import them.
     
  8. Offline

    MP5K

    Hello NoLiver92,
    seems like i didn't read carefully enough. You could take a look at the source of one or two plugins with allows to spawn npcs to know how they do.
     
  9. Offline

    NoLiver92

    no i havent, so i have to add the server file into the build path then how would i access the data?
     
  10. Offline

    fireblast709

    with imports, the same as you do with bukkit.
     
Thread Status:
Not open for further replies.

Share This Page