-
-
Notifications
You must be signed in to change notification settings - Fork 60
Configuration Overview
Bryce Wilkinson edited this page Dec 21, 2025
·
1 revision
GUIShop uses multiple configuration files to provide maximum flexibility. This page provides an overview of all configuration files.
| File | Purpose |
|---|---|
config.yml |
Main plugin settings, commands, buttons, titles |
shops.yml |
Shop layouts and item definitions |
menu.yml |
Main menu configuration |
messages.yml |
All player-facing messages |
worth.yml |
Worth display system settings |
internal_messages.yml |
System/admin messages |
The main configuration file contains:
# Commands to open the shop (without /)
buy-commands:
- 'buy'
- 'shop'
# Commands to open sell GUI
sell-commands:
- 'sell'
# How commands are registered
# REGISTER = Full registration with tab complete
# INTERCEPT = Intercept only (no conflicts)
# NONE = Don't register (use commands.yml)
commands-mode: 'REGISTER'# Disable physical back button in shop
disable-back-button: true
# Disable escape to go back
disable-escape-back: false
# Enable alternate sell GUI (right-click to sell)
alternate-sell-enable: true
# Enable purchase sounds
enable-sound: true
# Enable in-game shop editor
ingame-config: true
# Enable dynamic pricing
dynamic-pricing: false
# Enable debug logging
debug-mode: false
# Log all transactions
transaction-log: false
# Hide items without buy price from shop GUI
hide-non-buyable: false
# Require signs to open shop
signs-only: falsebuttons:
back:
id: 'RED_STAINED_GLASS_PANE'
shop-name: '&cBack'
name: '&cBack'
shop-lore: '&fGo back to the menu'
lore: '&fClose the menu'
slot: 54
forward:
id: 'ARROW'
shop-name: '&cNext page'
slot: 52
backward:
id: 'ARROW'
shop-name: '&cPrevious page'
slot: 48titles:
menu: 'Menu %page-number%'
shop: 'Menu &f> &r%shopname%'
sell: 'Menu &f> &rSell'
qty: '&4Select amount'
alt-sell: 'Menu &f> &rSell'
value: '&2Item values'lores:
buy: '&fBuy: &c%amount%'
sell: '&fSell: &c%amount%'
free: '&fBuy: &aFREE'
cannot-buy: '&cCannot buy'
cannot-sell: '&cCannot sell'Contains all shop definitions. See Shop Configuration for details.
shops:
Blocks:
pages:
Page0:
'0':
type: SHOP
id: STONE
buy-price: 10
sell-price: 5Defines the main menu that appears when using /shop:
menu:
pages:
Page0:
'0':
id: GRASS_BLOCK
shop-name: '&aBlocks'
target-shop: 'Blocks'
'1':
id: DIAMOND_SWORD
shop-name: '&bTools'
target-shop: 'Tools'Contains all player-facing messages:
messages:
prefix: '&7[&6Shop&7] '
no-permission: '&cYou do not have permission!'
not-enough-money: '&cYou do not have enough money!'
purchase-success: '&aYou purchased %amount% x %item% for %price%!'
sell-success: '&aYou sold %amount% x %item% for %price%!'
currency-prefix: '$'
currency-suffix: ''Configures the worth display feature. See Worth Display Configuration for details.
enabled: true
format: "&7Worth: &a%worth%"
position: BOTTOM
hide-armor-slots: trueUse /gs reload to reload all configuration files without restarting the server.
Note: Some changes may require a full restart:
- Commands registration mode changes
- Adding/removing PacketEvents dependency
-
Use color codes with
&prefix (e.g.,&afor green) - Quote strings with special characters
-
Test changes with
/gs reloadbefore restarting - Back up configs before major changes
- Check console for errors after reload