Hey folks. I'm currently creating NPCs for a new server using Citizens 2, and we need one of these NPCs to talk to new players to offer them a specific item needed for gameplay if they talk to him at the Spawn Hub.
I'm fine with getting him to talk when the player is within a 2 block range and all the basics such as having him wander around, look at players, and cycle through different chat options.
The problem is that we'd like it so that he talks ONLY to the player who has approached him and not in the general chat/to everyone nearby as that will be horrendously spammy once we open. I've gone through the Citizens wiki and can't find any solution to this. Alternatively I'd like to set him so you have to click on him to get him to talk, but I can't find how to do this anywhere I've looked. Sorry if it's really obvious and I've been blind - I'm happy to read through any links you have that tell me how rather than asking you to explain it.
I've seen the CommandNPC plugin recommended as a solution for a similar problem - would we need to install this to make this happen? And/or are there any plugins you can recommend to help with the direct/individual talking and giving the player an item following the conversation?
Thank you so much! That will be really helpful, I'll go recommend it to the admins now. Appreciate your help!
EDIT: If anyone can offer further help with CommandNPC I'd be grateful. I can't find specific instructions on getting NPCs to give an item to players that click on them - I've combed Google, reddit, the Bukkit and Minecraftforum forums and all tutorials/instructions only go as far as showing you how to add a general command. Which is great, but I'm stuck with how to create a specific command!
If you know of a page with this kind of instruction/info I'd really appreciate a link.
Hey folks. I'm currently creating NPCs for a new server using Citizens 2, and we need one of these NPCs to talk to new players to offer them a specific item needed for gameplay if they talk to him at the Spawn Hub.
I'm fine with getting him to talk when the player is within a 2 block range and all the basics such as having him wander around, look at players, and cycle through different chat options.
The problem is that we'd like it so that he talks ONLY to the player who has approached him and not in the general chat/to everyone nearby as that will be horrendously spammy once we open. I've gone through the Citizens wiki and can't find any solution to this. Alternatively I'd like to set him so you have to click on him to get him to talk, but I can't find how to do this anywhere I've looked. Sorry if it's really obvious and I've been blind - I'm happy to read through any links you have that tell me how rather than asking you to explain it.
I've seen the CommandNPC plugin recommended as a solution for a similar problem - would we need to install this to make this happen? And/or are there any plugins you can recommend to help with the direct/individual talking and giving the player an item following the conversation?
Thank you so much! That will be really helpful, I'll go recommend it to the admins now. Appreciate your help!
EDIT: If anyone can offer further help with CommandNPC I'd be grateful. I can't find specific instructions on getting NPCs to give an item to players that click on them - I've combed Google, reddit, the Bukkit and Minecraftforum forums and all tutorials/instructions only go as far as showing you how to add a general command. Which is great, but I'm stuck with how to create a specific command!
If you know of a page with this kind of instruction/info I'd really appreciate a link.