Guest User

Untitled

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