Skip to content

Instantly share code, notes, and snippets.

@ohac
Last active January 4, 2016 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohac/8633567 to your computer and use it in GitHub Desktop.
Save ohac/8633567 to your computer and use it in GitHub Desktop.
PREFERRED_ECONOMY_PLUGIN: ""
#(When not using Vault) Preferred economy plugin to use (iConomy/BOSEconomy/Essentials).
SHOP_INTERACTION_INTERVAL: 250
#(In 1/1000th of a second) How often can a player use the shop sign?
IGNORE_CREATIVE_MODE: true
#Do you want to allow using shops to people in creative mode?
REVERSE_BUTTONS: false
#If true, people will buy with left-click and sell with right-click.
SHIFT_SELLS_IN_STACKS: false
#If true, people will be able to buy/sell in 64 stacks while holding the crouch button.
SHIFT_ALLOWS: "ALL"
#What can you do by clicking shift with SHIFT_SELLS_IN_STACKS turned on? (ALL/BUY/SELL)
ALLOW_SIGN_CHEST_OPEN: true
#Can shop's chest be opened by owner with right-clicking a shop's sign?
ALLOW_LEFT_CLICK_DESTROYING: true
#If true, when you left-click your own shop sign you won't open chest's inventory, but instead you will start destroying the sign.
REMOVE_EMPTY_SHOPS: false
#If true, if the shop is empty, the sign is destroyed and put into the chest, so the shop isn't usable anymore.
REMOVE_EMPTY_CHESTS: false
#If true, if the REMOVE_EMPTY_SHOPS option is turned on, the chest is also destroyed.
ADMIN_SHOP_NAME: "Admin Shop"
#First line of your Admin Shop's sign should look like this:
SERVER_ECONOMY_ACCOUNT: ""
#The economy account which Admin Shops should use and to which all taxes will go
BANK_MEMBERS_ALLOWED: true
#Whether bank account members (if available) can create shops on its behalf
TAX_AMOUNT: 0
#Percent of the price that should go to the server's account. (100 = 100 percent)
BANK_TAX_AMOUNT: 0
#Percent of the price that should go to the server's account when buying from a bank.
SERVER_TAX_AMOUNT: 0
#Percent of the price that should go to the server's account when buying from an Admin Shop.
SHOP_CREATION_PRICE: 0.0
#Amount of money player must pay to create a shop
SHOP_REFUND_PRICE: 0.0
#How much money do you get back when destroying a sign?
BLOCK_SHOPS_WITH_SELL_PRICE_HIGHER_THAN_BUY_PRICE: true
#Should we block shops that sell things for more than they buy? (This prevents newbies from creating shops that would be exploited)
ALLOW_MULTIPLE_SHOPS_AT_ONE_BLOCK: false
#Do you want to allow other players to build a shop on a block where there's one already?
ALLOW_PARTIAL_TRANSACTIONS: true
#Can shops be used even when the seller doesn't have enough items? (The price will be scaled adequatly to the item amount)
SHOW_MESSAGE_OUT_OF_STOCK: true
#Do you want to show "Out of stock" messages?
SHOW_TRANSACTION_INFORMATION_CLIENT: true
#Do you want to show "You bought/sold... " messages?
SHOW_TRANSACTION_INFORMATION_OWNER: true
#Do you want to show "Somebody bought/sold... " messages?
LOG_TO_FILE: false
#If true, plugin will log transactions in its own file
LOG_TO_CONSOLE: true
#Do you want ChestShop's messages to show up in console?
LOG_TO_DATABASE: false
#If true, plugin will log transactions in EBean database
RECORD_TIME_TO_LIVE: 600
#How long should transaction information be stored in the database (in seconds, -1 means forever)?
STACK_TO_64: false
#Do you want to stack all items up to 64 item stacks?
USE_BUILT_IN_PROTECTION: true
#Do you want to use built-in protection against chest destruction?
STICK_SIGNS_TO_CHESTS: false
#Do you want to have shop signs "stick" to chests?
TURN_OFF_DEFAULT_PROTECTION_WHEN_PROTECTED_EXTERNALLY: false
#EXPERIMENTAL: Do you want to turn off the default protection when another plugin is protecting the block? (Will leave the chest visually open - CraftBukkit bug!)
TURN_OFF_SIGN_PROTECTION: false
#Do you want to turn off the default sign protection? Warning! Other players will be able to destroy other people's shops!
TURN_OFF_HOPPER_PROTECTION: false
#Do you want to disable the hopper protection, which prevents the hoppers from taking items out of chests?
PROTECT_CHEST_WITH_LWC: false
#Do you want to protect shop chests with LWC?
PROTECT_SIGN_WITH_LWC: false
#Do you want to protect shop signs with LWC?
GENERATE_STATISTICS_PAGE: false
#If true, plugin will generate shop statistics webpage.
STATISTICS_PAGE_PATH: "plugins/ChestShop/website.html"
#Where should your generated website be saved?
STATISTICS_PAGE_GENERATION_INTERVAL: 60
#How often should the website be generated?
WORLDGUARD_INTEGRATION: false
#Do you want to only let people build inside regions?
WORLDGUARD_USE_FLAG: true
#Do you want to only let poeple build inside region flagged by doing /region regionName flag chestshop allow?
WORLDGUARD_USE_PROTECTION: false
#Do you want ChestShop to respect WorldGuard's chest protection?
HEROES_EXP: 100.0
#How much Heroes exp should people get for creating a ChestShop?
# This file is for discount management. You are able to do that:
# group1: 75
# That means that the person with ChestShop.discount.group1 permission will pay only 75% of the price.
# For example, if the price is 100 dollars, the player pays only 75 dollars.
# (Only works in buy-only Admin Shops!)
prefix: "§a[Shop] §r"
iteminfo: "§aItem Information: §r"
ACCESS_DENIED: "You don't have permission to do that!"
NOT_ENOUGH_MONEY: "You don't have enough money!"
NOT_ENOUGH_MONEY_SHOP: "Shop owner doesn't have enough money!"
CLIENT_DEPOSIT_FAILED: "Money deposit to your account failed!"
SHOP_DEPOSIT_FAILED: "Money deposit to shop owner failed!"
NO_BUYING_HERE: "You can't buy here!"
NO_SELLING_HERE: "You can't sell here!"
NOT_ENOUGH_SPACE_IN_INVENTORY: "You haven't got enough space in inventory!"
NOT_ENOUGH_SPACE_IN_CHEST: "There isn't enough space in chest!"
NOT_ENOUGH_ITEMS_TO_SELL: "You don't have enough items to sell!"
NOT_ENOUGH_STOCK: "This shop is out of stock."
NOT_ENOUGH_STOCK_IN_YOUR_SHOP: "Your %material shop is out of stock!"
YOU_BOUGHT_FROM_SHOP: "You bought %item from %owner for %price."
SOMEBODY_BOUGHT_FROM_YOUR_SHOP: "%buyer bought %item for %price from you."
YOU_SOLD_TO_SHOP: "You sold %item to %buyer for %price."
SOMEBODY_SOLD_TO_YOUR_SHOP: "%seller sold %item for %price to you."
YOU_CANNOT_CREATE_SHOP: "You can't create this type of shop!"
NO_CHEST_DETECTED: "Couldn't find a chest!"
INVALID_SHOP_DETECTED: "The shop cannot be used!"
CANNOT_ACCESS_THE_CHEST: "You don't have permissions to access this chest!"
PROTECTED_SHOP: "Successfully protected the shop with LWC!"
SHOP_CREATED: "Shop successfully created!"
SHOP_FEE_PAID: "You have been charged %amount"
SHOP_REFUNDED: "You have been refunded %amount."
ITEM_GIVEN: "Given %item to %player."
RESTRICTED_SIGN_CREATED: "Sign successfully created!"
PLAYER_NOT_FOUND: "Player not found!"
NO_PERMISSION: "You don't have permissions to do that!"
INCORRECT_ITEM_ID: "You have specified invalid item id!"
NOT_ENOUGH_PROTECTIONS: "Could not create a protection!"
CANNOT_CREATE_SHOP_HERE: "You can't create shop here!"
# In this file you can configure maximum and minimum prices for items (when creating a shop).
max:
buy_price:
itemID: 5.53
'988': 3.51
sell_price:
'978': 3.52
min:
buy_price:
'979': 1.03
sell_price:
'989': 0.51
# iConomy 6.0.8b
# @author Nijikokun <nijikokun@gmail.com>
# @license GPLv2
# @copyright Copyright AniGaiku LLC (C) 2010-2011
##
# Setup Notes
# - Seconds
# Basic Table:
# 1 minute = 60 seconds
# 1 hour = 1 minute * 60 = 3600 seconds
# 1 day = 1 hour * 24 = 86400 seconds
# 1 week = 1 day * 7 = 604800 seconds
# - Database
# Do not use remote databases from free sites, please use either a
# remote database from a personal hosted VPS or DEDI or a local
# database. This will prevent any 'timeout' or 'invalid settings'
# or 'cannot connect to database' issues. Thank you :)!
##
System:
Permissions:
Use:
# Should a user have the 'iConomy.holdings' to use /money
# By default this is false, so that people stop complaining that
# iConomy doesn't work. Yes, people actually report that.
# If you are one of those people, leave this false.
Holdings: false
Default:
Currency:
# Major is the first segment [Major].Minor
# Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
Major: [ 'Dollar', 'Dollars' ]
# Minor (Major.[Minor]) 0.23 Coins (With Seperate 0 Dollars, 23 Coins)
Minor: [ 'Coin', 'Coins' ]
Account:
# Default account balance when created
Holdings: 30.0
# Controls how money is formatted through methods
Formatting:
# Minor allows you to use the Minor amounts for amounts <1
# Example (true) 0.23 Coins and 1.23 Dollars (false) 0.23 Dollars and 1.23 Dollars
Minor: false
# Seperate allows your money to be shown in an alternative way,
# instead of 1.32 it will show as 1 Dollar 23 Coins
# !!! NOTICE: This only works if Minor is set to true !!!
Seperate: false # Example (true) 1 Dollar, 23 Coins (false) 1.23 Dollars (Only if Minor is true)
# Single shows your money in another alternative way.
# Instead of 1.23 Dollars you will see: 1 Dollar.
# If your money is 0.23 you will see 0 Dollars if Minor is false, 23 Coins if Minor is true.
# !!! Notice: This overrides seperate !!!
Single: false
# Logs all monetary transactions passed through iConomy
Logging:
Enabled: false
# Purges Default Balances at Loading
# Good way to keep unused accounts or default accounts wiped out and lower database usage.
Purging:
Enabled: true
# Controls amount of money gained at a set interval.
Interest:
Enabled: false
# Only give interest to players who are currently online?
Online: true
Announce:
# Send a message when the player gains interest?
Enabled: false
Interval:
# Interval is done in seconds, here is a easy reference table for commonly set intervals:
# 1 minute = 60 seconds
# 1 hour = 1 minute * 60 = 3600 seconds
# 1 day = 1 hour * 24 = 86400 seconds
# 1 week = 1 day * 7 = 604800 seconds
Seconds: 60
Amount:
# The balance to be met where we stop giving interest.
# 0.0 for no limit
Cutoff: 0.0
# Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
Percent: 0.0
# This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
# If the two numbers are different, it will be a random amount in-between the two.
Maximum: 1
Minimum: 2
Database:
# Databases Supported:
# Flatfile, FF, mini, minidb
# - These all equate to miniDB
##
# item, items, inventory, inventoryDB
# - These all equate to InventoryDB, which uses inventory for storage
##
# xp, exp, orb, xpdb, expdb, orbdb
# - These all equate to ExperienceDB, which relies on Experience for balance.
##
# mysql, mysqldb
# - These will attempt to connect to MySQL
##
# sqlite, sqlite2, sqlite3, sqlitedb
# - These will attempt to create & connect to SQLite
##
# postgre, postgreSQL, postgreDB
# - These will attempt to connect to PostgreSQL
Type: 'minidb'
# These are for InventoryDB only.
#
# InventoryDB is essentially Physical Money.
# It isn't logged in a database, its based on the users inventory
# and the two items selected below.
#
# MajorItem is the item or block ID of the major currency
# MinorItem is the item or block ID of the minor currency
# e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
MajorItem: 266
MinorItem: 265
# This controls the database name, by default it is iConomy
Table: 'iConomy'
# URL is for SQL Databases Only
##
# Path to iConomy folder is easy, it's the COMPLETE path.
# (Mine) G:\MineCraft\plugins\iConomy\
# Won't be the same as yours, but it usually looks like that.
##
# [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
# [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
##
# Binary Databases use ip:port style connections.
# ip
# - is the connection identifier (internet protocol)
# - for ipv6 usually encased in brackets [::1]
# port
# - the port that the database is listening on
# - defaults: 3306 for mysql, postgre is either 5740 or 5432
##
# [MySQL Default] mysql://localhost:3306/iConomy
# [Postgre Default] postgresql://localhost:5740/iConomy
URL: 'mysql://localhost:3306/iConomy'
# Login details for binary databases
Username: 'root'
Password: ''
##############################################################
# !!! Conversion is not your database settings !!!
##############################################################
# Conversion allows you to convert your old 5.x to the new 6.x
# All is currently unused.
##############################################################
# URL is for MySQL only, H2DB doesn't use it.
##############################################################
Conversion:
# Set to True, After converting, change this back to false!
Enabled: false
# Database Type, H2DB or MySQL
Type: 'H2DB'
# Database Table
Table: 'iConomy'
# Database URL without table at the end.
URL: 'mysql://localhost:3306'
# Username / Password
# H2DB does not use this. MySQL Only.
Username: 'root'
Password: ''
# Unused ATM.
All: true
#
# Messaging Template
tag:
money: '<green>[<white>Money<green>] '
personal:
balance: '<green>Balance: <white>+balance'
reset: <rose>Your account has been reset.
set: <green>Your balance has been changed to <white>+amount
debit: <rose>Your account had <white>+amount<rose> debited.
credit: <white>+amount<green> was credited into your account.
status: <green>Account status is currently <white>+status<green>.
player:
set: <green>+name's balance has been changed to <white>+amount
balance: '<green>+name''s Balance: <white>+balance'
reset: <white>+name's <rose>account has been reset.
credit: <white>+name's <green>account had <white>+amount<green> credited.
debit: <white>+name's <rose>account had <white>+amount<rose> debited.
status: <white>+name's <green>account status is <white>+status<green>.
payment:
self: <rose>Sorry, you cannot send money to yourself.
to: <green>You have sent <white>+amount<green> to <white>+name<green>.
from: <white>+name<green> has sent you <white>+amount<green>.
statistics:
opening: <green>-----[ <white>iConomy Stats <green>]-----
total: '<gray>Total +currency: <white>+amount'
average: '<gray>Average +currency: <white>+amount'
accounts: '<gray>Total Accounts: <white>+amount'
interest:
announcement: +amount <green>gained from interest.
accounts:
empty: <rose>Deleted <white>all<rose> accounts.
purge: <rose>All inactive accounts were purged.
create: <green>Created account with the name <white>+name<green>.
remove: '<green>Deleted account: <white>+name<green>.'
status: <green>Account status is now <white>+status<green>.
top:
opening: <green>-----[ <white>Wealthiest Accounts <green>]-----
item: <gray>+i. <green>+name <gray>- <white>+amount
error:
online: <rose>Sorry, nobody else is online.
exists: <rose>Account already exists.
create: <rose>Could not create account with the name <white>+name<rose>.
remove: <rose>Could not remove account with the name <white>+name<rose>.
account: <rose>Account <white>+name<rose> does not exist.
funds: <rose>Sorry, you do not have enough funds to do that.
sakuracoinish:
tax: 0.0
sales-tax: true
is-buyer-responsible: true
owner: ohachige
multiplier: 1000.0
currency-name: mSKR
sakuracoin:
min-withdraw: 0
confirms: 2
check-interval: 60
self-check:
delay: -1
startup: false
auctions:
days: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment