Create NPC without citizens plugin

Discussion in 'Plugin Development' started by black_ixx, Jan 25, 2013.

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

    black_ixx

    Hey,
    well I am currently working at a huge PvP plugin and I want to add fighting NPC.
    Players who are seen by other players and attack them. I know this is possible. I know citizens.
    But I don't want to use it because
    1. My plugin doesn't needs all the features of Citizens
    2. Citizens updates are slow
    3. Citizens is big and needs alot of RAM
    4. I want to be able to spawn my own custom "players" and acess them

    So I have decided to add the feature at my own. But it is hard.
    I have already took a look into the citizens API but I don't really know how to create these players yet.
    Does somebody has more experience with this? Or do you have tips or ideas?

    Help is welcome!
     
  2. Offline

    william9518

    umm.... Packets?
     
  3. Offline

    black_ixx

    Yep. But which packets? And when to send them?
     
  4. Offline

    Adamki11s

    black_ixx
    Just look in the resources section in the sub-forum of plugin development, you can find some NPC libraries there which you can use and modify to your own needs.
     
    Hypermegazord, Ahmet094 and black_ixx like this.
  5. Offline

    black_ixx

    Thanks! I've found something.
     
  6. Offline

    xize

    or you can visit this wiki.vg/protocol to find packets but however you have to use nms code which is pretty hard to understand, like Adamki11s said there are npclibs around I recommend npclib.
     
    ZachBora likes this.
Thread Status:
Not open for further replies.

Share This Page