
Shop
Updated Core Functionality: Physical Shop & Cashier Cash Register Setup: Implement a command /register create that turns the block the admin is looking at...
00—FreepaperServer1.21.11mod
Shop Plugin
A physical shop and cashier system for your Minecraft server with virtual shopping baskets and Vault economy integration.
Features
Cash Register System
- Create Registers: Use
/register createwhile looking at any block to turn it into a Cash Register - Visual Holograms: Floating text displays above each register showing the shop status
- Persistent Storage: Register locations are saved in
registers.yml
Shop Status
- Toggle Open/Closed: Use
/shop toggleto switch between OPEN and CLOSED status - Visual Indicators: The hologram above registers changes dynamically:
- Open: Green "● OPEN CASH REGISTER"
- Closed: Red "○ CLOSED (Check back later)"
- Sound Effects: Door open/close sounds play when toggling
Shopping Basket
- Add Items: Right-click while holding a shop item (diamonds, gold, iron, emeralds, etc.) to add it to your virtual basket
- View Basket: Use
/basketto see your current items and total - Persistent: Items stay in your basket until checkout or server restart
Checkout Process
- Open Register: Right-click on an OPEN Cash Register to open the checkout GUI
- View Items: See all basket items with individual prices
- Purchase: Click the Green Wool button to complete checkout
- Payment: Automatically deducts total from player balance (requires Vault economy)
- Delivery: Items are added to your inventory (or dropped on ground if full)
- Confirmation: "Chime" sound plays on successful purchase
Blocked Actions
When the shop is CLOSED:
- Cannot add items to basket
- Cannot open checkout GUI
- Players receive: "Sorry, the shop is currently closed!"
How to Use
For Players
- Find shop items - Look for valuable materials (diamonds, gold, iron, emeralds, etc.)
- Add to basket - Right-click with an item to add it to your virtual basket
- Check basket - Run
/basketto see your items and total cost - Checkout - Find a Cash Register and right-click it when the shop is OPEN
- Complete purchase - Click the green wool button to pay and receive items
For Administrators
- Create a register - Run
/register createwhile looking at a block - Toggle shop status - Use
/shop toggleto open or close the shop
Tips & Tricks
- Place multiple registers around your spawn for convenience
- The hologram makes it easy to find registers from a distance
- Shop items are automatically priced (diamond = $100, gold = $50, etc.)
- Players can hold multiple of the same item to add several at once
Known Limitations
- Basket contents reset when the server restarts
- Economy requires Vault plugin to be installed on the server
- Only pre-configured items can be sold (diamond, gold, iron, emerald, redstone, lapis, coal, copper, glowstone, ender pearl)