Advertisement
Guest User

Untitled

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