Skip to content
This repository was archived by the owner on Dec 31, 2018. It is now read-only.

Configuration

CJ Burkey edited this page Feb 14, 2017 · 11 revisions

There are two config files in BurkeyShop. The first does not actually require editing, and that is config.yml. However, shop.txt can and should be customized. This is the file in which you will put the items available in the shop.

The format for config.yml is quite simple. Here are the current defaults:

# BurkeyShop 0.1.0
# Created by CJ Burkey

guiNextButton: ARROW
guiBackButton: BARRIER
langChatPrefix: '&6[BurkeyShop]&r'
langNotEnoughMoney: '&4&lYou do not have enough money to complete this transaction.'
langNotEnoughItems: '&4&lYou do not have enough items to complete this transaction.'
langShopOpen: '&a&lShop Opened.'
langNoPerm: '&4&lYou do not have permission to use this command.'
langReloaded: '&2&lShop reloaded!'
langGuiName: '&2&lBurkeyShop'
langNextPage: '&2&lNext Page'
langBackPage: '&4&lPrevious Page'
langAddedItem: '&2&lAdded item to the shop.'
langRemovedItem: '&2&lRemoved item to the shop.'
langNoHand: '&4&lThere is no item in your hand.'
langNoRem: '&4&lCould not remove item from shop.'

The shop.txt file is even less complicated, here's the default file:

# Lines with # at the beginning are not loaded.
# Format: ITEM_NAME;BUY_PRICE;SELL_PRICE
# An example is provided:
DIRT;1;0.5
# Damage-value items and blocks work too:
WOOL;5;2.5
WOOL:1;5;2.5
WOOL:2;5;2.5

Clone this wiki locally