yves.lol

Make me a modern shop skript with cpvp gear and common building blocks and redstone stuff for farms with a modern bold look

Kodari AI
KodariMay 25 at 8:20 pm 8,398 (v2)

I’ll create a modern shop system with cPvP gear, building blocks, and redstone items featuring a bold, clean design.

ModernShopSystem
A sleek, modern shop system featuring competitive PvP gear, building materials, and redstone farm components. Displays items in a bold, organized GUI with category navigation. Players can purchase armor, weapons, blocks, and redstone items through an intuitive menu system. Includes configurable pricing, transaction messages, and Vault economy integration for seamless gameplay.

Created a sleek modern shop system with bold cyan/yellow styling!

Features:

  • 3 shop categories with intuitive GUI navigation

  • cPvP gear (diamond armor/weapons, totems, pearls, gapples)

  • Building blocks (64x stacks of wood, stone, concrete, glass)

  • Redstone components (pistons, hoppers, observers, comparators)

  • Vault economy integration

  • Configurable prices in options section

  • Sound effects and clean transaction messages

Installation:

  1. Place shop.sk in plugins/Skript/scripts/

  2. Run /sk reload shop

  3. Use /shop to open!

Requires: Skript, Vault, and an economy plugin (EssentialsX recommended)

All prices are easily customizable in the options section at the top of the file!

yves.lol

make it a INVENTORY GUI

Kodari AI
KodariMay 25 at 8:22 pm 25,061 (v2)

The shop system I created already uses inventory GUIs!

The code uses Skript’s inventory system:

  • open chest with X rows named "..." - Opens chest GUIs

  • Items placed in slots that players can click

  • on inventory click event handles all purchases

This creates a fully interactive chest-based shop menu that players navigate by clicking items. When you run /shop, it opens a chest inventory with clickable items!

If you meant something different or want me to modify the GUI style, let me know what you’d like changed!

[Generation stopped]

Kodari can make mistakes. Review important code before using.
Files
README.txt
shop.sk
Code
2 129
shop.sk
# ═══════════════════════════════════════════════════════════════
#  MODERN SHOP SYSTEM
#  Version: 1.0
#  Description: Sleek shop with cPvP gear, blocks, and redstone
# ═══════════════════════════════════════════════════════════════

options:
    # Visual Theme - Modern & Bold
    primary: &b&l
    secondary: &f
    accent: &e&l
    error: &c&l
    success: &a&l
    
    # Shop Title
    shop-title: &8&l[&b&lMODERN SHOP&8&l]
    
    # Currency Symbol
    currency: ⛃
    
    # Prices - PvP Gear
    price-diamond-sword: 500
    price-diamond-axe: 450
    price-diamond-helmet: 300
    price-diamond-chestplate: 400
    price-diamond-leggings: 350
    price-diamond-boots: 250
    price-bow: 200
    price-arrow: 5
    price-shield: 150
    price-golden-apple: 50
    price-enchanted-golden-apple: 500
    price-ender-pearl: 75
    price-totem: 1000
    
    # Prices - Building Blocks
    price-oak-log: 10
    price-stone: 5
    price-cobblestone: 3
    price-stone-brick: 8
    price-oak-planks: 5
    price-glass: 10
    price-white-concrete: 15
    price-black-concrete: 15
    price-quartz-block: 20
    price-smooth-stone: 10
    
    # Prices - Redstone & Farms
    price-redstone: 20
    price-repeater: 30
    price-comparator: 40
    price-observer: 50
    price-piston: 25
    price-sticky-piston: 35
    price-hopper: 100
    price-dropper: 30
    price-dispenser: 35
    price-redstone-torch: 15

# ═══════════════════════════════════════════════════════════════
#  MAIN SHOP COMMAND
# ═══════════════════════════════════════════════════════════════

command /shop [<text>]:
    trigger:
        if arg-1 is not set:
            set {_gui} to chest inventory with 3 rows named "&b&lSHOP &f▸ Categories"
            
            # Category: PvP Gear
            set slot 11 of {_gui} to diamond sword named "{@accent}⚔ PVP GEAR" with lore "{@secondary}Swords, armor, and combat items||{@primary}Click to browse!"
            
            # Category: Building Blocks
            set slot 13 of {_gui} to stone bricks named "{@accent}▣ BUILDING BLOCKS" with lore "{@secondary}Blocks for construction||{@primary}Click to browse!"
            
            # Category: Redstone & Farms
            set slot 15 of {_gui} to redstone named "{@accent}⚡ REDSTONE & FARMS" with lore "{@secondary}Redstone components and farm items||{@primary}Click to browse!"
            
            # Decorative glass panes
            set {_filler} to light gray stained glass pane named "&r"
            loop integers from 0 to 26:
                if slot loop-integer of {_gui} is air:
                    set slot loop-integer of {_gui} to {_filler}
            
            open {_gui} to player
            
        else if arg-1 is "pvp":
            set {_gui} to chest inventory with 6 rows named "&b&lSHOP &f▸ PvP Gear"
            
            # Row 1: Weapons