Guest User

Untitled

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