Guest User

Untitled

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