Advertisement
Guest User

Untitled

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