Hello guys!! uhm how do i setup an npc/slapper and make it talk everytime a player taps/hits it? For example: I tap the npc that i made which is: STUDENT Mitsuko and when i tap it it will talk/tell me "[Mitsuko] : Hello gilsheys! how's your day?" like that.. I wish someone could help me with this thanks in advance!! )
You have to put some command to it. Without any other plugin you can use /me /msg or /say... /slapper edit <eid> addcommand msg {player} Hello there
it says [Console -> gilsheys] [Mitsuko] : Hello there how do i make it to '[Mitsuko] : Hello there" only? i saw other servers like that
Create slapper slapper create {type} {name} Edit to add command slapper edit {id} addcommand rca {player} {broadcast cmds}
The first one didn't work it shows the ''[Broadcaster'' title when u tap how 'bout the second one? how will i do it?
it shows the [Broadcaster] thing and i only want them to see is ''[Mitsuko] : Hello there'' not [Broadcaster] [Mitsuko] : Hello there
Well for that you're gonna have to learn php, cause to do that you need to sendMessage(""); $sender->getName(); and then make it command
You can replace the command-format in the Broadcaster config with just "{MESSAGE}" then it should only send the message to the player that you actually wrote and nothing else. Note that this also changes the other broadcasts of course.
Go to the Broadcaster directory inside the plugin data directory, there you'll find a file named config.yml. command-format should be in there