Skip to content

An Auction Master is an NPC that opens the auction house. A player right-clicks it, the NPC greets them in chat next to a portrait drawn from its own skin, and the market opens. It works with NPCs from Citizens or FancyNpcs.

What players see

  • A sign above the NPC with its name, (/ah) and a Right-Click hint. It takes the place of the NPC plugin's own name tag.
  • On a right click, the view turns to the NPC and zooms in, and the NPC talks in chat next to its portrait. About two seconds later the auction house opens.
  • Walking more than three blocks away, changing world or taking damage stops the talk without opening the menu.
  • Players without the resource pack, Bedrock players among them, skip the talk, and the right click opens the auction house straight away.

The restrictions still apply, so in a blocked world or during a fight the player gets the same message as from /ah.

Setting one up

  1. Make the NPC

    Create it in Citizens or FancyNpcs and give it the skin you want. The portrait is drawn from that skin.

  2. Link it

    Stand within eight blocks of the NPC, look at it and run /ahadmin npc link.

  3. Let players rejoin

    The portrait goes out in the resource pack, so players who were online when you linked the NPC see the talk after they rejoin.

/ahadmin npc unlink, run while looking at the NPC, stops it opening the auction house and gives it its own name tag back. /ahadmin npc list shows every linked NPC. All three need protonauctions.admin. See Admin Commands.

The resource pack

The portrait and the sign's mouse icon come from a resource pack. Once an NPC is linked, players are offered the pack as they join. When ItemsAdder, Nexo or Oraxen runs on the server, the pictures go into that plugin's pack instead, so players get a single pack prompt. Behind BungeeCord or Velocity, host the pack yourself as described in Setting Up.

Changing what it says

The talk, its length, the zoom and the sign are all set in the npcTalk block of config.yml, and /ahadmin reload applies them. Turn enabled off to keep the NPC but skip the talk. A right click then opens the auction house at once, and the NPC no longer needs the resource pack.

Good to know

  • To show a new name for the NPC, unlink it and link it again. A new skin is picked up when you link it again or at the next restart.
  • Turning sign off hides the sign but leaves the NPC plugin's name tag hidden too. Unlink and link the NPC again to get its own name tag back.

Last updated