Need help with NPCs

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

  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. Offline

    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. Offline

    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
     

Share This Page