Guest User

Untitled

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