Need help with NPCs

Discussion in 'Bukkit Help' started by scoobydaddy, Sep 22, 2019.

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

    scoobydaddy

    Hello, currently trying to make it so when you right click on an NPC (citizens) it will show a link to the discord in the players chat. (not global) I have Citizens and CommandNPC and I was wondering how I might go about this.
     
  2. Online

    timtower Moderator Moderator

    @scoobydaddy Let the commandnpc execute /msg or /tellraw
     
  3. Offline

    scoobydaddy

    Essentials cancels out @p and I am unaware of how to make it so it messages the player who clicked
     
  4. Online

    timtower Moderator Moderator

    You can use '%name' in commands as a placeholder for the user who is clicking the NPC.
    Quote from the dev.bukkit page
     
Thread Status:
Not open for further replies.

Share This Page