Guest User

Untitled

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