Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- database:
- #Database backend type, can be set to mysql or sqlite
- type: sqlite
- #MySQL database host
- mySQLHost: localhost
- #MySQL connection port number
- mySQLPort: 3306
- #MySQL database name
- mySQLDatabase: db
- #MySQL database user
- mySQLUser: root
- #MySQL user's password
- mySQLPassword: ""
- #MySQL table names
- tableNames:
- players: "players"
- #Type of the economy which will handle all transactions. Valid values are EXP, VAULT (requires http://dev.bukkit.org/bukkit-plugins/vault/), MYSQL_TOKENS (requires https://www.spigotmc.org/resources/mysql-tokens.7535/), TOKEN_MANAGER (requires https://www.spigotmc.org/resources/tokenmanager.8610/)
- economyType: VAULT
- #Name of the main GUI
- shopMenuName: "&c&oShop GUI:"
- #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
- shopMenuSize: 45
- #Define whether selling all with middle mouse button is enabled
- enableSellAll: true
- #Define whether the buy GUI with option to select quantity is enabled
- enableBuyGUI: true
- #Define whether the sell GUI with option to select quantity is enabled
- enableSellGUI: true
- #Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
- enableSellGUISellAll: true
- #Define whether after closing/buying/selling the shop GUI should be opened again
- returnToShop: true
- #Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
- quickBuySell: false
- #Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
- hideBuyPriceForUnbuyable: true
- #Define whether lines containing the %sell% placeholder should be hidden for unsellable items
- hideSellPriceForUnsellable: true
- #Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
- invertBuySell: false
- #Maximum amount of enchantments players can add to an item, set to -1 for no limit
- maxEnchantments: 3
- #Choose whether players should be able to buy enchantments only 1 level higher than current (eg. player has sword with Sharpness 1, they could buy only Sharpness 2)
- limitEnchantmentLevelDiff: false
- #Define whether the amount selection double click bug fix should be enabled
- enableAmountSelectionFix: true
- #Define whether players should be able to use sell all option to sell all their items (allowAllSellAllStackSizes = true) or only amount multiplied by the original stack size of the shop item (allowAllSellAllStackSizes = false)
- allowAllSellAllStackSizes: false
- #Define whether all prices should be rounded up, down, to the nearest whole number or not rounded (valid values are UP, DOWN, NEAREST and NONE)
- roundPrices: none
- #Define whether main menu (/shop command) should be disabled. The only way to access shops will be to use /shop <id> when you disable it.
- disableMainMenu: false
- #Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
- useDifferentMessagesForFreeItems: true
- #Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
- capitalizeItemNames: true
- #Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
- priceModifiersType: BOTH
- #Choose if the gui shall be closed after using the Sell All feature
- closeGuiAfterSellAll: false
- #Choose if bulk buy/sell guis should be opened immediately after clicking an item (enableBuyGUI and enableSellGUI have to be enabled as well and players need the bulk buy/sell permissions)
- openBulkGuiImmediately: false
- #Choose which items stack size should be capped at 16 inside the amount selection GUI so players can't buy eg. oversized ender pearl stacks
- #Format is same as for regular items in shops.yml
- itemStackSizeCappedAt:
- 1:
- material: ENDER_PEARL
- size: 16
- 2:
- material: SNOW_BALL
- size: 16
- 3:
- material: SIGN
- size: 16
- 4:
- material: EGG
- size: 16
- 5:
- material: BUCKET
- size: 1
- #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
- disableShopsInGamemodes:
- - ADVENTURE
- - CREATIVE
- - SPECTATOR
- #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
- disableShopsInWorlds: []
- #Choose whether price modifiers should be displayed in percents instead of decimals (eg. 10% instead of 0.10), remember you will still have to use the decimal way in commands
- displayPriceModifiersInPercents: true
- #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
- disableSudoWorldPermissionCheck: false
- #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
- disableSudoShopPermissionCheck: false
- #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
- shopItemLoreFormat:
- #This lore will be applied to items
- item:
- - "&f"
- - "&aKøbe pris&8: &e&n$%buy%"
- - "&aSælge pris&8: &e&n$%sell%"
- - "&f"
- - "&eVenstre-Klik &8-&7 Køb item"
- - "&eHøjre-Klik &8-&7 Sælg item"
- - "&eMidt-Klik &8-&7 Sælg alt"
- #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
- itemBuyGUI:
- - "&aKøbe pris: &e&n%buy%$"
- #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
- itemSellGUI:
- - "&aSælge pris: &e&n%sell%$"
- #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
- itemSellGUISellAll:
- - "&aSælg alt for: &e&n%sell%$"
- #This one to permissions
- permission:
- - "&aKøbe pris: &e&n%buy%$"
- #And this one to enchantments
- enchantment:
- - "&aKøbe pris: &e&n%buy%$"
- #And the last one to commands
- command:
- - "&aKøbe pris: &e&n%buy%$"
- #Logging settings
- log:
- #Define whether transactions will be logged to the console/main server log
- toConsole: true
- #Define whether transactions will be logged to a separate log
- toFile: false
- #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
- formatDate: "yyyy/MM/dd HH:mm:ss"
- #Log message for bought items
- formatBuy: "%player% købte %amount% x %item% for %price%$ fra %shop% shop"
- #Log message for sold items
- formatSell: "%player% solgte %amount% x %item% for %price%$ til %shop% shop"
- #Log message for sold all items
- formatSellAll: "%player% solgte %amount% x %item% for %price%$ til %shop% shop"
- buttons:
- #"Go back button"
- goBack:
- item:
- #Material name, full list can be found here: http://wiki.brcdev.net/Materials
- material: 431
- #Amount of the item
- amount: 1
- #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
- damage: 0
- #(optional) Custom name
- name: "&c&lGå tilbage til kategorier"
- #(optional) Lore, can contain multiple lines
- lore:
- - "&7Tilbage"
- #Slot in each shop's GUI
- slot: 49
- #"Previous page" button
- previousPage:
- item:
- material: 325
- quantity: 1
- name: "&e&lForrige side"
- slot: 45
- #"Next page"
- nextPage:
- item:
- material: 335
- quantity: 1
- name: "&e&lNæste side"
- slot: 53
- #Elements of the bulk buy GUI
- amountSelectionGUIBulkBuy:
- #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
- size: 18
- #Choose if buttons type should be replaced with the bought item's type
- replaceButtonsType: true
- #Buttons
- buttons:
- #"Buy 1 stack" button
- buy1:
- #When no material is specified it will be the type of the item being bought
- item:
- quantity: 1
- name: "&aKøb 1 stack"
- lore:
- - "&7Pris: &c%buy%$"
- #Value indicated the amount of stacks
- value: 1
- slot: 0
- #"Buy 2 stacks" button
- buy2:
- item:
- quantity: 2
- name: "&aKøb 2 stacks"
- lore:
- - "&7Pris: &c%buy%$"
- value: 2
- slot: 1
- #"Buy 3 stacks" button
- buy3:
- item:
- quantity: 3
- name: "&aKøb 3 stacks"
- lore:
- - "&7Pris: &c%buy%$"
- value: 3
- slot: 2
- #"Buy 4 stacks" button
- buy4:
- item:
- quantity: 4
- name: "&aKøb 4 stacks"
- lore:
- - "&7Pris: &c%buy%$"
- value: 4
- slot: 3
- #"Buy 5 stacks" button
- buy5:
- item:
- quantity: 5
- name: "&aKøb 5 stacks"
- lore:
- - "&7Pris: &c%buy%$"
- value: 5
- slot: 4
- #"Buy 6 stacks" button
- buy6:
- item:
- quantity: 6
- name: "&aKøb 6 stacks"
- lore:
- - "&7Pris: &c%buy%$"
- value: 6
- slot: 5
- #"Buy 7 stacks" button
- buy7:
- item:
- quantity: 7
- name: "&aKøb 7 stacks"
- lore:
- - "&7Pris: &c%buy%$"
- value: 7
- slot: 6
- #"Buy 8 stacks" button
- buy8:
- item:
- quantity: 8
- name: "&aKøb 8 stacks"
- lore:
- - "&7Pris: &c%buy%$"
- value: 8
- slot: 7
- #"Buy 9 stacks" button
- buy9:
- item:
- quantity: 9
- name: "&aKøb 9 stacks"
- lore:
- - "&7Pris: &c%buy%$"
- value: 9
- slot: 8
- #"Cancel" button
- cancel:
- item:
- material: STAINED_GLASS
- quantity: 1
- damage: 14
- name: "&c&lAfbrud"
- slot: 13
- #Elements of the bulk buy GUI
- amountSelectionGUIBulkSell:
- #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
- size: 18
- #Choose if buttons type should be replaced with the sold item's type
- replaceButtonsType: true
- #Buttons
- buttons:
- #"Sell 1 stack" button
- sell1:
- #When no material is specified it will be the type of the item being bought
- item:
- quantity: 1
- name: "&aSælg 1 stack"
- lore:
- - "&7Pris: &c%sell%$"
- #Value indicated the amount of stacks
- value: 1
- slot: 0
- #"Sell 2 stacks" button
- sell2:
- item:
- quantity: 2
- name: "&aSælg 2 stacks"
- lore:
- - "&7Pris: &c%sell%$"
- value: 2
- slot: 1
- #"Sell 3 stacks" button
- sell3:
- item:
- quantity: 3
- name: "&aSælg 3 stacks"
- lore:
- - "&7Pris: &c%sell%$"
- value: 3
- slot: 2
- #"Sell 4 stacks" button
- sell4:
- item:
- quantity: 4
- name: "&aSælg 4 stacks"
- lore:
- - "&7Pris: &c%sell%$"
- value: 4
- slot: 3
- #"Sell 5 stacks" button
- sell5:
- item:
- quantity: 5
- name: "&aSælg 5 stacks"
- lore:
- - "&7Pris: &c%sell%$"
- value: 5
- slot: 4
- #"Sell 6 stacks" button
- sell6:
- item:
- quantity: 6
- name: "&aSælg 6 stacks"
- lore:
- - "&7Pris: &c%sell%$"
- value: 6
- slot: 5
- #"Sell 7 stacks" button
- sell7:
- item:
- quantity: 7
- name: "&aSælg 7 stacks"
- lore:
- - "&7Pris: &c%sell%$"
- value: 7
- slot: 6
- #"Sell 8 stacks" button
- sell8:
- item:
- quantity: 8
- name: "&aSælg 8 stacks"
- lore:
- - "&7Pris: &c%sell%$"
- value: 8
- slot: 7
- #"Sell 9 stacks" button
- sell9:
- item:
- quantity: 9
- name: "&aSælg 9 stacks"
- lore:
- - "&7Pris: &c%sell%$"
- value: 9
- slot: 8
- #"Cancel" button
- cancel:
- item:
- material: STAINED_GLASS
- quantity: 1
- damage: 14
- name: "&c&lAfbrud"
- slot: 13
- #Elements of the regular buy/sell GUI
- amountSelectionGUI:
- #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
- size: 36
- #Slot of the item being bought/sold
- itemSlot: 13
- #Buttons
- buttons:
- #"Set to 1" button
- set1:
- item:
- material: STAINED_GLASS_PANE
- quantity: 1
- damage: 14
- name: "&c&lSÆT TIL 1"
- slot: 9
- #"Remove 10" button
- remove10:
- item:
- material: STAINED_GLASS_PANE
- quantity: 10
- damage: 14
- name: "&c&lFJERN 10 &7(-10)"
- slot: 10
- #"Remove 1" button
- remove1:
- item:
- material: STAINED_GLASS_PANE
- quantity: 1
- damage: 14
- name: "&c&lFJERN 1 &7(-1)"
- slot: 11
- #"Add 1" button
- add1:
- item:
- material: STAINED_GLASS_PANE
- quantity: 1
- damage: 5
- name: "&a&lTILFØJ 1 &7(+1)"
- slot: 15
- #"Add 10" button
- add10:
- item:
- material: STAINED_GLASS_PANE
- quantity: 10
- damage: 5
- name: "&a&lTILFØJ 10 &7(+10)"
- slot: 16
- #"Set to 64" button
- set64:
- item:
- material: STAINED_GLASS_PANE
- quantity: 64
- damage: 5
- name: "&a&lSÆT TIL 64"
- slot: 17
- #"Confirm" button
- confirm:
- item:
- material: 342
- quantity: 1
- damage: 0
- name: "&a&lBEKRÆFT TRANSAKTION"
- slot: 30
- #"Sell all" button
- sellAll:
- item:
- material: 343
- quantity: 1
- damage: 0
- name: "&d&lSÆLG ALT"
- slot: 31
- #"Cancel" button
- cancel:
- item:
- material: 328
- quantity: 1
- damage: 0
- name: "&c&lAFBRUD TRANSAKTION"
- slot: 32
- shopMenuItems:
- #Has to be unique, value doesn't matter
- 1:
- item:
- #The same rules apply for material, amount, damage and lore as for goBackButton
- material: GRASS
- quantity: 1
- name: "&e&nBlock&e Shop"
- lore:
- - "&7"
- - "&7Køb &6blocks"
- - "&7i denne shop"
- - "&7"
- - "&eKlik for at åben shop: &7/Shop blocks"
- #Shop ID from shops.yml
- shop: "blocks"
- #Slot in shops menu, counting from 0 to 53
- slot: 11
- 2:
- item:
- material: WOOL
- quantity: 1
- damage: 0
- name: "&e&nUld&e Shop"
- lore:
- - "&7"
- - "&7Køb &6uld"
- - "&6farver &7i denne shop"
- - "&7"
- - "&eKlik for at åben: &7/Shop wool"
- shop: "wool"
- slot: 23
- 3:
- item:
- material: GOLD_INGOT
- quantity: 1
- damage: 0
- name: "&e&nOre&e Shop"
- lore:
- - "&7"
- - "&7Køb &6mineral blocks,"
- - "&6ingots og minerals &7i denne shop"
- - "&7"
- - "&eKlik for at åben: &7/Shop ores"
- shop: "ores"
- slot: 12
- 4:
- item:
- material: 383
- quantity: 1
- damage: 1
- name: "&e&nMob Æg&e Shop"
- lore:
- - "&7"
- - "&7Køb &6mob æg"
- - "&7i denne shop"
- - "&7"
- - "&eKlik for at åben: &7/Shop eggs"
- shop: "eggs"
- slot: 13
- 5:
- item:
- material: RAW_FISH
- quantity: 1
- name: "&e&nMad&e Shop"
- lore:
- - "&7"
- - "&7I denne shop kan du købe"
- - "&6mad"
- - "&7"
- - "&eKlik for at åben: &7/Shop food"
- shop: "food"
- slot: 14
- 6:
- item:
- material: WHEAT
- quantity: 1
- name: "&e&nFarming&e Shop"
- lore:
- - "&7"
- - "&7Køb &6frø"
- - "&6og farming materialer&7 i denne shop"
- - "&7"
- - "&eKlik for at åben: &7/Shop farming"
- shop: "farming"
- slot: 15
- 7:
- item:
- material: CHEST
- quantity: 1
- name: "&e&nMisc&e Shop"
- lore:
- - "&7"
- - "&7Denne shop har alle de items,"
- - "&7som ikke er i de andre shoppe"
- - "&7"
- - "&eKlik for at åben: &7/Shop misc"
- shop: "misc"
- slot: 21
- 8:
- item:
- material: STAINED_GLASS_PANE
- quantity: 1
- name: "&e&nGlas&e Shop"
- lore:
- - "&7"
- - "&7Denne shop har glas"
- - "&7farver"
- - "&7"
- - "&eKlik for at åben: &7/Shop glass"
- shop: "glass"
- slot: 22
- 9:
- item:
- material: CLAY
- quantity: 1
- name: "&e&nLer&e Shop"
- lore:
- - "&7"
- - "&7Denne shop har ler"
- - "&7farver"
- - "&7"
- - "&eKlik for at åben: &7/Shop clay"
- shop: "clay"
- slot: 20
- 10:
- item:
- material: REDSTONE
- quantity: 1
- name: "&e&nRedstone&e Shop"
- lore:
- - "&7"
- - "&7Denne shop har redstone"
- - "&7materialer"
- - "&7"
- - "&eKlik for at åben: &7/Shop redstone"
- shop: "redstone"
- slot: 24
- 11:
- item:
- material: IRON_AXE
- quantity: 1
- name: "&e&nTool&e Shop"
- lore:
- - "&7"
- - "&7Denne shop har tools"
- - "&7materialer"
- - "&7"
- - "&eKlik for at åben: &7/Shop tools"
- shop: "tools"
- slot: 31
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement