Advertisement
Guest User

Untitled

a guest
Jan 13th, 2020
10,740
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 17.72 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.
  19. #  Supported economies:
  20. #  - EXP (default Minecraft experience points)
  21. #  - VAULT (requires http://dev.bukkit.org/bukkit-plugins/vault/)
  22. #  - MYSQL_TOKENS (requires https://www.spigotmc.org/resources/mysql-tokens.7535/)
  23. #  - PLAYER_POINTS (requires https://dev.bukkit.org/projects/playerpoints)
  24. #  - TOKEN_MANAGER (requires https://www.spigotmc.org/resources/tokenmanager.8610/)
  25. economyType: VAULT
  26. # Name of the main GUI
  27. shopMenuName: "&3&lShop menu"
  28. # Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  29. shopMenuSize: 45
  30. # Choose an item to fill the empty slots of menu with
  31. shopMenuFillItem:
  32.   material: BLACK_STAINED_GLASS_PANE
  33.   name: " "
  34. # Define whether selling all with middle mouse button is enabled
  35. enableSellAll: true
  36. # Define whether the buy GUI with option to select quantity is enabled
  37. enableBuyGUI: true
  38. # Define whether the sell GUI with option to select quantity is enabled
  39. enableSellGUI: true
  40. # Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  41. enableSellGUISellAll: true
  42. # Define whether after closing/buying/selling the shop GUI should be opened again
  43. returnToShop: true
  44. # Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  45. quickBuySell: false
  46. # Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  47. hideBuyPriceForUnbuyable: true
  48. # Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  49. hideSellPriceForUnsellable: true
  50. # Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  51. invertBuySell: false
  52. # Maximum amount of enchantments players can add to an item, set to -1 for no limit
  53. maxEnchantments: 3
  54. # 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)
  55. limitEnchantmentLevelDiff: false
  56. # Define whether the amount selection double click bug fix should be enabled
  57. enableAmountSelectionFix: true
  58. # 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)
  59. allowAllSellAllStackSizes: false
  60. # 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)
  61. roundPrices: none
  62. # 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.
  63. disableMainMenu: false
  64. # Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  65. useDifferentMessagesForFreeItems: true
  66. # Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
  67. capitalizeItemNames: true
  68. # Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  69. priceModifiersType: BOTH
  70. # Choose if the gui shall be closed after using the Sell All feature
  71. closeGuiAfterSellAll: false
  72. # 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)
  73. openBulkGuiImmediately: false
  74. # Define whether max stack sizes will be native to minecraft defaults (true - Minecraft default stack sizes will be enforced)
  75. enforceDefaultStackSize: false
  76. # 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
  77. # Format is same as for regular items in shops.yml
  78. itemStackSizeCappedAt:
  79.   1:
  80.     material: ENDER_PEARL
  81.     size: 16
  82.   2:
  83.     material: SNOWBALL
  84.     size: 16
  85.   3:
  86.     material: EGG
  87.     size: 16
  88.   4:
  89.     material: BUCKET
  90.     size: 1
  91. # Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  92. disableShopsInGamemodes:
  93.  - ADVENTURE
  94.   - CREATIVE
  95.   - SPECTATOR
  96. # Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  97. disableShopsInWorlds: []
  98.  
  99. # 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
  100. displayPriceModifiersInPercents: true
  101.  
  102. # Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  103. disableSudoWorldPermissionCheck: false
  104.  
  105. # Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  106. disableSudoShopPermissionCheck: false
  107.  
  108. # Choose sounds for certain GUI actions. Full list is available at https://wiki.brcdev.net/Sounds
  109. sounds:
  110.   MAIN_MENU_OPEN: UI_BUTTON_CLICK
  111.   SHOP_OPEN: UI_BUTTON_CLICK
  112.   SHOP_SELECT_ITEM: UI_BUTTON_CLICK
  113.   SHOP_SWITCH_PAGE: ITEM_BOOK_PAGE_TURN
  114.   SELL_ITEM: ENTITY_EXPERIENCE_ORB_PICKUP
  115.   SELL_ALL_ITEM: ENTITY_EXPERIENCE_ORB_PICKUP
  116.   BUY_ITEM: ENTITY_EXPERIENCE_ORB_PICKUP
  117.  
  118. # Choose predefined settings for all items (will be overriden when set explicitly for an item in shops.yml)
  119. defaultItemSettings:
  120.  # Choose whether item meta (name, lore etc.) should be compared when players attempt to sell an item
  121.   compareMeta: false
  122.   # Choose whether item meta should be removed from an item when it's purchased by a player from the shop
  123.   stripItemMeta: false
  124.  
  125. # Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  126. shopItemLoreFormat:
  127.  # This lore will be applied to items
  128.   item:
  129.     - "&7Buy price: &c%buy%$"
  130.     - "&7Sell price: &a%sell%$"
  131.     - "&9Click with MMB to sell all"
  132.   # This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  133.   itemBuyGUI:
  134.     - "&7Buy price: &c%buy%$"
  135.   # This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  136.   itemSellGUI:
  137.     - "&7Sell price: &a%sell%$"
  138.   # This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  139.   itemSellGUISellAll:
  140.     - "&7Sell all for: &a%sell%$"
  141.   # This one to permissions
  142.   permission:
  143.     - "&7Buy price: &c%buy%$"
  144.   # And this one to enchantments
  145.   enchantment:
  146.     - "&7Buy price: &c%buy%$"
  147.   # And the last one to commands
  148.   command:
  149.     - "&7Buy price: &c%buy%$"
  150.  
  151. # Logging settings
  152. log:
  153.  # Define whether transactions will be logged to the console/main server log
  154.   toConsole: true
  155.   # Define whether transactions will be logged to a separate log
  156.   toFile: false
  157.   # Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  158.   formatDate: "yyyy/MM/dd HH:mm:ss"
  159.   # Log message for bought items
  160.   formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  161.   # Log message for sold items
  162.   formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  163.   # Log message for sold all items
  164.   formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  165.  
  166. # Sell hand command settings
  167. sellHand:
  168.  # When set to true, players will be able to sell any quantity of the item (the price will be calculated from the base price)
  169.   allowAllQuantities: true
  170.   # When set to true, /sell hand will work same way as /sell handall does
  171.   sellsAllItems: false
  172.   # When set to true, free items (with sell price of $0) will be excluded from being sold using /sell hand and /sell handall
  173.   excludeFreeItems: true
  174.  
  175. # Sell all command settings
  176. sellAll:
  177.  # When set to true, players will get a detailed summary with prices of each item stack sold
  178.   detailedSummary: false
  179.   # Choose if maximal sell price of an item across all shops should be chosen in sell all. Enabling this may affect sell command performance when having lots of shops/items
  180.   findMaxSellPrice: true
  181.   # When set to true, free items (with sell price of $0) will be excluded from being sold using /sell all
  182.   excludeFreeItems: true
  183.  
  184. buttons:
  185.  # "Go back button"
  186.   goBack:
  187.     item:
  188.      # Material name, full list can be found here: http://wiki.brcdev.net/Materials
  189.       material: BARRIER
  190.       # Amount of the item
  191.       amount: 1
  192.       # (optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  193.       damage: 0
  194.       # (optional) Custom name
  195.       name: "&c&lGo back to categories"
  196.       # (optional) Lore, can contain multiple lines
  197.       lore:
  198.        - "&7Click here to return"
  199.         - "&7to the main menu"
  200.     # Slot in each shop's GUI
  201.     slot: 49
  202.   # "Previous page" button
  203.   previousPage:
  204.     item:
  205.       material: PAPER
  206.       quantity: 1
  207.       name: "&e&lPrevious page"
  208.     slot: 48
  209.   # "Next page" button
  210.   nextPage:
  211.     item:
  212.       material: PAPER
  213.       quantity: 1
  214.       name: "&e&lNext page"
  215.     slot: 50
  216.  
  217. # Elements of the bulk buy GUI
  218. amountSelectionGUIBulkBuy:
  219.  # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  220.   size: 18
  221.   # Choose if buttons type should be replaced with the bought item's type
  222.   replaceButtonsType: true
  223.   # Buttons
  224.   buttons:
  225.    # "Buy 1 stack" button
  226.     buy1:
  227.       item:
  228.         material: CHEST
  229.         quantity: 1
  230.         name: "&aBuy 1 stack"
  231.         lore:
  232.           - "&7Price: &c%buy%$"
  233.       # Value indicated the amount of stacks
  234.       value: 1
  235.       slot: 0
  236.     # "Buy 2 stacks" button
  237.     buy2:
  238.       item:
  239.         material: CHEST
  240.         quantity: 2
  241.         name: "&aBuy 2 stacks"
  242.         lore:
  243.           - "&7Price: &c%buy%$"
  244.       value: 2
  245.       slot: 1
  246.     # "Buy 3 stacks" button
  247.     buy3:
  248.       item:
  249.         material: CHEST
  250.         quantity: 3
  251.         name: "&aBuy 3 stacks"
  252.         lore:
  253.           - "&7Price: &c%buy%$"
  254.       value: 3
  255.       slot: 2
  256.     # "Buy 4 stacks" button
  257.     buy4:
  258.       item:
  259.         material: CHEST
  260.         quantity: 4
  261.         name: "&aBuy 4 stacks"
  262.         lore:
  263.           - "&7Price: &c%buy%$"
  264.       value: 4
  265.       slot: 3
  266.     # "Buy 5 stacks" button
  267.     buy5:
  268.       item:
  269.         material: CHEST
  270.         quantity: 5
  271.         name: "&aBuy 5 stacks"
  272.         lore:
  273.           - "&7Price: &c%buy%$"
  274.       value: 5
  275.       slot: 4
  276.     # "Buy 6 stacks" button
  277.     buy6:
  278.       item:
  279.         material: CHEST
  280.         quantity: 6
  281.         name: "&aBuy 6 stacks"
  282.         lore:
  283.           - "&7Price: &c%buy%$"
  284.       value: 6
  285.       slot: 5
  286.     # "Buy 7 stacks" button
  287.     buy7:
  288.       item:
  289.         material: CHEST
  290.         quantity: 7
  291.         name: "&aBuy 7 stacks"
  292.         lore:
  293.           - "&7Price: &c%buy%$"
  294.       value: 7
  295.       slot: 6
  296.     # "Buy 8 stacks" button
  297.     buy8:
  298.       item:
  299.         material: CHEST
  300.         quantity: 8
  301.         name: "&aBuy 8 stacks"
  302.         lore:
  303.           - "&7Price: &c%buy%$"
  304.       value: 8
  305.       slot: 7
  306.     # "Buy 9 stacks" button
  307.     buy9:
  308.       item:
  309.         material: CHEST
  310.         quantity: 9
  311.         name: "&aBuy 9 stacks"
  312.         lore:
  313.           - "&7Price: &c%buy%$"
  314.       value: 9
  315.       slot: 8
  316.     # "Cancel" button
  317.     cancel:
  318.       item:
  319.         material: RED_STAINED_GLASS
  320.         quantity: 1
  321.         name: "&c&lCancel"
  322.       slot: 13
  323.  
  324. # Elements of the bulk buy GUI
  325. amountSelectionGUIBulkSell:
  326.  # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  327.   size: 18
  328.   # Choose if buttons type should be replaced with the sold item's type
  329.   replaceButtonsType: true
  330.   # Buttons
  331.   buttons:
  332.    # "Sell 1 stack" button
  333.     sell1:
  334.       item:
  335.         material: CHEST
  336.         quantity: 1
  337.         name: "&aSell 1 stack"
  338.         lore:
  339.           - "&7Price: &c%sell%$"
  340.       # Value indicated the amount of stacks
  341.       value: 1
  342.       slot: 0
  343.     # "Sell 2 stacks" button
  344.     sell2:
  345.       item:
  346.         material: CHEST
  347.         quantity: 2
  348.         name: "&aSell 2 stacks"
  349.         lore:
  350.           - "&7Price: &c%sell%$"
  351.       value: 2
  352.       slot: 1
  353.     # "Sell 3 stacks" button
  354.     sell3:
  355.       item:
  356.         material: CHEST
  357.         quantity: 3
  358.         name: "&aSell 3 stacks"
  359.         lore:
  360.           - "&7Price: &c%sell%$"
  361.       value: 3
  362.       slot: 2
  363.     # "Sell 4 stacks" button
  364.     sell4:
  365.       item:
  366.         material: CHEST
  367.         quantity: 4
  368.         name: "&aSell 4 stacks"
  369.         lore:
  370.           - "&7Price: &c%sell%$"
  371.       value: 4
  372.       slot: 3
  373.     # "Sell 5 stacks" button
  374.     sell5:
  375.       item:
  376.         material: CHEST
  377.         quantity: 5
  378.         name: "&aSell 5 stacks"
  379.         lore:
  380.           - "&7Price: &c%sell%$"
  381.       value: 5
  382.       slot: 4
  383.     # "Sell 6 stacks" button
  384.     sell6:
  385.       item:
  386.         material: CHEST
  387.         quantity: 6
  388.         name: "&aSell 6 stacks"
  389.         lore:
  390.           - "&7Price: &c%sell%$"
  391.       value: 6
  392.       slot: 5
  393.     # "Sell 7 stacks" button
  394.     sell7:
  395.       item:
  396.         material: CHEST
  397.         quantity: 7
  398.         name: "&aSell 7 stacks"
  399.         lore:
  400.           - "&7Price: &c%sell%$"
  401.       value: 7
  402.       slot: 6
  403.     # "Sell 8 stacks" button
  404.     sell8:
  405.       item:
  406.         material: CHEST
  407.         quantity: 8
  408.         name: "&aSell 8 stacks"
  409.         lore:
  410.           - "&7Price: &c%sell%$"
  411.       value: 8
  412.       slot: 7
  413.     # "Sell 9 stacks" button
  414.     sell9:
  415.       item:
  416.         material: CHEST
  417.         quantity: 9
  418.         name: "&aSell 9 stacks"
  419.         lore:
  420.           - "&7Price: &c%sell%$"
  421.       value: 9
  422.       slot: 8
  423.     # "Cancel" button
  424.     cancel:
  425.       item:
  426.         material: RED_STAINED_GLASS
  427.         quantity: 1
  428.         name: "&c&lCancel"
  429.       slot: 13
  430.  
  431. # Elements of the regular buy/sell GUI
  432. amountSelectionGUI:
  433.  # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  434.   size: 54
  435.   # Slot of the item being bought/sold
  436.   itemSlot: 22
  437.   # Buttons
  438.   buttons:
  439.    # "Set to 1" button
  440.     set1:
  441.       item:
  442.         material: RED_STAINED_GLASS_PANE
  443.         quantity: 1
  444.         name: "&c&lSet to 1"
  445.       slot: 18
  446.     # "Remove 10" button
  447.     remove10:
  448.       item:
  449.         material: RED_STAINED_GLASS_PANE
  450.         quantity: 10
  451.         name: "&c&lRemove 10"
  452.       slot: 19
  453.     # "Remove 1" button
  454.     remove1:
  455.       item:
  456.         material: RED_STAINED_GLASS_PANE
  457.         quantity: 1
  458.         name: "&c&lRemove 1"
  459.       slot: 20
  460.     # "Add 1" button
  461.     add1:
  462.       item:
  463.         material: LIME_STAINED_GLASS_PANE
  464.         quantity: 1
  465.         name: "&a&lAdd 1"
  466.       slot: 24
  467.     # "Add 10" button
  468.     add10:
  469.       item:
  470.         material: LIME_STAINED_GLASS_PANE
  471.         quantity: 10
  472.         name: "&a&lAdd 10"
  473.       slot: 25
  474.     # "Set to 16" button
  475.     set16:
  476.       item:
  477.         material: LIME_STAINED_GLASS_PANE
  478.         quantity: 16
  479.         name: "&a&lSet to 16"
  480.       slot: 26
  481.     # "Set to 64" button
  482.     set64:
  483.       item:
  484.         material: LIME_STAINED_GLASS_PANE
  485.         quantity: 64
  486.         name: "&a&lSet to 64"
  487.       slot: 26
  488.     # "Confirm" button
  489.     confirm:
  490.       item:
  491.         material: LIME_STAINED_GLASS
  492.         quantity: 1
  493.         name: "&a&lConfirm"
  494.       slot: 39
  495.     # "Sell all" button
  496.     sellAll:
  497.       item:
  498.         material: LIME_STAINED_GLASS
  499.         quantity: 1
  500.         name: "&a&lSell all"
  501.       slot: 40
  502.     # "Buy more" button
  503.     buyMore:
  504.       item:
  505.         material: LIME_STAINED_GLASS
  506.         quantity: 64
  507.         name: "&a&lBuy more"
  508.       slot: 49
  509.     # "Sell more" button
  510.     sellMore:
  511.       item:
  512.         material: LIME_STAINED_GLASS
  513.         quantity: 64
  514.         name: "&a&lSell more"
  515.       slot: 49
  516.     # "Cancel" button
  517.     cancel:
  518.       item:
  519.         material: RED_STAINED_GLASS
  520.         quantity: 1
  521.         name: "&c&lCancel"
  522.       slot: 41
  523.  
  524. shopMenuItems:
  525.  # Has to be unique, value doesn't matter
  526.   1:
  527.     item:
  528.      # The same rules apply for material, amount, damage and lore as for goBackButton
  529.       material: GRASS_BLOCK
  530.       quantity: 1
  531.       name: "&9&lBlocks"
  532.     # Shop ID from shops.yml
  533.     shop: "blocks"
  534.     # Slot in shops menu, counting from 0 to 53
  535.     slot: 11
  536.   2:
  537.     item:
  538.       material: COOKED_CHICKEN
  539.       quantity: 1
  540.       damage: 0
  541.       name: "&2&lFood"
  542.       lore:
  543.        - "&7Get some yummy food here!"
  544.     shop: "food"
  545.     slot: 12
  546.   3:
  547.     item:
  548.       material: GOLD_INGOT
  549.       quantity: 1
  550.       damage: 0
  551.       name: "&3&lOres"
  552.     shop: "ores"
  553.     slot: 13
  554.   4:
  555.     item:
  556.       material: IRON_PICKAXE
  557.       quantity: 1
  558.       name: "&8&lTools"
  559.     shop: "tools"
  560.     slot: 14
  561.   5:
  562.     item:
  563.       material: DIAMOND_CHESTPLATE
  564.       quantity: 1
  565.       name: "&4&lArmor"
  566.     shop: "armor"
  567.     slot: 15
  568.   6:
  569.     item:
  570.       material: WHEAT
  571.       quantity: 1
  572.       name: "&5&lFarming"
  573.     shop: "farming"
  574.     slot: 21
  575.   7:
  576.     item:
  577.       material: SPIDER_EYE
  578.       quantity: 1
  579.       name: "&9&lMob drops"
  580.     shop: "drops"
  581.     slot: 22
  582.   8:
  583.     item:
  584.       material: LIGHT_BLUE_DYE
  585.       quantity: 1
  586.       name: "&2&lDyes"
  587.     shop: "dyes"
  588.     slot: 23
  589.   9:
  590.     item:
  591.       material: SADDLE
  592.       quantity: 1
  593.       name: "&3&lMiscellanous"
  594.     shop: "miscellanous"
  595.     slot: 31
  596.  
  597.  
  598. specialElements:
  599.   balance:
  600.     item:
  601.       material: GOLD_INGOT
  602.       quantity: 1
  603.       name: "&6&lYour balance"
  604.       lore:
  605.        - "&7$%balance%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement