Advertisement
Guest User

Untitled

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