Advertisement
Guest User

Untitled

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