Guest User

config.yml

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