πŸ›’Standard Shops

Standard shops are the core shop type in bShop, providing a traditional buy/sell interface with customizable layouts, pagination, and item management.

Basic Configuration

Minimal Shop Setup

title: "My Shop"
size: 3

pagination:
  next_page:
    material: LIME_STAINED_GLASS_PANE
    display-name: "<green>Next Page"
    slot: 8
  previous_page:
    material: RED_STAINED_GLASS_PANE
    display-name: "<red>Previous Page"
    slot: 0
  back_to_menu:
    material: BARRIER
    display-name: "<red>Back to Menu"
    slot: 4
    action: "back_to_main_menu"
  filler:
    material: GRAY_STAINED_GLASS_PANE
    display-name: " "

items:
  - id: diamond
    material: DIAMOND
    display-name: "<blue>Diamond"
    buy-price: 100.0
    sell-price: 50.0

Shop Properties

Required Properties

Property
Type
Description
Example

title

String

Shop display name

"Blocks Shop"

size

Integer

GUI size (1-6, representing 9-54 slots)

3

Optional Properties

Property
Type
Description
Default

type

String

Shop type (null for standard)

null

Pagination Configuration

Pagination controls navigation and layout elements in your shop.

Filler Items

Item Configuration

Basic Item Properties

Item Properties Reference

Property
Type
Required
Description

id

String

Yes

Unique item identifier

material

String

Yes

Minecraft material name

display-name

String

Yes

Item display name (supports MiniMessage)

lore

List

No

Item description lines

buy-price

Double

No

Price to buy item (-1 to disable)

sell-price

Double

No

Price to sell item (-1 to disable)

slot

Integer

No

Fixed slot position

page

Integer

No

Fixed page number

custom-model-data

Integer

No

Custom model data for textures

base64-head

String

No

Base64 encoded player head texture

texture

String

No

Player head texture URL

currency-command

String

No

Custom currency command

currency-requirement

String

No

Currency balance check

buy-limit

Integer

No

Purchase limit per player

sell-limit

Integer

No

Sell limit per player

Advanced Item Features

Custom Model Data

Player Heads

Item Layout Options

Fixed Positioning

Items can be placed in specific slots and pages:

Flow Layout

Items without fixed positions flow automatically:

Price Configuration

Buy/Sell Prices

Price Placeholders

Use these placeholders in lore:

  • %buy_price% - Formatted buy price

  • %sell_price% - Formatted sell price

Common Patterns

Decorative Items

Command-Based Items

Limited Items

Troubleshooting

Common Issues

  1. Items not appearing: Check slot/page numbers and shop size

  2. Prices not showing: Ensure %buy_price% and %sell_price% are in lore

  3. GUI errors: Verify pagination configuration

  4. Permission issues: Check Vault integration

Debug Tips

  • Use /shop reload to reload configurations

  • Check server console for error messages

  • Verify YAML syntax with online validators

  • Test with simple configurations first

Last updated