Citizens + CommandNPC + GlobalMarket

Discussion in 'Plugin Development' started by DrakeAmaAIden, Apr 13, 2015.

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

    DrakeAmaAIden

    im having trouble getting the two to work together, it seems i cant get the npc to recognize a player name in it.

    when using the following command /npc addcmd false noperm market listings
    it allows me to right click the npc and open the market UI, however when ever i try to interact with it, it closes out.

    when using the command /npc addcmd false noperm sudo %name market listings < aka forcing the npc to recognize the player.
    i get the same instance, clicking or interacting with the UI makes it close out. im simply trying to create a RPG Auction house aspect with these plugins.

    Any help of suggestions would be amazing.
     
  2. Offline

    travja

    I don't know much about the GlobalMarket plugin, but does it normally allow interaction with the UI by running the same command? I would assume that is just how the plugin works, but I'd try to figure a little bit more out.
     
  3. Offline

    DrakeAmaAIden

    yea when ever a player types /market listings it opens a UI that they can interact with
     
  4. Offline

    travja

    @DrakeAmaAlden My guess would be that the client is assuming that they are interacting with an NPC inventory, and closing it automatically. If the command works by itself, it should work with the NPC.
     
  5. Offline

    DrakeAmaAIden

    weird because i also use itembank and it works just fine with the interacting
     
Thread Status:
Not open for further replies.

Share This Page