Advertisement
Guest User

Untitled

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