Advertisement
Guest User

Untitled

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