SHARE
TWEET

config.yml

ItzDerock Apr 2nd, 2019 210 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. 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: "&nShop GUI"
  22. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  23. shopMenuSize: 45
  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: false
  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 the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  59. priceModifiersType: BOTH
  60. #Choose if the gui shall be closed after using the Sell All feature
  61. closeGuiAfterSellAll: false
  62. #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)
  63. openBulkGuiImmediately: false
  64. #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
  65. #Format is same as for regular items in shops.yml
  66. itemStackSizeCappedAt:
  67.   1:
  68.     material: ENDER_PEARL
  69.     size: 16
  70.   2:
  71.     material: SNOW_BALL
  72.     size: 16
  73.   3:
  74.     material: SIGN
  75.     size: 16
  76.   4:
  77.     material: EGG
  78.     size: 16
  79.   5:
  80.     material: BUCKET
  81.     size: 64
  82.   6:
  83.     material: POTION
  84.     damage: 8265
  85.     size: 1
  86.   7:
  87.     material: POTION
  88.     damage: 8258
  89.     size: 1
  90.   8:
  91.     material: POTION
  92.     damage: 8257
  93.     size: 1
  94.   9:
  95.     material: POTION
  96.     damage: 8259
  97.     size: 1
  98.   10:
  99.     material: POTION
  100.     damage: 8270
  101.     size: 1
  102.   11:
  103.     material: POTION
  104.     damage: 16421
  105.     size: 1
  106.   12:
  107.     material: POTION
  108.     damage: 8233
  109.     size: 1
  110.   13:
  111.     material: POTION
  112.     damage: 8226
  113.     size: 1
  114.   14:
  115.     material: POTION
  116.     damage: 8225
  117.     size: 1
  118.   15:
  119.     material: POTION
  120.     damage: 8227
  121.     size: 1
  122.   16:
  123.     material: POTION
  124.     damage: 8265
  125.     size: 1
  126.   17:
  127.     material: POTION
  128.     damage: 8238
  129.     size: 1
  130.   18:
  131.     material: POTION
  132.     damage: 16453
  133.     size: 1
  134.   19:
  135.     material: LAVA_BUCKET
  136.     size: 64
  137.   20:
  138.     material: DIAMOND_SWORD
  139.     size: 1
  140.   21:
  141.     material: DIAMOND_PICKAXE
  142.     size: 1
  143.   22:
  144.     material: DIAMOND_AXE
  145.     size: 1
  146.   23:
  147.     material: DIAMOND_SPADE
  148.     size: 1
  149.   24:
  150.     material: DIAMOND_HOE
  151.     size: 1
  152.   25:
  153.     material: IRON_SWORD
  154.     size: 1
  155.   26:
  156.     material: IRON_PICKAXE
  157.     size: 1
  158.   27:
  159.     material: IRON_AXE
  160.     size: 1
  161.   28:
  162.     material: IRON_SPADE
  163.     size: 1
  164.   29:
  165.     material: IRON_HOE
  166.     size: 1
  167.   30:
  168.     material: SHEARS
  169.     size: 1
  170.   31:
  171.     material: FISHING_ROD
  172.     size: 1
  173.   32:
  174.     material: BOW
  175.     size: 1
  176.   33:
  177.     material: FLINT_AND_STEEL
  178.     size: 1
  179.   34:
  180.     material: MOB_SPAWNER
  181.     size: 1
  182.  
  183.   #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  184. disableShopsInGamemodes:
  185.   - ADVENTURE
  186.   - CREATIVE
  187.   - SPECTATOR
  188. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  189. disableShopsInWorlds: []
  190.  
  191. #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
  192. displayPriceModifiersInPercents: true
  193.  
  194. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  195. disableSudoWorldPermissionCheck: false
  196.  
  197. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  198. disableSudoShopPermissionCheck: false
  199.  
  200. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  201. shopItemLoreFormat:
  202.   #This lore will be applied to items
  203.   item:
  204.     - "&7Buy price: &c%buy%$"
  205.     - "&7Sell price: &a%sell%$"
  206.     - "&9Click with MMB to sell all"
  207.   #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  208.   itemBuyGUI:
  209.     - "&7Buy price: &c%buy%$"  
  210.   #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  211.   itemSellGUI:
  212.     - "&7Sell price: &a%sell%$"
  213.   #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  214.   itemSellGUISellAll:
  215.     - "&7Sell all for: &a%sell%$"
  216.   #This one to permissions
  217.   permission:
  218.     - "&7Buy price: &c%buy%$"
  219.   #And this one to enchantments
  220.   enchantment:
  221.     - "&7Buy price: &c%buy%$"
  222.   #And the last one to commands
  223.   command:
  224.     - "&7Buy price: &c%buy%$"
  225.  
  226. #Logging settings
  227. log:
  228.   #Define whether transactions will be logged to the console/main server log
  229.   toConsole: true
  230.   #Define whether transactions will be logged to a separate log
  231.   toFile: false
  232.   #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  233.   formatDate: "yyyy/MM/dd HH:mm:ss"
  234.   #Log message for bought items
  235.   formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  236.   #Log message for sold items
  237.   formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  238.   #Log message for sold all items
  239.   formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  240.  
  241. buttons:
  242.   #"Go back button"
  243.   goBack:
  244.     item:
  245.       #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  246.       material: NETHER_STAR
  247.       #Amount of the item
  248.       amount: 1
  249.       #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  250.       damage: 0
  251.       #(optional) Custom name
  252.       name: "&c&lReturn to the categories"
  253.       #(optional) Lore, can contain multiple lines
  254.       lore:
  255.         - "&7Click here to return"
  256.         - "&7to the main menu"
  257.     #Slot in each shop's GUI
  258.     slot: 54
  259.   #"Previous page" button
  260.   previousPage:
  261.     item:
  262.       material: PAPER
  263.       quantity: 1
  264.       name: "&c&lPrevious page"
  265.     slot: 45
  266.   #"Next page" button
  267.   nextPage:
  268.     item:
  269.       material: PAPER
  270.       quantity: 1
  271.       name: "&c&lNext page"
  272.     slot: 53
  273.  
  274. #Elements of the bulk buy GUI
  275. amountSelectionGUIBulkBuy:
  276.   #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  277.   size: 18
  278.   #Choose if buttons type should be replaced with the bought item's type
  279.   replaceButtonsType: true
  280.   #Buttons
  281.   buttons:
  282.     #"Buy 1 stack" button
  283.     buy1:
  284.       #When no material is specified it will be the type of the item being bought
  285.       item:
  286.         quantity: 1
  287.         name: "&aBuy 1 stack"
  288.         lore:
  289.           - "&7Price: &c%buy%$"
  290.       #Value indicated the amount of stacks
  291.       value: 1
  292.       slot: 0
  293.     #"Buy 2 stacks" button
  294.     buy2:
  295.       item:
  296.         quantity: 2
  297.         name: "&aBuy 2 stacks"
  298.         lore:
  299.           - "&7Price: &c%buy%$"
  300.       value: 2
  301.       slot: 1
  302.     #"Buy 3 stacks" button
  303.     buy3:
  304.       item:
  305.         quantity: 3
  306.         name: "&aBuy 3 stacks"
  307.         lore:
  308.           - "&7Price: &c%buy%$"
  309.       value: 3
  310.       slot: 2
  311.     #"Buy 4 stacks" button
  312.     buy4:
  313.       item:
  314.         quantity: 4
  315.         name: "&aBuy 4 stacks"
  316.         lore:
  317.           - "&7Price: &c%buy%$"
  318.       value: 4
  319.       slot: 3
  320.     #"Buy 5 stacks" button
  321.     buy5:
  322.       item:
  323.         quantity: 5
  324.         name: "&aBuy 5 stacks"
  325.         lore:
  326.           - "&7Price: &c%buy%$"
  327.       value: 5
  328.       slot: 4
  329.     #"Buy 6 stacks" button
  330.     buy6:
  331.       item:
  332.         quantity: 6
  333.         name: "&aBuy 6 stacks"
  334.         lore:
  335.           - "&7Price: &c%buy%$"
  336.       value: 6
  337.       slot: 5
  338.     #"Buy 7 stacks" button
  339.     buy7:
  340.       item:
  341.         quantity: 7
  342.         name: "&aBuy 7 stacks"
  343.         lore:
  344.           - "&7Price: &c%buy%$"
  345.       value: 7
  346.       slot: 6
  347.     #"Buy 8 stacks" button
  348.     buy8:
  349.       item:
  350.         quantity: 8
  351.         name: "&aBuy 8 stacks"
  352.         lore:
  353.           - "&7Price: &c%buy%$"
  354.       value: 8
  355.       slot: 7
  356.     #"Buy 9 stacks" button
  357.     buy9:
  358.       item:
  359.         quantity: 9
  360.         name: "&aBuy 9 stacks"
  361.         lore:
  362.           - "&7Price: &c%buy%$"
  363.       value: 9
  364.       slot: 8
  365.     #"Cancel" button
  366.     cancel:
  367.       item:
  368.         material: STAINED_GLASS
  369.         quantity: 1
  370.         damage: 14
  371.         name: "&c&lCancel"
  372.       slot: 13
  373.      
  374. #Elements of the bulk buy GUI
  375. amountSelectionGUIBulkSell:
  376.   #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  377.   size: 18
  378.   #Choose if buttons type should be replaced with the sold item's type
  379.   replaceButtonsType: true
  380.   #Buttons
  381.   buttons:
  382.     #"Sell 1 stack" button
  383.     sell1:
  384.       #When no material is specified it will be the type of the item being bought
  385.       item:
  386.         quantity: 1
  387.         name: "&aSell 1 stack"
  388.         lore:
  389.           - "&7Price: &c%sell%$"
  390.       #Value indicated the amount of stacks
  391.       value: 1
  392.       slot: 0
  393.     #"Sell 2 stacks" button
  394.     sell2:
  395.       item:
  396.         quantity: 2
  397.         name: "&aSell 2 stacks"
  398.         lore:
  399.           - "&7Price: &c%sell%$"
  400.       value: 2
  401.       slot: 1
  402.     #"Sell 3 stacks" button
  403.     sell3:
  404.       item:
  405.         quantity: 3
  406.         name: "&aSell 3 stacks"
  407.         lore:
  408.           - "&7Price: &c%sell%$"
  409.       value: 3
  410.       slot: 2
  411.     #"Sell 4 stacks" button
  412.     sell4:
  413.       item:
  414.         quantity: 4
  415.         name: "&aSell 4 stacks"
  416.         lore:
  417.           - "&7Price: &c%sell%$"
  418.       value: 4
  419.       slot: 3
  420.     #"Sell 5 stacks" button
  421.     sell5:
  422.       item:
  423.         quantity: 5
  424.         name: "&aSell 5 stacks"
  425.         lore:
  426.           - "&7Price: &c%sell%$"
  427.       value: 5
  428.       slot: 4
  429.     #"Sell 6 stacks" button
  430.     sell6:
  431.       item:
  432.         quantity: 6
  433.         name: "&aSell 6 stacks"
  434.         lore:
  435.           - "&7Price: &c%sell%$"
  436.       value: 6
  437.       slot: 5
  438.     #"Sell 7 stacks" button
  439.     sell7:
  440.       item:
  441.         quantity: 7
  442.         name: "&aSell 7 stacks"
  443.         lore:
  444.           - "&7Price: &c%sell%$"
  445.       value: 7
  446.       slot: 6
  447.     #"Sell 8 stacks" button
  448.     sell8:
  449.       item:
  450.         quantity: 8
  451.         name: "&aSell 8 stacks"
  452.         lore:
  453.           - "&7Price: &c%sell%$"
  454.       value: 8
  455.       slot: 7
  456.     #"Sell 9 stacks" button
  457.     sell9:
  458.       item:
  459.         quantity: 9
  460.         name: "&aSell 9 stacks"
  461.         lore:
  462.           - "&7Price: &c%sell%$"
  463.       value: 9
  464.       slot: 8
  465.     #"Cancel" button
  466.     cancel:
  467.       item:
  468.         material: STAINED_GLASS
  469.         quantity: 1
  470.         damage: 14
  471.         name: "&c&lCancel"
  472.       slot: 13
  473.  
  474. #Elements of the regular buy/sell GUI
  475. amountSelectionGUI:
  476.   #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  477.   size: 54
  478.   #Slot of the item being bought/sold
  479.   itemSlot: 22
  480.   #Buttons
  481.   buttons:
  482.     #"Set to 1" button
  483.     set1:
  484.       item:
  485.         material: STAINED_GLASS_PANE
  486.         quantity: 1
  487.         damage: 14
  488.         name: "&c&lSet to 1"
  489.       slot: 18
  490.     #"Remove 10" button
  491.     remove10:
  492.       item:
  493.         material: STAINED_GLASS_PANE
  494.         quantity: 10
  495.         damage: 14
  496.         name: "&c&lRemove 10"
  497.       slot: 19
  498.     #"Remove 1" button
  499.     remove1:
  500.       item:
  501.         material: STAINED_GLASS_PANE
  502.         quantity: 1
  503.         damage: 14
  504.         name: "&c&lRemove 1"
  505.       slot: 20
  506.     #"Add 1" button
  507.     add1:
  508.       item:
  509.         material: STAINED_GLASS_PANE
  510.         quantity: 1
  511.         damage: 5
  512.         name: "&a&lAdd 1"
  513.       slot: 24
  514.     #"Add 10" button
  515.     add10:
  516.       item:
  517.         material: STAINED_GLASS_PANE
  518.         quantity: 10
  519.         damage: 5
  520.         name: "&a&lAdd 10"
  521.       slot: 25
  522.     #"Set to 16" button
  523.     set16:
  524.       item:
  525.         material: STAINED_GLASS_PANE
  526.         quantity: 16
  527.         damage: 5
  528.         name: "&a&lSet to 16"
  529.       slot: 26
  530.     #"Set to 64" button
  531.     set64:
  532.       item:
  533.         material: STAINED_GLASS_PANE
  534.         quantity: 64
  535.         damage: 5
  536.         name: "&a&lSet to 64"
  537.       slot: 26
  538.     #"Confirm" button
  539.     confirm:
  540.       item:
  541.         material: STAINED_GLASS
  542.         quantity: 1
  543.         damage: 5
  544.         name: "&a&lConfirm"  
  545.       slot: 39
  546.     #"Sell all" button
  547.     sellAll:
  548.       item:
  549.         material: STAINED_GLASS
  550.         quantity: 1
  551.         damage: 5
  552.         name: "&a&lSell all"      
  553.       slot: 40
  554.     #"Buy more" button
  555.     buyMore:
  556.       item:
  557.         material: STAINED_GLASS
  558.         quantity: 64
  559.         damage: 5
  560.         name: "&a&lBuy more"      
  561.       slot: 49
  562.     #"Sell more" button
  563.     sellMore:
  564.       item:
  565.         material: STAINED_GLASS
  566.         quantity: 64
  567.         damage: 5
  568.         name: "&a&lSell more"      
  569.       slot: 49
  570.     #"Cancel" button
  571.     cancel:
  572.       item:
  573.         material: STAINED_GLASS
  574.         quantity: 1
  575.         damage: 14
  576.         name: "&c&lCancel"
  577.       slot: 41
  578.      
  579. shopMenuItems:
  580.   #Has to be unique, value doesn't matter
  581.   1:
  582.     item:
  583.       #The same rules apply for material, amount, damage and lore as for goBackButton
  584.       material: TNT
  585.       quantity: 1
  586.       name: "&c&lRaiding"
  587.     #Shop ID from shops.yml
  588.     shop: "raiding"
  589.     #Slot in shops menu, counting from 0 to 53
  590.     slot: 12
  591.   2:
  592.     item:
  593.       material: WHEAT
  594.       quantity: 1
  595.       damage: 0
  596.       name: "&c&lFarming"
  597.     shop: "farming"
  598.     slot: 13
  599.   3:
  600.     item:
  601.       material: MOB_SPAWNER
  602.       quantity: 1
  603.       damage: 0
  604.       name: "&c&lSpawners"
  605.     shop: "spawners"
  606.     slot: 14
  607.   4:
  608.     item:
  609.       material: ROTTEN_FLESH
  610.       quantity: 1
  611.       name: "&c&lMob Drops"
  612.     shop: "mobdrops"
  613.     slot: 20
  614.   5:
  615.     item:
  616.       material: NAME_TAG
  617.       quantity: 1
  618.       name: "&c&lMisc"
  619.     shop: "misc"
  620.     slot: 21
  621.   6:
  622.     item:
  623.       material: WOOL
  624.       damage: 10
  625.       quantity: 1
  626.       name: "&c&lColored Blocks"
  627.     shop: "coloredblocks"
  628.     slot: 22
  629.   7:
  630.     item:
  631.       material: POTION
  632.       quantity: 1
  633.       damage: 8257
  634.       name: "&c&lPotions"
  635.     shop: "potions"
  636.     slot: 23
  637.   8:
  638.     item:
  639.       material: DIAMOND_PICKAXE
  640.       quantity: 1
  641.       damage: 0
  642.       name: "&c&lTools"
  643.     shop: "tools"
  644.     slot: 24
  645.   9:
  646.     item:
  647.       material: COOKED_BEEF
  648.       quantity: 1
  649.       name: "&c&lFood"
  650.     shop: "food"
  651.     slot: 30
  652.   10:
  653.     item:
  654.       material: GRASS
  655.       quantity: 1
  656.       name: '&c&lBlocks'
  657.     shop: "blocks"
  658.     slot: 31
  659.   11:
  660.     item:
  661.       material: DIAMOND
  662.       quantity: 1
  663.       name: '&c&lOres'
  664.     shop: "ores"
  665.     slot: 32  
  666.    
  667. specialElements:
  668.   balance:
  669.     item:
  670.       material: GOLD_NUGGET
  671.       quantity: 1
  672.       name: "&6&lYour balance"
  673.       lore:
  674.         - "&7$%balance%"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top