Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 15.20 KB | None | 0 0
  1. database:
  2.  #Database backend type, can be set to mysql or sqlite
  3.   type: sqlite
  4.   #MySQL database host
  5.   mySQLHost: localhost
  6.   #MySQL connection port number
  7.   mySQLPort: 3306
  8.   #MySQL database name
  9.   mySQLDatabase: db
  10.   #MySQL database user
  11.   mySQLUser: root
  12.   #MySQL user's password
  13.   mySQLPassword: ""
  14.   #MySQL table names
  15.   tableNames:
  16.     players: "players"
  17.  
  18. #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/)
  19. economyType: VAULT
  20. #Name of the main GUI
  21. shopMenuName: "&6&lBada&e&lShop"
  22. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  23. shopMenuSize: 9
  24. #Define whether selling all with middle mouse button is enabled
  25. enableSellAll: true
  26. #Define whether the buy GUI with option to select quantity is enabled
  27. enableBuyGUI: true
  28. #Define whether the sell GUI with option to select quantity is enabled
  29. enableSellGUI: true
  30. #Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  31. enableSellGUISellAll: true
  32. #Define whether after closing/buying/selling the shop GUI should be opened again
  33. returnToShop: true
  34. #Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  35. quickBuySell: true
  36. #Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  37. hideBuyPriceForUnbuyable: true
  38. #Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  39. hideSellPriceForUnsellable: true
  40. #Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  41. invertBuySell: false
  42. #Maximum amount of enchantments players can add to an item, set to -1 for no limit
  43. maxEnchantments: 3
  44. #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)
  45. limitEnchantmentLevelDiff: false
  46. #Define whether the amount selection double click bug fix should be enabled
  47. enableAmountSelectionFix: true
  48. #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)
  49. allowAllSellAllStackSizes: false
  50. #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)
  51. roundPrices: none
  52. #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.
  53. disableMainMenu: false
  54. #Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  55. useDifferentMessagesForFreeItems: true
  56. #Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
  57. capitalizeItemNames: true
  58. #Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  59. priceModifiersType: BOTH
  60. #Choose if the gui shall be closed after using the Sell All feature
  61. closeGuiAfterSellAll: false
  62. #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
  63. #Format is same as for regular items in shops.yml
  64. itemStackSizeCappedAt:
  65.   1:
  66.     material: ENDER_PEARL
  67.     size: 16
  68.   2:
  69.     material: SNOW_BALL
  70.     size: 16
  71.   3:
  72.     material: SIGN
  73.     size: 16
  74.   4:
  75.     material: EGG
  76.     size: 16
  77.   5:
  78.     material: BUCKET
  79.     size: 1
  80. #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  81. disableShopsInGamemodes:
  82.  - ADVENTURE
  83.   - CREATIVE
  84.   - SPECTATOR
  85. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  86. disableShopsInWorlds: []
  87.  
  88. #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
  89. displayPriceModifiersInPercents: true
  90.  
  91. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  92. disableSudoWorldPermissionCheck: false
  93.  
  94. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  95. disableSudoShopPermissionCheck: false
  96.  
  97. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  98. shopItemLoreFormat:
  99.  #This lore will be applied to items
  100.   item:
  101.     - "&aBuy: &f$%buy% &7(Left Click)"
  102.    - "&aSell: &f$%sell% &7(Right Click)"
  103.    - "&eMouse Middle Click To Sell All"
  104.  #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  105.  itemBuyGUI:
  106.    - "&aBuy: &f%buy% "  
  107.  #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  108.  itemSellGUI:
  109.    - "&7Sell price: &c%sell%$"
  110.   #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  111.   itemSellGUISellAll:
  112.     - "&7Sell all for: &c%sell%$"
  113.   #This one to permissions
  114.   permission:
  115.     - "&7Buy price: &a%buy%$"
  116.   #And this one to enchantments
  117.   enchantment:
  118.     - "&7Buy price: &a%buy%$"
  119.   #And the last one to commands
  120.   command:
  121.     - "&7Buy price: &a%buy%$"
  122.  
  123. #Logging settings
  124. log:
  125.  #Define whether transactions will be logged to the console/main server log
  126.   toConsole: true
  127.   #Define whether transactions will be logged to a separate log
  128.   toFile: false
  129.   #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  130.   formatDate: "yyyy/MM/dd HH:mm:ss"
  131.   #Log message for bought items
  132.   formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  133.   #Log message for sold items
  134.   formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  135.   #Log message for sold all items
  136.   formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  137.  
  138. buttons:
  139.  #"Go back button"
  140.   goBack:
  141.     item:
  142.      #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  143.       material: PAPER
  144.       #Amount of the item
  145.       amount: 1
  146.       #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  147.       damage: 0
  148.       #(optional) Custom name
  149.       name: "&b&lā†’ Main Menu ā†"
  150.       #(optional) Lore, can contain multiple lines
  151.     #Slot in each shop's GUI
  152.     slot: 49
  153.   #"Previous page" button
  154.   previousPage:
  155.     item:
  156.       material: PAPER
  157.       quantity: 1
  158.       name: "&b&lPrevious page"
  159.     slot: 45
  160.   #"Next page" button
  161.   nextPage:
  162.     item:
  163.       material: PAPER
  164.       quantity: 1
  165.       name: "&b&lNext page"
  166.     slot: 53
  167.  
  168. #Elements of the bulk buy GUI
  169. amountSelectionGUIBulkBuy:
  170.  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  171.   size: 18
  172.   #Choose if buttons type should be replaced with the bought item's type
  173.   replaceButtonsType: true
  174.   #Buttons
  175.   buttons:
  176.    #"Buy 1 stack" button
  177.     buy1:
  178.      #When no material is specified it will be the type of the item being bought
  179.       item:
  180.         quantity: 1
  181.         name: "&aBuy 1 stack"
  182.         lore:
  183.           - "&7Price: &c%buy%$"
  184.       #Value indicated the amount of stacks
  185.       value: 1
  186.       slot: 0
  187.     #"Buy 2 stacks" button
  188.     buy2:
  189.       item:
  190.         quantity: 2
  191.         name: "&aBuy 2 stacks"
  192.         lore:
  193.           - "&7Price: &c%buy%$"
  194.       value: 2
  195.       slot: 1
  196.     #"Buy 3 stacks" button
  197.     buy3:
  198.       item:
  199.         quantity: 3
  200.         name: "&aBuy 3 stacks"
  201.         lore:
  202.           - "&7Price: &c%buy%$"
  203.       value: 3
  204.       slot: 2
  205.     #"Buy 4 stacks" button
  206.     buy4:
  207.       item:
  208.         quantity: 4
  209.         name: "&aBuy 4 stacks"
  210.         lore:
  211.           - "&7Price: &c%buy%$"
  212.       value: 4
  213.       slot: 3
  214.     #"Buy 5 stacks" button
  215.     buy5:
  216.       item:
  217.         quantity: 5
  218.         name: "&aBuy 5 stacks"
  219.         lore:
  220.           - "&7Price: &c%buy%$"
  221.       value: 5
  222.       slot: 4
  223.     #"Buy 6 stacks" button
  224.     buy6:
  225.       item:
  226.         quantity: 6
  227.         name: "&aBuy 6 stacks"
  228.         lore:
  229.           - "&7Price: &c%buy%$"
  230.       value: 6
  231.       slot: 5
  232.     #"Buy 7 stacks" button
  233.     buy7:
  234.       item:
  235.         quantity: 7
  236.         name: "&aBuy 7 stacks"
  237.         lore:
  238.           - "&7Price: &c%buy%$"
  239.       value: 7
  240.       slot: 6
  241.     #"Buy 8 stacks" button
  242.     buy8:
  243.       item:
  244.         quantity: 8
  245.         name: "&aBuy 8 stacks"
  246.         lore:
  247.           - "&7Price: &c%buy%$"
  248.       value: 8
  249.       slot: 7
  250.     #"Buy 9 stacks" button
  251.     buy9:
  252.       item:
  253.         quantity: 9
  254.         name: "&aBuy 9 stacks"
  255.         lore:
  256.           - "&7Price: &c%buy%$"
  257.       value: 9
  258.       slot: 8
  259.     #"Cancel" button
  260.     cancel:
  261.       item:
  262.         material: STAINED_GLASS
  263.         quantity: 1
  264.         damage: 14
  265.         name: "&c&lCancel"
  266.       slot: 13
  267.      
  268. #Elements of the bulk buy GUI
  269. amountSelectionGUIBulkSell:
  270.  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  271.   size: 18
  272.   #Choose if buttons type should be replaced with the sold item's type
  273.   replaceButtonsType: true
  274.   #Buttons
  275.   buttons:
  276.    #"Sell 1 stack" button
  277.     sell1:
  278.      #When no material is specified it will be the type of the item being bought
  279.       item:
  280.         quantity: 1
  281.         name: "&aSell 1 stack"
  282.         lore:
  283.           - "&7Price: &c%sell%$"
  284.       #Value indicated the amount of stacks
  285.       value: 1
  286.       slot: 0
  287.     #"Sell 2 stacks" button
  288.     sell2:
  289.       item:
  290.         quantity: 2
  291.         name: "&aSell 2 stacks"
  292.         lore:
  293.           - "&7Price: &c%sell%$"
  294.       value: 2
  295.       slot: 1
  296.     #"Sell 3 stacks" button
  297.     sell3:
  298.       item:
  299.         quantity: 3
  300.         name: "&aSell 3 stacks"
  301.         lore:
  302.           - "&7Price: &c%sell%$"
  303.       value: 3
  304.       slot: 2
  305.     #"Sell 4 stacks" button
  306.     sell4:
  307.       item:
  308.         quantity: 4
  309.         name: "&aSell 4 stacks"
  310.         lore:
  311.           - "&7Price: &c%sell%$"
  312.       value: 4
  313.       slot: 3
  314.     #"Sell 5 stacks" button
  315.     sell5:
  316.       item:
  317.         quantity: 5
  318.         name: "&aSell 5 stacks"
  319.         lore:
  320.           - "&7Price: &c%sell%$"
  321.       value: 5
  322.       slot: 4
  323.     #"Sell 6 stacks" button
  324.     sell6:
  325.       item:
  326.         quantity: 6
  327.         name: "&aSell 6 stacks"
  328.         lore:
  329.           - "&7Price: &c%sell%$"
  330.       value: 6
  331.       slot: 5
  332.     #"Sell 7 stacks" button
  333.     sell7:
  334.       item:
  335.         quantity: 7
  336.         name: "&aSell 7 stacks"
  337.         lore:
  338.           - "&7Price: &c%sell%$"
  339.       value: 7
  340.       slot: 6
  341.     #"Sell 8 stacks" button
  342.     sell8:
  343.       item:
  344.         quantity: 8
  345.         name: "&aSell 8 stacks"
  346.         lore:
  347.           - "&7Price: &c%sell%$"
  348.       value: 8
  349.       slot: 7
  350.     #"Sell 9 stacks" button
  351.     sell9:
  352.       item:
  353.         quantity: 9
  354.         name: "&aSell 9 stacks"
  355.         lore:
  356.           - "&7Price: &c%sell%$"
  357.       value: 9
  358.       slot: 8
  359.     #"Cancel" button
  360.     cancel:
  361.       item:
  362.         material: STAINED_GLASS
  363.         quantity: 1
  364.         damage: 14
  365.         name: "&c&lCancel"
  366.       slot: 13
  367.  
  368. #Elements of the regular buy/sell GUI
  369. amountSelectionGUI:
  370.  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  371.   size: 54
  372.   #Slot of the item being bought/sold
  373.   itemSlot: 22
  374.   #Buttons
  375.   buttons:
  376.    #"Set to 1" button
  377.     set1:
  378.       item:
  379.         material: STAINED_GLASS_PANE
  380.         quantity: 1
  381.         damage: 14
  382.         name: "&c&lSet to 1"
  383.       slot: 18
  384.     #"Remove 10" button
  385.     remove10:
  386.       item:
  387.         material: STAINED_GLASS_PANE
  388.         quantity: 10
  389.         damage: 14
  390.         name: "&c&lRemove 10"
  391.       slot: 19
  392.     #"Remove 1" button
  393.     remove1:
  394.       item:
  395.         material: STAINED_GLASS_PANE
  396.         quantity: 1
  397.         damage: 14
  398.         name: "&c&lRemove 1"
  399.       slot: 20
  400.     #"Add 1" button
  401.     add1:
  402.       item:
  403.         material: STAINED_GLASS_PANE
  404.         quantity: 1
  405.         damage: 5
  406.         name: "&a&lAdd 1"
  407.       slot: 24
  408.     #"Add 10" button
  409.     add10:
  410.       item:
  411.         material: STAINED_GLASS_PANE
  412.         quantity: 10
  413.         damage: 5
  414.         name: "&a&lAdd 10"
  415.       slot: 25
  416.     #"Set to 16" button
  417.     set16:
  418.       item:
  419.         material: STAINED_GLASS_PANE
  420.         quantity: 16
  421.         damage: 5
  422.         name: "&a&lSet to 16"
  423.       slot: 26
  424.     #"Set to 64" button
  425.     set64:
  426.       item:
  427.         material: STAINED_GLASS_PANE
  428.         quantity: 64
  429.         damage: 5
  430.         name: "&a&lSet to 64"
  431.       slot: 26
  432.     #"Confirm" button
  433.     confirm:
  434.       item:
  435.         material: STAINED_GLASS
  436.         quantity: 1
  437.         damage: 5
  438.         name: "&a&lConfirm"  
  439.       slot: 39
  440.     #"Sell all" button
  441.     sellAll:
  442.       item:
  443.         material: STAINED_GLASS
  444.         quantity: 1
  445.         damage: 5
  446.         name: "&a&lSell all"      
  447.       slot: 40
  448.     #"Buy more" button
  449.     buyMore:
  450.       item:
  451.         material: STAINED_GLASS
  452.         quantity: 64
  453.         damage: 5
  454.         name: "&a&lBuy more"      
  455.       slot: 49
  456.     #"Sell more" button
  457.     sellMore:
  458.       item:
  459.         material: STAINED_GLASS
  460.         quantity: 64
  461.         damage: 5
  462.         name: "&a&lSell more"      
  463.       slot: 49
  464.     #"Cancel" button
  465.     cancel:
  466.       item:
  467.         material: STAINED_GLASS
  468.         quantity: 1
  469.         damage: 14
  470.         name: "&c&lCancel"
  471.       slot: 41
  472.      
  473. shopMenuItems:
  474.  #Has to be unique, value doesn't matter
  475.   1:
  476.     item:
  477.      #The same rules apply for material, amount, damage and lore as for goBackButton
  478.       material: GRASS
  479.       quantity: 1
  480.       damage: 0
  481.       name: "&b&lBuilding Blocks"
  482.     #Shop ID from shops.yml
  483.     shop: "blocks"
  484.     #Slot in shops menu, counting from 0 to 53
  485.     slot: 0
  486.   2:
  487.     item:
  488.       material: WOOL
  489.       quantity: 1
  490.       damage: 9
  491.       name: "&b&lColored Blocks"
  492.     shop: "food"
  493.     slot: 1
  494.   3:
  495.     item:
  496.       material: BREAD
  497.       quantity: 1
  498.       damage: 0
  499.       name: "&b&lFood"
  500.     shop: "ores"
  501.     slot: 2
  502.   4:
  503.     item:
  504.       material: DIAMOND
  505.       quantity: 1
  506.       name: "&b&lMinerals"
  507.     shop: "tools"
  508.     slot: 3
  509.   5:
  510.     item:
  511.       material: BEACON
  512.       quantity: 1
  513.       name: "&b&lMiscellaneous"
  514.     shop: "armor"
  515.     slot: 4
  516.   6:
  517.     item:
  518.       material: BLAZE_ROD
  519.       quantity: 1
  520.       name: "&b&lMob Drops"
  521.     shop: "farming"
  522.     slot: 5
  523.   7:
  524.     item:
  525.       material: REDSTONE
  526.       quantity: 1
  527.       name: "&B&lRedstone Items"
  528.     shop: "drops"
  529.     slot: 6
  530.   8:
  531.     item:
  532.       material: 52
  533.       quantity: 1
  534.       name: "&b&lSpawner"
  535.     shop: "miscellanous"
  536.     slot: 8
  537.   9:
  538.     item:
  539.       material: PUMPKIN
  540.       quantity: 1
  541.       damage: 12
  542.       name: "&b&lFarming"
  543.     shop: "dyes"
  544.     slot: 7
  545.  
  546.  
  547. specialElements:
  548.   balance:
  549.     item:
  550.       material: GOLD_NUGGET
  551.       quantity: 1
  552.       name: "&6&lYour balance"
  553.       lore:
  554.        - "&7$%balance%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement