AT-AuctionHouse logoAT-AuctionHouse

Permissions

Every permission node in the plugin and how the permission-driven listing slot system works.

There are three nodes, plus an open-ended family for listing slots.

The nodes

NodeGrantsDefault
atauctionhouse.useOpening and browsing the auction houseEveryone
atauctionhouse.sellCreating listingsEveryone
atauctionhouse.adminReload, remove and aboutOperators

atauctionhouse.admin is a parent of the other two, so granting it grants atauctionhouse.use and atauctionhouse.sell as well.

What each one covers

Listing slots

The number of active listings one player may have is permission-driven.

AUCTION.MAX-LISTINGS-PER-PLAYER in config.yml is the floor for everyone. It defaults to 10.

NodeEffect
atauctionhouse.limit.<number>Raises the cap to at least that number
atauctionhouse.limit.unlimitedRemoves the cap
atauctionhouse.limit.*Removes the cap, same as unlimited

The highest value a player holds wins, and the config value is never lowered by a permission. So a player with the default of 10 who holds atauctionhouse.limit.5 still gets 10.

atauctionhouse.limit.25          25 slots
atauctionhouse.limit.100         100 slots
atauctionhouse.limit.unlimited   no cap

A typical rank ladder:

RankNodeSlots
DefaultnoneWhatever MAX-LISTINGS-PER-PLAYER says
VIPatauctionhouse.limit.2525
MVPatauctionhouse.limit.5050
Staffatauctionhouse.limit.unlimitedNo cap

This works with any permissions plugin. There is no per-plugin integration to install and nothing to configure beyond handing out the node.

How it shows up in game

In "Your Listings", every slot past a player's allowance is drawn as the locked item from YOUR-ITEMS.ITEMS.LOCKED in gui.yml. The {slots} placeholder there is that viewer's own allowance, so the shipped lore reads "You have 25 auction slots. Rank up for more."

A player with no cap sees no locked slots at all.

Notes on behaviour

  • A suffix that is not a number and is not unlimited or * is ignored, so a typo like atauctionhouse.limit.twentyfive silently does nothing rather than breaking the cap.
  • The check runs when a listing is created. Hitting the cap returns the item to the player, it does not consume it.
  • A player's effective limit is cached briefly, for a couple of seconds, so that re-rendering a menu does not rescan their whole permission set. A rank change is picked up within a click or two.
  • /ah reload clears that cache immediately, so changing MAX-LISTINGS-PER-PLAYER takes effect at once.

Leave the defaults alone for most servers

use and sell are already granted to everyone, and admin is already limited to operators. Most servers need no permission work at all.

Add slot tiers if you sell ranks

Grant atauctionhouse.limit.<n> per rank. Nothing else changes.

Give staff the admin node

Grant atauctionhouse.admin to your staff group so they can run /ah remove <id> on a scam listing and /ah reload after a config change.

Do not grant atauctionhouse.* as a wildcard to a normal rank. It picks up atauctionhouse.admin, which lets that rank remove anybody's listing.

On this page