Advertisement
DJRedNightMC

Untitled

Apr 2nd, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 16.50 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: 45
  30. # Choose an item to fill the empty slots of menu with
  31. shopMenuFillItem:
  32.   material: STAINED_GLASS_PANE
  33.   damage: 15
  34.   name: " "
  35. # Define whether selling all with middle mouse button is enabled
  36. enableSellAll: true
  37. # Define whether the buy GUI with option to select quantity is enabled
  38. enableBuyGUI: true
  39. # Define whether the sell GUI with option to select quantity is enabled
  40. enableSellGUI: true
  41. # Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  42. enableSellGUISellAll: true
  43. # Define whether after closing/buying/selling the shop GUI should be opened again
  44. returnToShop: true
  45. # Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  46. quickBuySell: true
  47. # Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  48. hideBuyPriceForUnbuyable: true
  49. # Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  50. hideSellPriceForUnsellable: true
  51. # Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  52. invertBuySell: false
  53. # Maximum amount of enchantments players can add to an item, set to -1 for no limit
  54. maxEnchantments: -1
  55. # 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)
  56. limitEnchantmentLevelDiff: false
  57. # Define whether the amount selection double click bug fix should be enabled
  58. enableAmountSelectionFix: true
  59. # 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)
  60. allowAllSellAllStackSizes: false
  61. # 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)
  62. roundPrices: none
  63. # 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.
  64. disableMainMenu: false
  65. # Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  66. useDifferentMessagesForFreeItems: true
  67. # Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
  68. capitalizeItemNames: true
  69. # Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  70. priceModifiersType: BOTH
  71. # Choose if the gui shall be closed after using the Sell All feature
  72. closeGuiAfterSellAll: false
  73. # 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)
  74. openBulkGuiImmediately: false
  75. # 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
  76. # Format is same as for regular items in shops.yml
  77. itemStackSizeCappedAt:
  78.  # Blocks
  79.   enchantment-table:
  80.     material: ENCHANTMENT_TABLE
  81.     size: 1
  82.     damage: 0
  83.   # Miscellaneous
  84.   bucket:
  85.     material: BUCKET
  86.     size: 1
  87.     damage: 0
  88.   bucket-of-water:
  89.     material: WATER_BUCKET
  90.     size: 1
  91.     damage: 0
  92.   bucket-of-lava:
  93.     material: LAVA_BUCKET
  94.     size: 1
  95.     damage: 0
  96.   cauldron:
  97.     material: CAULDRON_ITEM
  98.     size: 1
  99.     damage: 0
  100.   brewing-stand:
  101.     material: BREWING_STAND_ITEM
  102.     size: 1
  103.     damage: 0
  104.   bed:
  105.     material: BED
  106.     size: 1
  107.     damage: 0
  108.   saddle:
  109.     material: SADDLE
  110.     size: 1
  111.     damage: 0
  112.  
  113.  
  114.  
  115. # Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  116. disableShopsInGamemodes:
  117. - ADVENTURE
  118. - CREATIVE
  119. - SPECTATOR
  120. # Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  121. disableShopsInWorlds: []
  122.  
  123. # 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
  124. displayPriceModifiersInPercents: true
  125.  
  126. # Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  127. disableSudoWorldPermissionCheck: false
  128.  
  129. # Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  130. disableSudoShopPermissionCheck: false
  131.  
  132. # Choose whether free items (with sell price of $0) should be excluded from being sold using /sell hand and /sell all
  133. sellHandAllExcludeFreeItems: true
  134.  
  135. # Choose predefined settings for all items (will be overriden when set explicitly for an item in shops.yml)
  136. defaultItemSettings:
  137.  # Choose whether item meta (name, lore etc.) should be compared when players attempt to sell an item
  138.   compareMeta: false
  139.   # Choose whether item meta should be removed from an item when it's purchased by a player from the shop
  140.   stripItemMeta: false
  141.  
  142. # Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  143. shopItemLoreFormat:
  144.  # This lore will be applied to items
  145.   item:
  146.   - "&7Buy price: $&c%buy%"
  147.   - "&7Sell price: $&a%sell%"
  148.   - "&9Click with MMB to sell all"
  149.   # This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  150.   itemBuyGUI:
  151.   - "&7Buy price: $&c%buy%"
  152.   # This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  153.   itemSellGUI:
  154.   - "&7Sell price: $&a%sell%"
  155.   # This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  156.   itemSellGUISellAll:
  157.   - "&7Sell all for: $&a%sell%"
  158.   # This one to permissions
  159.   permission:
  160.   - "&7Buy price: $&c%buy%"
  161.   # And this one to enchantments
  162.   enchantment:
  163.   - "&7Buy price: $&c%buy%"
  164.   # And the last one to commands
  165.   command:
  166.   - "&7Buy price: $&c%buy%"
  167.  
  168. # Logging settings
  169. log:
  170.  # Define whether transactions will be logged to the console/main server log
  171.   toConsole: true
  172.   # Define whether transactions will be logged to a separate log
  173.   toFile: false
  174.   # Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  175.   formatDate: "yyyy/MM/dd HH:mm:ss"
  176.   # Log message for bought items
  177.   formatBuy: "%player% bought %amount% x %item% for $%price% from %shop% shop"
  178.   # Log message for sold items
  179.   formatSell: "%player% sold %amount% x %item% for $%price% to %shop% shop"
  180.   # Log message for sold all items
  181.   formatSellAll: "%player% sold all %amount% x %item% for $%price% to %shop% shop"
  182.  
  183. # Sell hand command settings
  184. sellHand:
  185.  # When set to true, players will be able to sell any quantity of the item (the price will be calculated from the base price)
  186.   allowAllQuantites: true
  187.   # When set to true, /sell hand will work same way as /sell handall does
  188.   sellsAllItems: false
  189.  
  190. # Sell all command settings
  191. sellAll:
  192.  # When set to true, players will get a detailed summary with prices of each item stack sold
  193.   detailedSummary: false
  194.  
  195. buttons:
  196.  # "Go back button"
  197.   goBack:
  198.     item:
  199.      # Material name, full list can be found here: http://wiki.brcdev.net/Materials
  200.       material: NETHER_STAR
  201.       # Amount of the item
  202.       amount: 1
  203.       # (optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  204.       damage: 0
  205.       # (optional) Custom name
  206.       name: "&c&lGo back to categories"
  207.       # (optional) Lore, can contain multiple lines
  208.       lore:
  209.      - "&7Click here to return"
  210.       - "&7to the main menu"
  211.     # Slot in each shop's GUI
  212.     slot: 49
  213.   # "Previous page" button
  214.   previousPage:
  215.     item:
  216.       material: PAPER
  217.       quantity: 1
  218.       name: "&e&lPrevious page"
  219.     slot: 48
  220.   # "Next page" button
  221.   nextPage:
  222.     item:
  223.       material: PAPER
  224.       quantity: 1
  225.       name: "&e&lNext page"
  226.     slot: 50
  227.  
  228. # Elements of the bulk buy GUI
  229. amountSelectionGUIBulkBuy:
  230.  # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  231.   size: 18
  232.   # Choose if buttons type should be replaced with the bought item's type
  233.   replaceButtonsType: true
  234.   # Buttons
  235.   buttons:
  236.    # "Buy 1 stack" button
  237.     buy1:
  238.      # When no material is specified it will be the type of the item being bought
  239.       item:
  240.         quantity: 1
  241.         name: "&aBuy 1 stack"
  242.         lore:
  243.         - "&7Price: $&c%buy%"
  244.       # Value indicated the amount of stacks
  245.       value: 1
  246.       slot: 0
  247.     # "Buy 2 stacks" button
  248.     buy2:
  249.       item:
  250.         quantity: 2
  251.         name: "&aBuy 2 stacks"
  252.         lore:
  253.         - "&7Price: $&c%buy%"
  254.       value: 2
  255.       slot: 1
  256.     # "Buy 3 stacks" button
  257.     buy3:
  258.       item:
  259.         quantity: 3
  260.         name: "&aBuy 3 stacks"
  261.         lore:
  262.         - "&7Price: $&c%buy%"
  263.       value: 3
  264.       slot: 2
  265.     # "Buy 4 stacks" button
  266.     buy4:
  267.       item:
  268.         quantity: 4
  269.         name: "&aBuy 4 stacks"
  270.         lore:
  271.         - "&7Price: $&c%buy%"
  272.       value: 4
  273.       slot: 3
  274.     # "Buy 5 stacks" button
  275.     buy5:
  276.       item:
  277.         quantity: 5
  278.         name: "&aBuy 5 stacks"
  279.         lore:
  280.         - "&7Price: $&c%buy%"
  281.       value: 5
  282.       slot: 4
  283.     # "Buy 6 stacks" button
  284.     buy6:
  285.       item:
  286.         quantity: 6
  287.         name: "&aBuy 6 stacks"
  288.         lore:
  289.         - "&7Price: $&c%buy%"
  290.       value: 6
  291.       slot: 5
  292.     # "Buy 7 stacks" button
  293.     buy7:
  294.       item:
  295.         quantity: 7
  296.         name: "&aBuy 7 stacks"
  297.         lore:
  298.         - "&7Price: $&c%buy%"
  299.       value: 7
  300.       slot: 6
  301.     # "Buy 8 stacks" button
  302.     buy8:
  303.       item:
  304.         quantity: 8
  305.         name: "&aBuy 8 stacks"
  306.         lore:
  307.         - "&7Price: $&c%buy%"
  308.       value: 8
  309.       slot: 7
  310.     # "Buy 9 stacks" button
  311.     buy9:
  312.       item:
  313.         quantity: 9
  314.         name: "&aBuy 9 stacks"
  315.         lore:
  316.         - "&7Price: $&c%buy%"
  317.       value: 9
  318.       slot: 8
  319.     # "Cancel" button
  320.     cancel:
  321.       item:
  322.         material: STAINED_GLASS
  323.         quantity: 1
  324.         damage: 14
  325.         name: "&c&lCancel"
  326.       slot: 13
  327.  
  328. # Elements of the bulk buy GUI
  329. amountSelectionGUIBulkSell:
  330.  # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  331.   size: 18
  332.   # Choose if buttons type should be replaced with the sold item's type
  333.   replaceButtonsType: true
  334.   # Buttons
  335.   buttons:
  336.    # "Sell 1 stack" button
  337.     sell1:
  338.      # When no material is specified it will be the type of the item being bought
  339.       item:
  340.         quantity: 1
  341.         name: "&aSell 1 stack"
  342.         lore:
  343.         - "&7Price: $&c%sell%"
  344.       # Value indicated the amount of stacks
  345.       value: 1
  346.       slot: 0
  347.     # "Sell 2 stacks" button
  348.     sell2:
  349.       item:
  350.         quantity: 2
  351.         name: "&aSell 2 stacks"
  352.         lore:
  353.         - "&7Price: $&c%sell%"
  354.       value: 2
  355.       slot: 1
  356.     # "Sell 3 stacks" button
  357.     sell3:
  358.       item:
  359.         quantity: 3
  360.         name: "&aSell 3 stacks"
  361.         lore:
  362.         - "&7Price: $&c%sell%"
  363.       value: 3
  364.       slot: 2
  365.     # "Sell 4 stacks" button
  366.     sell4:
  367.       item:
  368.         quantity: 4
  369.         name: "&aSell 4 stacks"
  370.         lore:
  371.         - "&7Price: $&c%sell%"
  372.       value: 4
  373.       slot: 3
  374.     # "Sell 5 stacks" button
  375.     sell5:
  376.       item:
  377.         quantity: 5
  378.         name: "&aSell 5 stacks"
  379.         lore:
  380.         - "&7Price: $&c%sell%"
  381.       value: 5
  382.       slot: 4
  383.     # "Sell 6 stacks" button
  384.     sell6:
  385.       item:
  386.         quantity: 6
  387.         name: "&aSell 6 stacks"
  388.         lore:
  389.         - "&7Price: $&c%sell%"
  390.       value: 6
  391.       slot: 5
  392.     # "Sell 7 stacks" button
  393.     sell7:
  394.       item:
  395.         quantity: 7
  396.         name: "&aSell 7 stacks"
  397.         lore:
  398.         - "&7Price: $&c%sell%"
  399.       value: 7
  400.       slot: 6
  401.     # "Sell 8 stacks" button
  402.     sell8:
  403.       item:
  404.         quantity: 8
  405.         name: "&aSell 8 stacks"
  406.         lore:
  407.         - "&7Price: $&c%sell%"
  408.       value: 8
  409.       slot: 7
  410.     # "Sell 9 stacks" button
  411.     sell9:
  412.       item:
  413.         quantity: 9
  414.         name: "&aSell 9 stacks"
  415.         lore:
  416.         - "&7Price: $&c%sell%"
  417.       value: 9
  418.       slot: 8
  419.     # "Cancel" button
  420.     cancel:
  421.       item:
  422.         material: STAINED_GLASS
  423.         quantity: 1
  424.         damage: 14
  425.         name: "&c&lCancel"
  426.       slot: 13
  427.  
  428. # Elements of the regular buy/sell GUI
  429. amountSelectionGUI:
  430.  # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  431.   size: 54
  432.   # Slot of the item being bought/sold
  433.   itemSlot: 22
  434.   # Buttons
  435.   buttons:
  436.    # "Set to 1" button
  437.     set1:
  438.       item:
  439.         material: STAINED_GLASS_PANE
  440.         quantity: 1
  441.         damage: 14
  442.         name: "&c&lSet to 1"
  443.       slot: 18
  444.     # "Remove 10" button
  445.     remove10:
  446.       item:
  447.         material: STAINED_GLASS_PANE
  448.         quantity: 10
  449.         damage: 14
  450.         name: "&c&lRemove 10"
  451.       slot: 19
  452.     # "Remove 1" button
  453.     remove1:
  454.       item:
  455.         material: STAINED_GLASS_PANE
  456.         quantity: 1
  457.         damage: 14
  458.         name: "&c&lRemove 1"
  459.       slot: 20
  460.     # "Add 1" button
  461.     add1:
  462.       item:
  463.         material: STAINED_GLASS_PANE
  464.         quantity: 1
  465.         damage: 5
  466.         name: "&a&lAdd 1"
  467.       slot: 24
  468.     # "Add 10" button
  469.     add10:
  470.       item:
  471.         material: STAINED_GLASS_PANE
  472.         quantity: 10
  473.         damage: 5
  474.         name: "&a&lAdd 10"
  475.       slot: 25
  476.     # "Set to 16" button
  477.     set16:
  478.       item:
  479.         material: STAINED_GLASS_PANE
  480.         quantity: 16
  481.         damage: 5
  482.         name: "&a&lSet to 16"
  483.       slot: 26
  484.     # "Set to 64" button
  485.     set64:
  486.       item:
  487.         material: STAINED_GLASS_PANE
  488.         quantity: 64
  489.         damage: 5
  490.         name: "&a&lSet to 64"
  491.       slot: 26
  492.     # "Confirm" button
  493.     confirm:
  494.       item:
  495.         material: STAINED_GLASS
  496.         quantity: 1
  497.         damage: 5
  498.         name: "&a&lConfirm"
  499.       slot: 39
  500.     # "Sell all" button
  501.     sellAll:
  502.       item:
  503.         material: STAINED_GLASS
  504.         quantity: 1
  505.         damage: 5
  506.         name: "&a&lSell all"
  507.       slot: 40
  508.     # "Buy more" button
  509.     buyMore:
  510.       item:
  511.         material: STAINED_GLASS
  512.         quantity: 64
  513.         damage: 5
  514.         name: "&a&lBuy more"
  515.       slot: 49
  516.     # "Sell more" button
  517.     sellMore:
  518.       item:
  519.         material: STAINED_GLASS
  520.         quantity: 64
  521.         damage: 5
  522.         name: "&a&lSell more"
  523.       slot: 49
  524.     # "Cancel" button
  525.     cancel:
  526.       item:
  527.         material: STAINED_GLASS
  528.         quantity: 1
  529.         damage: 14
  530.         name: "&c&lCancel"
  531.       slot: 41
  532.  
  533. shopMenuItems:
  534.  # Has to be unique, value doesn't matter
  535.   blocks:
  536.     item:
  537.      # The same rules apply for material, amount, damage and lore as for goBackButton
  538.       material: GRASS
  539.       quantity: 1
  540.       name: "&a&lBlocks"
  541.       lore:
  542.      - "&7Blocks to build your castle!"
  543.     # Shop ID from shops.yml
  544.     shop: "blocks"
  545.     # Slot in shops menu, counting from 0 to 53
  546.     slot: 0
  547.   miscellaneous:
  548.     item:
  549.      # The same rules apply for material, amount, damage and lore as for goBackButton
  550.       material: WATER_BUCKET
  551.       quantity: 1
  552.       name: "&e&lMiscellaneous"
  553.       lore:
  554.      - "&7Miscellaneous Items!"
  555.     # Shop ID from shops.yml
  556.     shop: "miscellaneous"
  557.     # Slot in shops menu, counting from 0 to 53
  558.     slot: 1
  559.  
  560.  
  561.  
  562. specialElements:
  563.   balance:
  564.     item:
  565.       material: PAPER
  566.       quantity: 1
  567.       name: "&d&lYour balance"
  568.       lore:
  569.      - "&7$%balance%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement