Advertisement
Guest User

Untitled

a guest
Feb 4th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 15.17 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. #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/)
  18. economyType: VAULT
  19.  
  20. #Name of the main GUI
  21. shopMenuName: "&8Shop Menu"
  22. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  23. shopMenuSize: 18
  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: false
  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: true
  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: NEAREST
  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 which items stack size should be capped at 16 inside the amount selection GUI so players can't buy eg. oversized ender pearl stacks
  61. #Format is same as for regular items in shops.yml
  62. itemStackSizeCappedAt:
  63.   1:
  64.     material: ENDER_PEARL
  65.     size: 16
  66.   2:
  67.     material: SNOW_BALL
  68.     size: 16
  69.   3:
  70.     material: SIGN
  71.     size: 16
  72.   4:
  73.     material: EGG
  74.     size: 16
  75.   5:
  76.     material: BUCKET
  77.     size: 1
  78. #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  79. disableShopsInGamemodes:
  80.  - ADVENTURE
  81.   - CREATIVE
  82.   - SPECTATOR
  83. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  84. disableShopsInWorlds: []
  85.  
  86. #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
  87. displayPriceModifiersInPercents: true
  88. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  89. disableSudoWorldPermissionCheck: false
  90. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  91. disableSudoShopPermissionCheck: false
  92. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  93. shopItemLoreFormat:
  94.  #This lore will be applied to items
  95.   item:
  96.     - "&fBuy price: &b$%buy%"
  97.     - "&fSell price: &b$%sell%"
  98.     - "&7Click w/MMB to sell all"
  99.   #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  100.   itemBuyGUI:
  101.     - "&7Buy price: &6$%buy%"
  102.   #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  103.   itemSellGUI:
  104.     - "&7Sell price: &6$%sell%"
  105.   #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  106.   itemSellGUISellAll:
  107.     - "&7Sell all for: &6$%sell%"
  108.   #This one to permissions
  109.   permission:
  110.     - "&7Buy price: &6$%buy%"
  111.   #And this one to enchantments
  112.   enchantment:
  113.     - "&7Buy price: &6$%buy%"
  114.   #And the last one to commands
  115.   command:
  116.     - "&7Buy price: &6$%buy%"
  117.  
  118. #Logging settings
  119. log:
  120.  #Define whether transactions will be logged to the console/main server log
  121.   toConsole: false
  122.   #Define whether transactions will be logged to a separate log
  123.   toFile: true
  124.   #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  125.   formatDate: "yyyy/MM/dd HH:mm:ss"
  126.   #Log message for bought items
  127.   formatBuy: "%player% -$ %amount% x %item% @ $%price% from %shop%"
  128.   #Log message for sold items
  129.   formatSell: "%player% +$ %amount% x %item% @ %price%$ to %shop%"
  130.   #Log message for sold all items
  131.   formatSellAll: "%player% +$$ %amount% x %item% @ %price%$ to %shop% shop"
  132.  
  133. buttons:
  134.  #"Go back button"
  135.   goBack:
  136.     item:
  137.      #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  138.       material: FEATHER
  139.       #Amount of the item
  140.       amount: 1
  141.       #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  142.       damage: 0
  143.       #(optional) Custom name
  144.       name: "&cBack to categories"
  145.       #(optional) Lore, can contain multiple lines
  146.       lore:
  147.         - "&aClick here to return to the main menu"
  148.     #Slot in each shop's GUI
  149.     slot: 49
  150.   #"Previous page" button
  151.   previousPage:
  152.     item:
  153.       material: PAPER
  154.       quantity: 1
  155.       name: "&cPrevious page"
  156.     slot: 45
  157.   #"Next page" button
  158.   nextPage:
  159.     item:
  160.       material: PAPER
  161.       quantity: 1
  162.       name: "&cNext page"
  163.     slot: 53
  164.  
  165. #Elements of the bulk buy GUI
  166. amountSelectionGUIBulkBuy:
  167.  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  168.   size: 9
  169.   #Choose if buttons type should be replaced with the bought item's type
  170.   replaceButtonsType: true
  171.   #Buttons
  172.   buttons:
  173.    #"Buy 1 stack" button
  174.     buy1:
  175.      #When no material is specified it will be the type of the item being bought
  176.       item:
  177.         quantity: 1
  178.         name: "&aBuy 1 stack"
  179.         lore:
  180.           - "&7Price: &c%buy%$"
  181.       #Value indicated the amount of stacks
  182.       value: 1
  183.       slot: 0
  184.     #"Buy 2 stacks" button
  185.     buy2:
  186.       item:
  187.         quantity: 2
  188.         name: "&aBuy 2 stacks"
  189.         lore:
  190.           - "&7Price: &c%buy%$"
  191.       value: 2
  192.       slot: 1
  193.     #"Buy 3 stacks" button
  194.     buy3:
  195.       item:
  196.         quantity: 3
  197.         name: "&aBuy 3 stacks"
  198.         lore:
  199.           - "&7Price: &c%buy%$"
  200.       value: 3
  201.       slot: 2
  202.     #"Buy 4 stacks" button
  203.     buy4:
  204.       item:
  205.         quantity: 4
  206.         name: "&aBuy 4 stacks"
  207.         lore:
  208.           - "&7Price: &c%buy%$"
  209.       value: 4
  210.       slot: 3
  211.     #"Buy 5 stacks" button
  212.     buy5:
  213.       item:
  214.         quantity: 5
  215.         name: "&aBuy 5 stacks"
  216.         lore:
  217.           - "&7Price: &c%buy%$"
  218.       value: 5
  219.       slot: 4
  220.     #"Buy 6 stacks" button
  221.     buy6:
  222.       item:
  223.         quantity: 6
  224.         name: "&aBuy 6 stacks"
  225.         lore:
  226.           - "&7Price: &c%buy%$"
  227.       value: 6
  228.       slot: 5
  229.     #"Buy 7 stacks" button
  230.     buy7:
  231.       item:
  232.         quantity: 7
  233.         name: "&aBuy 7 stacks"
  234.         lore:
  235.           - "&7Price: &c%buy%$"
  236.       value: 7
  237.       slot: 6
  238.     #"Buy 8 stacks" button
  239.     buy8:
  240.       item:
  241.         quantity: 8
  242.         name: "&aBuy 8 stacks"
  243.         lore:
  244.           - "&7Price: &c%buy%$"
  245.       value: 8
  246.       slot: 7
  247.     #"Buy 9 stacks" button
  248.     buy9:
  249.       item:
  250.         quantity: 9
  251.         name: "&aBuy 9 stacks"
  252.         lore:
  253.           - "&7Price: &c%buy%$"
  254.       value: 9
  255.       slot: 8
  256.      
  257. #Elements of the bulk buy GUI
  258. amountSelectionGUIBulkSell:
  259.  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  260.   size: 9
  261.   #Choose if buttons type should be replaced with the sold item's type
  262.   replaceButtonsType: true
  263.   #Buttons
  264.   buttons:
  265.    #"Sell 1 stack" button
  266.     sell1:
  267.      #When no material is specified it will be the type of the item being bought
  268.       item:
  269.         quantity: 1
  270.         name: "&aSell 1 stack"
  271.         lore:
  272.           - "&7Price: &c%sell%$"
  273.       #Value indicated the amount of stacks
  274.       value: 1
  275.       slot: 0
  276.     #"Sell 2 stacks" button
  277.     sell2:
  278.       item:
  279.         quantity: 2
  280.         name: "&aSell 2 stacks"
  281.         lore:
  282.           - "&7Price: &c%sell%$"
  283.       value: 2
  284.       slot: 1
  285.     #"Sell 3 stacks" button
  286.     sell3:
  287.       item:
  288.         quantity: 3
  289.         name: "&aSell 3 stacks"
  290.         lore:
  291.           - "&7Price: &c%sell%$"
  292.       value: 3
  293.       slot: 2
  294.     #"Sell 4 stacks" button
  295.     sell4:
  296.       item:
  297.         quantity: 4
  298.         name: "&aSell 4 stacks"
  299.         lore:
  300.           - "&7Price: &c%sell%$"
  301.       value: 4
  302.       slot: 3
  303.     #"Sell 5 stacks" button
  304.     sell5:
  305.       item:
  306.         quantity: 5
  307.         name: "&aSell 5 stacks"
  308.         lore:
  309.           - "&7Price: &c%sell%$"
  310.       value: 5
  311.       slot: 4
  312.     #"Sell 6 stacks" button
  313.     sell6:
  314.       item:
  315.         quantity: 6
  316.         name: "&aSell 6 stacks"
  317.         lore:
  318.           - "&7Price: &c%sell%$"
  319.       value: 6
  320.       slot: 5
  321.     #"Sell 7 stacks" button
  322.     sell7:
  323.       item:
  324.         quantity: 7
  325.         name: "&aSell 7 stacks"
  326.         lore:
  327.           - "&7Price: &c%sell%$"
  328.       value: 7
  329.       slot: 6
  330.     #"Sell 8 stacks" button
  331.     sell8:
  332.       item:
  333.         quantity: 8
  334.         name: "&aSell 8 stacks"
  335.         lore:
  336.           - "&7Price: &c%sell%$"
  337.       value: 8
  338.       slot: 7
  339.     #"Sell 9 stacks" button
  340.     sell9:
  341.       item:
  342.         quantity: 9
  343.         name: "&aSell 9 stacks"
  344.         lore:
  345.           - "&7Price: &c%sell%$"
  346.       value: 9
  347.       slot: 8
  348.      
  349. #Elements of the regular buy/sell GUI
  350. amountSelectionGUI:
  351.  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  352.   size: 54
  353.   #Slot of the item being bought/sold
  354.   itemSlot: 22
  355.   #Buttons
  356.   buttons:
  357.    #"Set to 1" button
  358.     set1:
  359.       item:
  360.         material: STAINED_GLASS_PANE
  361.         quantity: 1
  362.         damage: 14
  363.         name: "&c&lSet to 1"
  364.       slot: 18
  365.     #"Remove 10" button
  366.     remove10:
  367.       item:
  368.         material: STAINED_GLASS_PANE
  369.         quantity: 10
  370.         damage: 14
  371.         name: "&c&lRemove 10"
  372.       slot: 19
  373.     #"Remove 1" button
  374.     remove1:
  375.       item:
  376.         material: STAINED_GLASS_PANE
  377.         quantity: 1
  378.         damage: 14
  379.         name: "&c&lRemove 1"
  380.       slot: 20
  381.     #"Add 1" button
  382.     add1:
  383.       item:
  384.         material: STAINED_GLASS_PANE
  385.         quantity: 1
  386.         damage: 5
  387.         name: "&a&lAdd 1"
  388.       slot: 24
  389.     #"Add 10" button
  390.     add10:
  391.       item:
  392.         material: STAINED_GLASS_PANE
  393.         quantity: 10
  394.         damage: 5
  395.         name: "&a&lAdd 10"
  396.       slot: 25
  397.     #"Set to 16" button
  398.     set16:
  399.       item:
  400.         material: STAINED_GLASS_PANE
  401.         quantity: 16
  402.         damage: 5
  403.         name: "&a&lSet to 16"
  404.       slot: 26
  405.     #"Set to 64" button
  406.     set64:
  407.       item:
  408.         material: STAINED_GLASS_PANE
  409.         quantity: 64
  410.         damage: 5
  411.         name: "&a&lSet to 64"
  412.       slot: 26
  413.     #"Confirm" button
  414.     confirm:
  415.       item:
  416.         material: STAINED_GLASS
  417.         quantity: 1
  418.         damage: 5
  419.         name: "&a&lConfirm"  
  420.       slot: 39
  421.     #"Sell all" button
  422.     sellAll:
  423.       item:
  424.         material: STAINED_GLASS
  425.         quantity: 1
  426.         damage: 5
  427.         name: "&a&lSell all"      
  428.       slot: 40
  429.     #"Buy more" button
  430.     buyMore:
  431.       item:
  432.         material: STAINED_GLASS
  433.         quantity: 64
  434.         damage: 5
  435.         name: "&a&lBuy more"      
  436.       slot: 49
  437.     #"Sell more" button
  438.     sellMore:
  439.       item:
  440.         material: STAINED_GLASS
  441.         quantity: 64
  442.         damage: 5
  443.         name: "&a&lSell more"      
  444.       slot: 49
  445.     #"Cancel" button      
  446.     cancel:
  447.       item:
  448.         material: STAINED_GLASS
  449.         quantity: 1
  450.         damage: 14
  451.         name: "&c&lCancel"  
  452.       slot: 41
  453.  
  454. shopMenuItems:
  455.  #Has to be unique, value doesn't matter
  456.   1:
  457.     item:
  458.      #The same rules apply for material, amount, damage and lore as for goBackButton
  459.       material: WOOD
  460.       quantity: 1
  461.       damage: 0
  462.       name: "&bBuilding Blocks"
  463.     #Shop ID from shops.yml
  464.     shop: "blocks"
  465.     #Slot in shops menu, counting from 0 to 53
  466.     slot: 0
  467.   2:
  468.     item:
  469.       material: COOKED_CHICKEN
  470.       quantity: 1
  471.       damage: 0
  472.       name: "&2&lFood"
  473.     shop: "food"
  474.     slot: 1
  475.   3:
  476.     item:
  477.       material: IRON_PICKAXE
  478.       quantity: 1
  479.       name: "&8&lTools"
  480.     shop: "tools"
  481.     slot: 2
  482.   4:
  483.     item:
  484.       material: DIAMOND_CHESTPLATE
  485.       quantity: 1
  486.       name: "&4&lArmor"
  487.     shop: "armor"
  488.     slot: 3
  489.   5:
  490.     item:
  491.       material: REDSTONE
  492.       quantity: 1
  493.       damage: 0
  494.       name: "&cRedstone Items"
  495.     shop: "redstone"
  496.     slot: 4
  497.   6:
  498.     item:
  499.       material: SAPLING
  500.       quantity: 1
  501.       damage: 0
  502.       name: "&aNature Items"
  503.     shop: "nature"
  504.     slot: 5
  505.   7:
  506.     item:
  507.       material: SKULL_ITEM
  508.       quantity: 1
  509.       damage: 4
  510.       name: "&eMiscellaneous Items"
  511.     shop: "misc"
  512.     slot: 6
  513.   8:
  514.     item:
  515.       material: WOOL
  516.       quantity: 1
  517.       name: "&dColors"
  518.     shop: "colors"
  519.     slot: 7
  520.   9:
  521.     item:
  522.       material: ROTTEN_FLESH
  523.       quantity: 1
  524.       name: "&4Mob Drops"
  525.     shop: "drops"
  526.     slot: 8
  527.   10:
  528.     item:
  529.       material: DIAMOND
  530.       quantity: 1
  531.       name: "&bMinerals"
  532.     shop: "minerals"
  533.     slot: 9
  534.   11:
  535.     item:
  536.       material: MOB_SPAWNER
  537.       quantity: 1
  538.       name: "&8Spawners"
  539.     shop: "spawners"
  540.     slot: 10
  541.   12:
  542.     item:
  543.       material: EMERALD
  544.       quantity: 1
  545.       name: "&9&lDonator Shop"
  546.     shop: "donor"
  547.     slot: 11
  548.  
  549. specialElements:
  550.   balance:
  551.     item:
  552.       material: GOLD_NUGGET
  553.       quantity: 1
  554.       name: "&6&lYour balance"
  555.       lore:
  556.        - "&7$%balance%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement