Shop Shelves – Skript

Shop Shelves Storefront System is a chunk-based player shop script designed to build an immersive, chest-linked economy on your server. Built entirely in Skript, it uses Lecterns as central business hubs and functional Shelves as multi-slot shop displays.

Instead of managing individual, disconnected shop blocks, players claim an entire chunk using a central Lectern. Any supported shelf placed within that chunk routes sales, stock scanning, and revenue directly back to the central Lectern Vault.

Core Mechanics & Workflow

  • Centralized Chunk Ownership: Placing a Lectern claims the current chunk as an active storefront. Players are limited to one storefront, keeping commerce organized and preventing chunk hoarding.
  • Dynamic Chunk Stocking: Sellers store bulk inventory in standard chests placed anywhere within the chunk. When a transaction occurs, the script automatically scans all chunk chests, deducts the precise item quantity, and delivers it to the buyer.
  • Interactive Shelf Configuration: Shift-right-clicking any supported shelf opens a 3-row configuration GUI. Shop owners can select items directly from their chunk inventory, set custom unit quantities, adjust prices via chat input, and toggle individual slots.
  • Secure Payment Vault: All earnings accumulate in a central Lectern Vault. Shop owners can right-click their Lectern at any time to check accumulated revenue and withdraw cash directly into their balance. Breaking the Lectern safely pays out any remaining funds before clearing shop data.
  • Real-Time Action Bar UI: Looking at any registered shelf triggers an action bar display, giving prospective buyers an instant preview of listed items, stack sizes, and prices before opening the buy menu.

Feature Breakdown

FeatureDescription
Supported BlocksLectern (Central Vault) + 12 Shelf Variants (Oak, Spruce, Birch, Jungle, Acacia, Dark Oak, Mangrove, Cherry, Pale Oak, Bamboo, Crimson, Warped)
Slots Per ShelfUp to 3 configurable listing slots per shelf unit
Inventory SystemHands-free stock scanning across all chest blocks in the chunk
Visual UpdatesAutomatically syncs display items into the physical shelf block’s inventory so items visually show on the block
Safety FeaturesPrevents chunk overlaps, locks shelf setup to chunk owners, and enforces full stock & balance verification before processing payments
DependenciesSkript, Vault (with a compatible economy plugin like EssentialsX)

Hey!

Welcome to TinySkript a hub for skripts for your server

Join the club

Stay updated with our latest tips and other news by joining our newsletter.

Categories

Recent skripts