daily pastebin goal
5%
SHARE
TWEET

Config.yml

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