Advertisement
gizmobrat

CONFIG

Oct 28th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 18.46 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. Valid values are EXP, VAULT (requires http://dev.bukkit.org/bukkit-plugins/vault/), MYSQL_TOKENS (requires https://www.spigotmc.org/resources/mysql-tokens.7535/), TOKEN_MANAGER (requires https://www.spigotmc.org/resources/tokenmanager.8610/)
  19. economyType: VAULT
  20. #Name of the main GUI
  21. shopMenuName: "&4Aurora &bCraft's &4Shop"
  22. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  23. shopMenuSize: 18
  24. #Define whether selling all with middle mouse button is enabled
  25. enableSellAll: true
  26. #Define whether the buy GUI with option to select quantity is enabled
  27. enableBuyGUI: true
  28. #Define whether the sell GUI with option to select quantity is enabled
  29. enableSellGUI: true
  30. #Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  31. enableSellGUISellAll: true
  32. #Define whether after closing/buying/selling the shop GUI should be opened again
  33. returnToShop: true
  34. #Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  35. quickBuySell: true
  36. #Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  37. hideBuyPriceForUnbuyable: true
  38. #Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  39. hideSellPriceForUnsellable: true
  40. #Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  41. invertBuySell: false
  42. #Maximum amount of enchantments players can add to an item, set to -1 for no limit
  43. maxEnchantments: -1
  44. #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)
  45. limitEnchantmentLevelDiff: false
  46. #Define whether the amount selection double click bug fix should be enabled
  47. enableAmountSelectionFix: true
  48. #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)
  49. allowAllSellAllStackSizes: true
  50. #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)
  51. roundPrices: none
  52. #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.
  53. disableMainMenu: false
  54. #Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  55. useDifferentMessagesForFreeItems: true
  56. #Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
  57. capitalizeItemNames: true
  58. #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
  59. #Format is same as for regular items in shops.yml
  60. itemStackSizeCappedAt:
  61.   1:
  62.     material: ENDER_PEARL
  63.     size: 16
  64.   2:
  65.     material: SNOW_BALL
  66.     size: 16
  67.   3:
  68.     material: SIGN
  69.     size: 16
  70.   4:
  71.     material: EGG
  72.     size: 16
  73.   5:
  74.     material: BUCKET
  75.     size: 16
  76. #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  77. disableShopsInGamemodes:
  78.  - ADVENTURE
  79.   - SPECTATOR
  80.   - CREATIVE
  81. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  82. disableShopsInWorlds: []
  83.  
  84. #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
  85. displayPriceModifiersInPercents: false
  86.  
  87. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  88. disableSudoWorldPermissionCheck: false
  89.  
  90. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  91. disableSudoShopPermissionCheck: false
  92.  
  93. # Choose whether free items (with sell price of $0) should be excluded from being sold using /sell hand and /sell all
  94. sellHandAllExcludeFreeItems: true
  95.  
  96. # Choose predefined settings for all items (will be overriden when set explicitly for an item in shops.yml)
  97. defaultItemSettings:
  98. # Choose whether item meta (name, lore etc.) should be compared when players attempt to sell an item
  99.   compareMeta: true
  100.   # Choose whether item meta should be removed from an item when it's purchased by a player from the shop
  101.   stripItemMeta: false
  102.  
  103. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  104. shopItemLoreFormat:
  105.  #This lore will be applied to items
  106.   item:
  107.     - "&7Buy price: &c%buy%$"
  108.     - "&7Sell price: &a%sell%$"
  109.     - "&9Click with MMB to sell all"
  110.   #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  111.   itemBuyGUI:
  112.     - "&7Buy price: &c%buy%$"  
  113.   #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  114.   itemSellGUI:
  115.     - "&7Sell price: &a%sell%$"
  116.   #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  117.   itemSellGUISellAll:
  118.     - "&7Sell all for: &a%sell%$"
  119.   #This one to permissions
  120.   permission:
  121.     - "&7Buy price: &c%buy%$"
  122.   #And this one to enchantments
  123.   enchantment:
  124.     - "&7Buy price: &c%buy%$"
  125.   #And the last one to commands
  126.   command:
  127.     - "&7Buy price: &c%buy%$"
  128.  
  129. #Logging settings
  130. log:
  131.  #Define whether transactions will be logged to the console/main server log
  132.   toConsole: true
  133.   #Define whether transactions will be logged to a separate log
  134.   toFile: false
  135.   #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  136.   formatDate: "yyyy/MM/dd HH:mm:ss"
  137.   #Log message for bought items
  138.   formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  139.   #Log message for sold items
  140.   formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  141.   #Log message for sold all items
  142.   formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  143.  
  144. # Sell hand command settings
  145. sellHand:
  146. # When set to true, players will be able to sell any quantity of the item (the price will be calculated from the base price)
  147.   allowAllQuantites: true
  148.   # When set to true, /sell hand will work same way as /sell handall does
  149.   sellsAllItems: true
  150.  
  151. buttons:
  152.  #"Go back button"
  153.   goBack:
  154.     item:
  155.      #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  156.       material: NETHER_STAR
  157.       #Amount of the item
  158.       amount: 1
  159.       #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  160.       damage: 0
  161.       #(optional) Custom name
  162.       name: "&cBack to categories"
  163.       #(optional) Lore, can contain multiple lines
  164.       lore:
  165.         - "&aClick here to return to the main menu"
  166.     #Slot in each shop's GUI
  167.     slot: 49
  168.   #"Previous page" button
  169.   previousPage:
  170.     item:
  171.       material: PAPER
  172.       quantity: 1
  173.       name: "&e&lPrevious page"
  174.     slot: 45
  175.   #"Next page" button
  176.   nextPage:
  177.     item:
  178.       material: PAPER
  179.       quantity: 1
  180.       name: "&e&lNext page"
  181.     slot: 53
  182.  
  183. #Elements of the bulk buy GUI
  184. amountSelectionGUIBulkBuy:
  185. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  186.   size: 18
  187.   #Choose if buttons type should be replaced with the bought item's type
  188.   replaceButtonsType: true
  189.   #Buttons
  190.   buttons:
  191.   #"Buy 1 stack" button
  192.     buy1:
  193.     #When no material is specified it will be the type of the item being bought
  194.       item:
  195.         quantity: 1
  196.         name: "&aBuy 1 stack"
  197.         lore:
  198.           - "&7Price: &c%buy%$"
  199.       #Value indicated the amount of stacks
  200.       value: 1
  201.       slot: 0
  202.     #"Buy 2 stacks" button
  203.     buy2:
  204.       item:
  205.         quantity: 2
  206.         name: "&aBuy 2 stacks"
  207.         lore:
  208.           - "&7Price: &c%buy%$"
  209.       value: 2
  210.       slot: 1
  211.     #"Buy 3 stacks" button
  212.     buy3:
  213.       item:
  214.         quantity: 3
  215.         name: "&aBuy 3 stacks"
  216.         lore:
  217.           - "&7Price: &c%buy%$"
  218.       value: 3
  219.       slot: 2
  220.     #"Buy 4 stacks" button
  221.     buy4:
  222.       item:
  223.         quantity: 4
  224.         name: "&aBuy 4 stacks"
  225.         lore:
  226.           - "&7Price: &c%buy%$"
  227.       value: 4
  228.       slot: 3
  229.     #"Buy 5 stacks" button
  230.     buy5:
  231.       item:
  232.         quantity: 5
  233.         name: "&aBuy 5 stacks"
  234.         lore:
  235.           - "&7Price: &c%buy%$"
  236.       value: 5
  237.       slot: 4
  238.     #"Buy 6 stacks" button
  239.     buy6:
  240.       item:
  241.         quantity: 6
  242.         name: "&aBuy 6 stacks"
  243.         lore:
  244.           - "&7Price: &c%buy%$"
  245.       value: 6
  246.       slot: 5
  247.     #"Buy 7 stacks" button
  248.     buy7:
  249.       item:
  250.         quantity: 7
  251.         name: "&aBuy 7 stacks"
  252.         lore:
  253.           - "&7Price: &c%buy%$"
  254.       value: 7
  255.       slot: 6
  256.     #"Buy 8 stacks" button
  257.     buy8:
  258.       item:
  259.         quantity: 8
  260.         name: "&aBuy 8 stacks"
  261.         lore:
  262.           - "&7Price: &c%buy%$"
  263.       value: 8
  264.       slot: 7
  265.     #"Buy 9 stacks" button
  266.     buy9:
  267.       item:
  268.         quantity: 9
  269.         name: "&aBuy 9 stacks"
  270.         lore:
  271.           - "&7Price: &c%buy%$"
  272.       value: 9
  273.       slot: 8
  274.     #"Cancel" button
  275.     cancel:
  276.       item:
  277.         material: Red_STAINED_GLASS
  278.         quantity: 1
  279.         damage: 14
  280.         name: "&c&lCancel"
  281.       slot: 13
  282.      
  283. #Elements of the bulk buy GUI
  284. amountSelectionGUIBulkSell:
  285. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  286.   size: 18
  287.   #Choose if buttons type should be replaced with the sold item's type
  288.   replaceButtonsType: true
  289.   #Buttons
  290.   buttons:
  291.   #"Sell 1 stack" button
  292.     sell1:
  293.     #When no material is specified it will be the type of the item being bought
  294.       item:
  295.         quantity: 1
  296.         name: "&aSell 1 stack"
  297.         lore:
  298.           - "&7Price: &c%sell%$"
  299.       #Value indicated the amount of stacks
  300.       value: 1
  301.       slot: 0
  302.     #"Sell 2 stacks" button
  303.     sell2:
  304.       item:
  305.         quantity: 2
  306.         name: "&aSell 2 stacks"
  307.         lore:
  308.           - "&7Price: &c%sell%$"
  309.       value: 2
  310.       slot: 1
  311.     #"Sell 3 stacks" button
  312.     sell3:
  313.       item:
  314.         quantity: 3
  315.         name: "&aSell 3 stacks"
  316.         lore:
  317.           - "&7Price: &c%sell%$"
  318.       value: 3
  319.       slot: 2
  320.     #"Sell 4 stacks" button
  321.     sell4:
  322.       item:
  323.         quantity: 4
  324.         name: "&aSell 4 stacks"
  325.         lore:
  326.           - "&7Price: &c%sell%$"
  327.       value: 4
  328.       slot: 3
  329.     #"Sell 5 stacks" button
  330.     sell5:
  331.       item:
  332.         quantity: 5
  333.         name: "&aSell 5 stacks"
  334.         lore:
  335.           - "&7Price: &c%sell%$"
  336.       value: 5
  337.       slot: 4
  338.     #"Sell 6 stacks" button
  339.     sell6:
  340.       item:
  341.         quantity: 6
  342.         name: "&aSell 6 stacks"
  343.         lore:
  344.           - "&7Price: &c%sell%$"
  345.       value: 6
  346.       slot: 5
  347.     #"Sell 7 stacks" button
  348.     sell7:
  349.       item:
  350.         quantity: 7
  351.         name: "&aSell 7 stacks"
  352.         lore:
  353.           - "&7Price: &c%sell%$"
  354.       value: 7
  355.       slot: 6
  356.     #"Sell 8 stacks" button
  357.     sell8:
  358.       item:
  359.         quantity: 8
  360.         name: "&aSell 8 stacks"
  361.         lore:
  362.           - "&7Price: &c%sell%$"
  363.       value: 8
  364.       slot: 7
  365.     #"Sell 9 stacks" button
  366.     sell9:
  367.       item:
  368.         quantity: 9
  369.         name: "&aSell 9 stacks"
  370.         lore:
  371.           - "&7Price: &c%sell%$"
  372.       value: 9
  373.       slot: 8
  374.     #"Cancel" button
  375.     cancel:
  376.       item:
  377.         material: RED_STAINED_GLASS
  378.         quantity: 1
  379.         damage: 14
  380.         name: "&c&lCancel"
  381.       slot: 13
  382.   #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  383.   size: 9
  384.   #Choose if buttons type should be replaced with the sold item's type
  385.   replaceButtonsType: true
  386.   #Buttons
  387.   buttons:
  388.    #"Sell 1 stack" button
  389.     sell1:
  390.      #When no material is specified it will be the type of the item being bought
  391.       item:
  392.         quantity: 1
  393.         name: "&aSell 1 stack"
  394.         lore:
  395.           - "&7Price: &c%sell%$"
  396.       #Value indicated the amount of stacks
  397.       value: 1
  398.       slot: 0
  399.     #"Sell 2 stacks" button
  400.     sell2:
  401.       item:
  402.         quantity: 2
  403.         name: "&aSell 2 stacks"
  404.         lore:
  405.           - "&7Price: &c%sell%$"
  406.       value: 2
  407.       slot: 1
  408.     #"Sell 3 stacks" button
  409.     sell3:
  410.       item:
  411.         quantity: 3
  412.         name: "&aSell 3 stacks"
  413.         lore:
  414.           - "&7Price: &c%sell%$"
  415.       value: 3
  416.       slot: 2
  417.     #"Sell 4 stacks" button
  418.     sell4:
  419.       item:
  420.         quantity: 4
  421.         name: "&aSell 4 stacks"
  422.         lore:
  423.           - "&7Price: &c%sell%$"
  424.       value: 4
  425.       slot: 3
  426.     #"Sell 5 stacks" button
  427.     sell5:
  428.       item:
  429.         quantity: 5
  430.         name: "&aSell 5 stacks"
  431.         lore:
  432.           - "&7Price: &c%sell%$"
  433.       value: 5
  434.       slot: 4
  435.     #"Sell 6 stacks" button
  436.     sell6:
  437.       item:
  438.         quantity: 6
  439.         name: "&aSell 6 stacks"
  440.         lore:
  441.           - "&7Price: &c%sell%$"
  442.       value: 6
  443.       slot: 5
  444.     #"Sell 7 stacks" button
  445.     sell7:
  446.       item:
  447.         quantity: 7
  448.         name: "&aSell 7 stacks"
  449.         lore:
  450.           - "&7Price: &c%sell%$"
  451.       value: 7
  452.       slot: 6
  453.     #"Sell 8 stacks" button
  454.     sell8:
  455.       item:
  456.         quantity: 8
  457.         name: "&aSell 8 stacks"
  458.         lore:
  459.           - "&7Price: &c%sell%$"
  460.       value: 8
  461.       slot: 7
  462.     #"Sell 9 stacks" button
  463.     sell9:
  464.       item:
  465.         quantity: 9
  466.         name: "&aSell 9 stacks"
  467.         lore:
  468.           - "&7Price: &c%sell%$"
  469.       value: 9
  470.       slot: 8
  471.      
  472. #Elements of the regular buy/sell GUI
  473. amountSelectionGUI:
  474.  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  475.   size: 54
  476.   #Slot of the item being bought/sold
  477.   itemSlot: 22
  478.   #Buttons
  479.   buttons:
  480.    #"Set to 1" button
  481.     set1:
  482.       item:
  483.         material: RED_STAINED_GLASS_PANE
  484.         quantity: 1
  485.         damage: 14
  486.         name: "&c&lSet to 1"
  487.       slot: 18
  488.     #"Remove 10" button
  489.     remove10:
  490.       item:
  491.         material: RED_STAINED_GLASS_PANE
  492.         quantity: 10
  493.         damage: 14
  494.         name: "&c&lRemove 10"
  495.       slot: 19
  496.     #"Remove 1" button
  497.     remove1:
  498.       item:
  499.         material: RED_STAINED_GLASS_PANE
  500.         quantity: 1
  501.         damage: 14
  502.         name: "&c&lRemove 1"
  503.       slot: 20
  504.     #"Add 1" button
  505.     add1:
  506.       item:
  507.         material: LIME_STAINED_GLASS_PANE
  508.         quantity: 1
  509.         damage: 5
  510.         name: "&a&lAdd 1"
  511.       slot: 24
  512.     #"Add 10" button
  513.     add10:
  514.       item:
  515.         material: LIME_STAINED_GLASS_PANE
  516.         quantity: 10
  517.         damage: 5
  518.         name: "&a&lAdd 10"
  519.       slot: 25
  520.     #"Set to 16" button
  521.     set16:
  522.       item:
  523.         material: LIME_STAINED_GLASS_PANE
  524.         quantity: 16
  525.         damage: 5
  526.         name: "&a&lSet to 16"
  527.       slot: 26
  528.     #"Set to 64" button
  529.     set64:
  530.       item:
  531.         material: LIME_STAINED_GLASS_PANE
  532.         quantity: 64
  533.         damage: 5
  534.         name: "&a&lSet to 64"
  535.       slot: 26
  536.     #"Confirm" button
  537.     confirm:
  538.       item:
  539.         material: LIME_STAINED_GLASS
  540.         quantity: 1
  541.         damage: 5
  542.         name: "&a&lConfirm"  
  543.       slot: 39
  544.     #"Sell all" button
  545.     sellAll:
  546.       item:
  547.         material: LIME_STAINED_GLASS
  548.         quantity: 1
  549.         damage: 5
  550.         name: "&a&lSell all"      
  551.       slot: 40
  552.     #"Buy more" button
  553.     buyMore:
  554.       item:
  555.         material: LIME_STAINED_GLASS
  556.         quantity: 64
  557.         damage: 5
  558.         name: "&a&lBuy more"      
  559.       slot: 49
  560.     #"Sell more" button
  561.     sellMore:
  562.       item:
  563.         material: LIME_STAINED_GLASS
  564.         quantity: 64
  565.         damage: 5
  566.         name: "&a&lSell more"      
  567.       slot: 49
  568.     #"Cancel" button      
  569.     cancel:
  570.       item:
  571.         material: RED_STAINED_GLASS
  572.         quantity: 1
  573.         damage: 14
  574.         name: "&c&lCancel"  
  575.       slot: 41
  576.      
  577. shopMenuItems:
  578.  #Has to be unique, value doesn't matter
  579.   1:
  580.     item:
  581.      #The same rules apply for material, amount, damage and lore as for goBackButton
  582.       material: BRICKS
  583.       quantity: 1
  584.       name: "&9&lBlocks"
  585.     #Shop ID from shops.yml
  586.     shop: "blocks"
  587.     #Slot in shops menu, counting from 0 to 53
  588.     slot: 0
  589.   2:
  590.     item:
  591.       material: PINK_WOOL
  592.       quantity: 1
  593.       damage: 6
  594.       name: "&aC&9o&dl&bo&cr &aS&9h&do&bp"
  595.     shop: "color"
  596.     slot: 5
  597.   3:
  598.     item:
  599.       material: DIAMOND_SWORD
  600.       quantity: 1
  601.       name: "&4&lCombat"
  602.     shop: "combat"
  603.     slot: 11
  604.   4:  
  605.     item:  
  606.       material: POTION
  607.       quantity: 1
  608.       potion:  
  609.         type: WATER
  610.         level: 1
  611.         effect: none
  612.       name: "&7&lBrewing"
  613.     shop: brewing
  614.     slot: 12
  615.   5:  
  616.     item:  
  617.       material: APPLE
  618.       quantity: 1
  619.       name: "&d&lFood"
  620.     shop: "food"
  621.     slot: 9
  622.   6:  
  623.     item:  
  624.       material: IRON_AXE
  625.       quantity: 1
  626.       name: "&a&lTools"
  627.     shop: "_tools"
  628.     slot: 10
  629.   7:  
  630.     item:  
  631.       material: REDSTONE_WIRE
  632.       quantity: 1
  633.       name: "&c&lRedstone"
  634.     shop: "redstone"
  635.     slot: 2
  636.   8:  
  637.     item:  
  638.       material: WHEAT_SEEDS
  639.       quantity: 1
  640.       name: "&a&lFarming"
  641.     shop: "farming"
  642.     slot: 14
  643.   9:  
  644.     item:  
  645.       material: SPAWNER
  646.       quantity: 1
  647.       name: "&5&lThe Good Stuff"
  648.     shop: "good"
  649.     slot: 17
  650.   10:  
  651.     item:  
  652.       material: ROTTEN_FLESH
  653.       quantity: 1
  654.       name: "&9&lMob Drops"
  655.     shop: "drops"
  656.     slot: 6
  657.   11:  
  658.     item:  
  659.       material: POWERED_RAIL
  660.       quantity: 1
  661.       name: "&l&8Transportation"
  662.     shop: "move"
  663.     slot: 3
  664.   12:  
  665.     item:  
  666.       material: DIAMOND
  667.       quantity: 1
  668.       name: "&eThe Mineshaft"
  669.     shop: "mine"
  670.     slot: 13
  671.   13:  
  672.     item:  
  673.       material: SUNFLOWER
  674.       damage: 5
  675.       name: "&l&5Decorations"
  676.     shop: "decorations"
  677.     slot: 1
  678.   14:  
  679.     item:  
  680.       material: LAVA_BUCKET
  681.       name: "&3&lMiscellaneous"
  682.     shop: "misc"
  683.     slot: 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement