Advertisement
Guest User

Untitled

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