Plugin Files

Files that are generated by the plugin.

Config.yml

# Default language file
lang: en_US
tax:
# Should tax be applied to the purchase?
enabled: true
# Tax percentage as decimal
amount: 13.0
database:
# Should the plugin use a database to store shop data?
use database: false
# What is the connection url/host
host: localhost
# What is the port to database (default is 3306)
port: 3306
# What is the name of the database?
name: plugin_dev
# What is the name of the user connecting?
username: root
# What is the password to the user connecting?
password: Password1.
# Should the database connection use ssl?
use ssl: true
discord:
# Should the discord messages be enabled?
enabled: true
# Should a message be sent to the discord server when a user sells an item?
alert on item sell: true
# Should a message be sent to the discord server when a user buys an item?
alert on item buy: true
# A list of webhook urls (channels) you want a message sent to
webhooks:
- https://discord.com/api/webhooks/828398321407361054/IecxENcYA58qdJX4zzxfJIPsDS364raMtzA6_CPZ7hEp93Ou1LBp32gQ8nEkxHM1O8mR
user:
# The name of the user who will send the message
username: Shops
# The avatar image of the discord user
avatar picture: https://cdn.kiranhart.com/spigot/shops/icon.png
msg:
# colour of the message bar
use random colour: true
# The color of the embed, it needs to be in hsb format.
# Separate the numbers with a -
default colour: 137-100-100
# The title of the message when a user sells an item.
item sold title: Item Sold
# The title of the message when a user buys an item
item bought title: Item Bought
# The title of th message when a user buys items from the cart
item bought from cart title: Item(s) Bought
player:
name: Player
value: '%player%'
inline: true
qty:
name: Quantity
value: '%quantity%'
inline: true
price:
name: Price
value: $%price%
inline: true
item:
name: Purchased Item
value: '%item_name%'
inline: true
cart items:
name: Purchased Items
value: '%purchased_items%'
inline: true
guis:
global items:
back button:
# Settings for the back button
item: ARROW
name: '&e<< Back'
lore:
- '&7Click the button to go'
- '&7back to the previous page.'
close button:
# Settings for the close button
item: BARRIER
name: '&cClose'
lore:
- '&7Click to close this menu.'
next button:
# Settings for the next button
item: ARROW
name: '&eNext >>'
lore:
- '&7Click the button to go'
- '&7to the next page.'
refresh button:
# Settings for the refresh page
item: NETHER_STAR
name: '&6&LRefresh Page'
lore:
- '&7Click to refresh the currently'
- '&7available auction listings.'
shops:
# The name of the inventory
title: '&eShops'
# Should the inventory size according to the total amount of shops?
dynamic: true
# If dynamic is false, it will be use this size (min 2, max 6)
size: 6
# Should the items auto arrange themselves inside the gui, or should items use their specified slots?
auto arrange: true
# Should the empty slots of the gui be filled?
fill background: true
# The item that will be used to fill
background item: BLACK_STAINED_GLASS_PANE
# Valid Placeholders
# %shop_display_name%
# %shop_id%
shop name: '%shop_display_name%'
# Valid Placeholders
# %shop_description%
# %shop_item_count%
# %shop_is_sell_only%
# %shop_is_buy_only%
shop lore:
- '%shop_description%'
- '&7Sell Only: &e%shop_is_sell_only%'
- '&7Buy Only: &e%shop_is_buy_only%'
- '&7Total Items: &e%shop_item_count%'
- ''
- '&7Click to buy items from this shop.'
shop edit:
# The name of the inventory
# Valid Placeholders
# %shop_id%
title: '&eEditing %shop_id% Shop'
# Should the empty slots of the gui be filled?
fill background: true
# The item that will be used to fill
background item: BLACK_STAINED_GLASS_PANE
items:
display icon:
name: '&eCurrent Shop Icon'
lore:
- '&7Click to change the display icon'
display name:
item: OAK_SIGN
name: '%shop_display_name%'
lore:
- '&7Click to change the display name'
description:
item: WRITABLE_BOOK
name: '&eShop Description'
lore:
- '%shop_description%'
- ''
- '&7Click to change the description'
contents:
item: CHEST
name: '&eShop Contents'
lore:
- '&7Total Items&f: &e%shop_item_count%'
- '&7Click to change item prices to remove them.'
toggle public:
'on':
item: LIME_WOOL
name: '&aShop Public'
lore:
- '&7Click to make shop &cprivate'
'off':
item: RED_WOOL
name: '&cShop Private'
lore:
- '&7Click to make shop &apublic'
toggle sell only:
'on':
item: LIME_WOOL
name: '&aShop is Sell Only'
lore:
- '&7Click to disable sell only mode'
'off':
item: RED_WOOL
name: '&cShop isn''t Sell Only'
lore:
- '&7Click to enable sell only mode'
toggle buy only:
'on':
item: LIME_WOOL
name: '&aShop is Buy Only'
lore:
- '&7Click to disable buy only mode'
'off':
item: RED_WOOL
name: '&cShop isn''t Buy Only'
lore:
- '&7Click to enable buy only mode'
sell bonus:
item: SUNFLOWER
name: '&eSell Bonus'
# Valid Placeholders
# %shop_sell_bonus%
# %shop_sell_bonus_enable%
lore:
- '&7Current Bonus&f: &a%shop_sell_bonus%%'
- '&7Status&f: &e%shop_sell_bonus_enable%'
- ''
- '&7Left-Click to adjust percentage'
- '&7Right-Click to toggle it on/off'
buy discount:
item: SUNFLOWER
name: '&eBuy Discount'
# Valid Placeholders
# %shop_buy_discount%
# %shop_buy_discount_enable%
lore:
- '&7Current Discount&f: &a%shop_buy_discount%%'
- '&7Status&f: &e%shop_buy_discount_enable%'
- ''
- '&7Left-Click to adjust percentage'
- '&7Right-Click to toggle it on/off'
toggle permission to see:
'on':
item: LIME_WOOL
name: '&aRequire Permission to See Enabled'
lore:
- '&7Toggle permission to see to &cOff'
'off':
item: RED_WOOL
name: '&cRequire Permission to See Disabled'
lore:
- '&7Toggle permission to see to &aOn'
toggle permission to sell:
'on':
item: LIME_WOOL
name: '&aRequire Permission to Sell Enabled'
lore:
- '&7Toggle permission to sell to &cOff'
'off':
item: RED_WOOL
name: '&cRequire Permission to Sell Disabled'
lore:
- '&7Toggle permission to sell to &aOn'
toggle permission to buy:
'on':
item: LIME_WOOL
name: '&aRequire Permission to Buy Enabled'
lore:
- '&7Toggle permission to buy to &cOff'
'off':
item: RED_WOOL
name: '&cRequire Permission to Buy Disabled'
lore:
- '&7Toggle permission to buy to &aOn'
see permission:
item: PAPER
name: '&eSee Permission'
lore:
- '&7Click to change the see permission'
- ''
- '&7Current Permission&f: &e%shop_see_permission%'
sell permission:
item: PAPER
name: '&eSell Permission'
lore:
- '&7Click to change the sell permission'
- ''
- '&7Current Permission&f: &e%shop_sell_permission%'
buy permission:
item: PAPER
name: '&eBuy Permission'
lore:
- '&7Click to change the buy permission'
- ''
- '&7Current Permission&f: &e%shop_buy_permission%'
shop list:
# The name of the inventory
title: '&eListing Shops'
# Should the empty slots of the gui be filled?
fill background: true
# The item that will be used to fill
background item: BLACK_STAINED_GLASS_PANE
# Valid Placeholders
# %shop_display_name%
# %shop_id%
shop name: '%shop_display_name%'
# Valid Placeholders
# %shop_display_name%
# %shop_id%
# %shop_is_public%
# %shop_item_count%
# %shop_is_sell_only%
# %shop_is_buy_only%
shop lore:
- '&7ID: &e%shop_id%'
- '&7Display Name: &e%shop_display_name%'
- '&7Public: &e%shop_is_public%'
- '&7Sell Only: &e%shop_is_sell_only%'
- '&7Buy Only: &e%shop_is_buy_only%'
- '&7Total Items: &e%shop_item_count%'
- ''
- '&7Click to edit this shop'
shop contents:
# The name of the inventory
# Valid Placeholders
# %shop_id%
# %shop_display_name%
title: '&e%shop_display_name%'
# Should the empty slots of the gui be filled?
fill background: true
# The item that will be used to fill
background item: BLACK_STAINED_GLASS_PANE
# Valid Placeholders
# %shop_item_name%
item name: '%shop_item_name%'
# Valid Placeholders
# %shop_item_sell_price%
# %shop_item_buy_price%
# %shop_item_quantity%
item lore:
- '&7Left-click to purchase this item.'
- '&7Right-click to add x1 to your cart.'
- ''
- '&7Sell Price&f: &a$%shop_item_sell_price%'
- '&7Buy Price&f: &a$%shop_item_buy_price%'
- '&7Base Quantity&f: &a%shop_item_quantity%'
# Valid Placeholders
# %shop_item_sell_price%
# %shop_item_buy_price%
# %shop_item_sell_only%
# %shop_item_buy_only%
item lore editing:
- '&7Left-click to edit the buy price'
- '&7Right-click to edit the sell price'
- '&7Shift Left-click to toggle buy only'
- '&7Shift Right-click to toggle sell only'
- ''
- '&7Sell Price&f: &a$%shop_item_sell_price%'
- '&7Buy Price&f: &a$%shop_item_buy_price%'
- '&7Sell Only&f: &a%shop_item_sell_only%'
- '&7Buy Only&f: &a%shop_item_buy_only%'
cart item: CHEST
cart name: '&eView Cart'
# Valid Placeholders
# %shop_cart_item_count%
# %shop_cart_total%
cart lore:
- '&7Click to view your cart'
- ''
- '&7Cart Items&f: &a%shop_cart_item_count%'
- '&7Cart Total&f: &a$%shop_cart_total%'
cart:
# The name of the inventory
title: '&eYour Cart'
# Should the empty slots of the gui be filled?
fill background: false
# The item that will be used to fill
background item: BLACK_STAINED_GLASS_PANE
# The item that will be used to fill
bar item: BLACK_STAINED_GLASS_PANE
items:
clear:
item: RED_STAINED_GLASS_PANE
name: '&cClear Cart'
lore:
- '&7Click to clear the cart'
confirm:
item: LIME_STAINED_GLASS_PANE
name: '&aConfirm Purchase'
lore:
- '&7Click to make purchase'
info:
item: PAPER
name: '&eCart Information'
lore:
- '&7Total Items&f: &e%shop_cart_item_count%'
- ''
- '&7Sub-Total&f: &a$%shop_cart_sub_total%'
- '&7Tax&f: &a%shop_cart_tax%%'
- '&7Discounts&f: &a- $%shop_cart_discounts%'
- ''
- '&7Total&f: &a$%shop_cart_total%'
item lore:
- '&7Quantity&f: &ax%shop_item_quantity%'
- '&7Price&f: &a$%shop_item_price%'
item select:
# The name of the inventory
title: '&eItem Selection'
# Should the empty slots of the gui be filled?
fill background: true
# The item that will be used to fill
background item: BLACK_STAINED_GLASS_PANE
# Should items be placed in their default slots?
use default slots: true
shift click to +/- 64: true
increments:
# How much should the quantity increase on the first pane click
one: 1
# How much should the quantity increase on the second pane click
two: 5
# How much should the quantity increase on the third pane click
three: 10
decrements:
# How much should the quantity decrease on the first pane click
one: 1
# How much should the quantity decrease on the second pane click
two: 5
# How much should the quantity decrease on the third pane click
three: 10
items:
add to cart:
item: CHEST
name: '&eAdd to cart'
lore:
- '&7Click to add this item to your'
- '&7cart and continue shopping.'
info:
item: PAPER
name: '&eItem Information'
lore:
- '&7Stack Quantity&f: &e%item_stack_quantity%'
- '&7Quantity&f: &e%item_quantity%'
- '&7Base Price&f: &e%item_price%'
- ''
- '&7Sub-Total&f: &a$%item_sub_total%'
- '&7Tax&f: &a%item_tax%%'
- '&7Discounts&f: &a- $%item_discounts%'
- ''
- '&7Total&f: &a$%item_total%'
sell and buy:
item: SUNFLOWER
name: '&ePurchase / Sell'
lore:
- '&7Left-click to purchase item(s)'
- '&7Right-click to sell item(s)'
increment one:
item: LIME_STAINED_GLASS_PANE
name: '&a+%inc_one_amount%'
lore:
- '&7Click to add &e%inc_one_amount% &7to the quantity'
increment two:
item: LIME_STAINED_GLASS_PANE
name: '&a+%inc_two_amount%'
lore:
- '&7Click to add &e%inc_two_amount% &7to the quantity'
increment three:
item: LIME_STAINED_GLASS_PANE
name: '&a+%inc_three_amount%'
lore:
- '&7Click to add &e%inc_three_amount% &7to the quantity'
decrement one:
item: RED_STAINED_GLASS_PANE
name: '&c-%decr_one_amount%'
lore:
- '&7Click to remove &e%decr_one_amount% &7from the quantity'
decrement two:
item: RED_STAINED_GLASS_PANE
name: '&c-%decr_two_amount%'
lore:
- '&7Click to remove &e%decr_two_amount% &7from the quantity'
decrement three:
item: RED_STAINED_GLASS_PANE
name: '&c-%decr_three_amount%'
lore:
- '&7Click to remove &e%decr_three_amount% &7from the quantity'