@Zombie_Striker Yes I did this. But I only find plugins, tutorials for plugins or API's like ProtocolLIB :-/ In the only bukkit thread I can't find a working way, in the thread they say "It didn't work" :/ #SchoolEnglish
@ImAFlo It requires NMS, not something that everybody likes to touch, what is wrong with using a library for it?
Idk. Maybe you want more work and headaches for yourself. @ImAFlo There are libraries out there where you can easily do this. Citizens plugin has an API and I believe there is also a NPC library (I haven't used it).
@ImAFlo You can watch PogoStick29Dev's video on NPCs, if you mean "Fake Players" as in NPCs that show player skins and you can customize them to your liking.
I don't like librarys because it is more easy to install the plugin (for newbies) without librarys. Often people delete the plugin because it don't work and the people don't look into the log. :/
How hard is it to download your plugin, and then download another plugin the exact same way. Then this is what you should do: Create an event the triggers when a player joins (or create a repeating task) If the server does not have this lib, broadcast the message "The Plugin *** needs (ThisLib) In order to work" (Using some Json magic you can have it where if the player clicks "ThisLib" it can redirect the player to the plugin page)
Harder than you'd think. I'm with the OP, if I can avoid dependencies I will. Given that this is a complex topic involving NMS and packet-transmission, you'll probably need to take apart an existing library to get it working. SuperSniper's video up there might be useful as well
@ImAFlo Or, if you just copy the parts you need, you can include it directly in your plugin (assuming the license on the code allows this).
Ok. I found Citizens api. But the problem is, the npc is visible for every player, but I want that the NPC is only visible for one player. :/