Guest User

Untitled

a guest
Feb 9th, 2021
27
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.
  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. # - CUSTOM (requires custom implementation, see API section in plugin documentation)
  26. economyType: VAULT
  27. # Name of the main GUI
  28. shopMenuName: "&8&l » &8&nServer Shop&8&l «"
  29. # Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  30. shopMenuSize: 27
  31. # Choose an item to fill the empty slots of menu with
  32. shopMenuFillItem:
  33. material: STAINED_GLASS_PANE
  34. damage: 15
  35. name: " "
  36. # Define whether selling all with middle mouse button is enabled
  37. enableSellAll: true
  38. # Define whether the buy GUI with option to select quantity is enabled
  39. enableBuyGUI: true
  40. # Define whether the sell GUI with option to select quantity is enabled
  41. enableSellGUI: true
  42. # Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  43. enableSellGUISellAll: true
  44. # Define whether after closing/buying/selling the shop GUI should be opened again
  45. returnToShop: true
  46. # Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  47. quickBuySell: false
  48. # Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  49. hideBuyPriceForUnbuyable: true
  50. # Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  51. hideSellPriceForUnsellable: true
  52. # Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  53. invertBuySell: false
  54. # Maximum amount of enchantments players can add to an item, set to -1 for no limit
  55. maxEnchantments: 3
  56. # 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)
  57. limitEnchantmentLevelDiff: false
  58. # Define whether the amount selection double click bug fix should be enabled
  59. enableAmountSelectionFix: true
  60. # 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)
  61. allowAllSellAllStackSizes: false
  62. # 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)
  63. roundPrices: none
  64. # 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.
  65. disableMainMenu: false
  66. # Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  67. useDifferentMessagesForFreeItems: true
  68. # Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
  69. capitalizeItemNames: true
  70. # Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  71. priceModifiersType: BOTH
  72. # Choose if the gui shall be closed after using the Sell All feature
  73. closeGuiAfterSellAll: false
  74. # 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)
  75. openBulkGuiImmediately: false
  76. # 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
  77. # Format is same as for regular items in shops.yml
  78. itemStackSizeCappedAt:
  79. 1:
  80. material: ENDER_PEARL
  81. size: 16
  82. 2:
  83. material: SNOW_BALL
  84. size: 16
  85. 3:
  86. material: SIGN
  87. size: 16
  88. 4:
  89. material: EGG
  90. size: 16
  91. 5:
  92. material: BUCKET
  93. size: 1
  94. # Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  95. disableShopsInGamemodes:
  96. - ADVENTURE
  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 Bán giá: 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 Bán giá:
  121. shopItemLoreFormat:
  122. # This lore will be applied to items
  123. item:
  124. - "&8■ &7Mua giá: &e$%buy%"
  125. - "&8■ &7Bán giá: &e$%sell%"
  126. - ""
  127. - "&a◀ Chuột trái để mua"
  128. - "&c▶ Chuột phải để bán"
  129. - ""
  130. - "&e▶ Con lăn để bán tất cả"
  131. # This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  132. itemBuyGUI:
  133. - ""
  134. - "&8■ &7Mua giá: &e$%buy%"
  135. - ""
  136. # This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  137. itemSellGUI:
  138. - ""
  139. - "&8■ &7Bán giá: &e$%sell%"
  140. - ""
  141. # This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  142. itemSellGUISellAll:
  143. - ""
  144. - "&8■ &7Bán tất cả giá: &e$%sell%"
  145. - ""
  146. # This one to permissions
  147. permission:
  148. - ""
  149. - "&8■ &7Mua giá: &e$%buy%"
  150. - ""
  151. - "&a◀ Chuột trái để mua"
  152. # And this one to enchantments
  153. enchantment:
  154. - ""
  155. - "&8■ &7Mua giá: &e$%buy%"
  156. - ""
  157. - "&a◀ Chuột trái để mua"
  158. # And the last one to commands
  159. command:
  160. - ""
  161. - "&8■ &7Mua giá: &e$%buy%"
  162. - ""
  163. - "&a◀ Chuột trái để mua."
  164.  
  165. log:
  166. # Define whether transactions will be logged to the console/main server log
  167. toConsole: false
  168. # Define whether transactions will be logged to a separate log
  169. toFile: false
  170. # Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  171. formatDate: "yyyy/MM/dd HH:mm:ss"
  172. # Log message for bought items
  173. formatBuy: "&a%player%&7 đã mua &a%amount% &7x &a%item% &7giá &a%price%$"
  174. # Log message for sold items
  175. formatSell: "&a%player% &7đã bán &a%amount% &7x &a%item% &7giá &a%price%$"
  176. # Log message for sold all items
  177. formatSellAll: "&a%player% &7đã bán tất cả &a%amount% &7x &a%item% &7giá &a%price%$"
  178.  
  179. # Sell hand command settings
  180. sellHand:
  181. # When set to true, players will be able to sell any quantity of the item (the price will be calculated from the base price)
  182. allowAllQuantites: true
  183. # When set to true, /sell hand will work same way as /sell handall does
  184. sellsAllItems: false
  185.  
  186. # Sell all command settings
  187. sellAll:
  188. # When set to true, players will get a detailed summary with prices of each item stack sold
  189. detailedSummary: false
  190. # Choose if maximal Bán giá: of an item across all shops should be chosen in sell all. Enabling this may affect sell command performance when having lots of shops/items
  191. findMaxSellPrice: true
  192.  
  193. buttons:
  194. # "Go back button"
  195. goBack:
  196. item:
  197. # Material name, full list can be found here: http://wiki.brcdev.net/Materials
  198. material: CHEST
  199. # Amount of the item
  200. amount: 1
  201. # (optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  202. damage: 0
  203. # (optional) Custom name
  204. name: " &8『 &6&lVề cửa hàng &8』"
  205. # (optional) Lore, can contain multiple lines
  206. lore:
  207. - ""
  208. - " &7Muốn về cửa hàng chứ??"
  209. - ""
  210. - " &e» Nhấn để quay về «"
  211. # Slot in each shop's GUI
  212. slot: 49
  213. # "Previous page" button
  214. previousPage:
  215. item:
  216. material: ARROW
  217. quantity: 1
  218. name: ""
  219. lore:
  220. - "&f『"
  221. - " &bTrang trước"
  222. - "&f 』"
  223. slot: 48
  224. # "Next page" button
  225. nextPage:
  226. item:
  227. material: ARROW
  228. quantity: 1
  229. name: ""
  230. lore:
  231. - "&f『"
  232. - " &bTrang sau"
  233. - "&f 』"
  234. slot: 50
  235.  
  236. # Elements of the bulk buy GUI
  237. amountSelectionGUIBulkBuy:
  238. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  239. size: 18
  240. # Choose if buttons type should be replaced with the bought item's type
  241. replaceButtonsType: false
  242. # Buttons
  243. buttons:
  244. # "Buy 1 stack" button
  245. buy1:
  246. # When no material is specified it will be the type of the item being bought
  247. item:
  248. material: CHEST
  249. quantity: 1
  250. name: "&8『 &6&l1 STACKS &8』"
  251. lore:
  252. - "&7 ■ &bGiá: &f%buy%$"
  253. # Value indicated the amount of stacks
  254. value: 1
  255. slot: 0
  256. # "Buy 2 stacks" button
  257. buy2:
  258. item:
  259. material: CHEST
  260. quantity: 2
  261. name: "&8『 &6&l2 STACKS &8』"
  262. lore:
  263. - "&7 ■ &bGiá: &f%buy%$"
  264. value: 2
  265. slot: 1
  266. # "Buy 3 stacks" button
  267. buy3:
  268. item:
  269. material: CHEST
  270. quantity: 3
  271. name: "&8『 &6&l3 STACKS &8』"
  272. lore:
  273. - "&7 ■ &bGiá: &f%buy%$"
  274. value: 3
  275. slot: 2
  276. # "Buy 4 stacks" button
  277. buy4:
  278. item:
  279. material: CHEST
  280. quantity: 4
  281. name: "&8『 &6&l4 STACKS &8』"
  282. lore:
  283. - "&7 ■ &bGiá: &f%buy%$"
  284. value: 4
  285. slot: 3
  286. # "Buy 5 stacks" button
  287. buy5:
  288. item:
  289. material: CHEST
  290. quantity: 5
  291. name: "&8『 &6&l5 STACKS &8』"
  292. lore:
  293. - "&7 ■ &bGiá: &f%buy%$"
  294. value: 5
  295. slot: 4
  296. # "Buy 6 stacks" button
  297. buy6:
  298. item:
  299. material: CHEST
  300. quantity: 6
  301. name: "&8『 &6&l6 STACKS &8』"
  302. lore:
  303. - "&7 ■ &bGiá: &f%buy%$"
  304. value: 6
  305. slot: 5
  306. # "Buy 7 stacks" button
  307. buy7:
  308. item:
  309. material: CHEST
  310. quantity: 7
  311. name: "&8『 &6&l6 STACKS &8』"
  312. lore:
  313. - "&7 ■ &bGiá: &f%buy%$"
  314. value: 7
  315. slot: 6
  316. # "Buy 8 stacks" button
  317. buy8:
  318. item:
  319. material: CHEST
  320. quantity: 8
  321. name: "&8『 &6&l8 STACKS &8』"
  322. lore:
  323. - "&7 ■ &bGiá: &f%buy%$"
  324. value: 8
  325. slot: 7
  326. # "Buy 9 stacks" button
  327. buy9:
  328. item:
  329. material: CHEST
  330. quantity: 9
  331. name: "&8『 &6&l9 STACKS &8』"
  332. lore:
  333. - "&7&7&bGiá: &f%buy%$"
  334. value: 9
  335. slot: 8
  336. # "Cancel" button
  337. cancel:
  338. item:
  339. material: RED_STAINED_GLASS_PANE
  340. quantity: 1
  341. damage: 14
  342. name: "&8『 &c&lHỦY &8』"
  343. slot: 13
  344.  
  345. # Elements of the bulk buy GUI
  346. amountSelectionGUIBulkSell:
  347. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  348. size: 18
  349. # Choose if buttons type should be replaced with the sold item's type
  350. replaceButtonsType: true
  351. # Buttons
  352. buttons:
  353. # "Sell 1 stack" button
  354. sell1:
  355. # When no material is specified it will be the type of the item being bought
  356. item:
  357. material: CHEST
  358. quantity: 1
  359. name: "&bBán 1 stack"
  360. lore:
  361. - "&bGiá: &c%sell%$"
  362. # Value indicated the amount of stacks
  363. value: 1
  364. slot: 0
  365. # "Sell 2 stacks" button
  366. sell2:
  367. item:
  368. material: CHEST
  369. quantity: 2
  370. name: "&bBán 2 stacks"
  371. lore:
  372. - "&bGiá: &c%sell%$"
  373. value: 2
  374. slot: 1
  375. # "Sell 3 stacks" button
  376. sell3:
  377. item:
  378. material: CHEST
  379. quantity: 3
  380. name: "&bBán 3 stacks"
  381. lore:
  382. - "&bGiá: &c%sell%$"
  383. value: 3
  384. slot: 2
  385. # "Sell 4 stacks" button
  386. sell4:
  387. item:
  388. material: CHEST
  389. quantity: 4
  390. name: "&bBán 4 stacks"
  391. lore:
  392. - "&bGiá: &c%sell%$"
  393. value: 4
  394. slot: 3
  395. # "Sell 5 stacks" button
  396. sell5:
  397. item:
  398. material: CHEST
  399. quantity: 5
  400. name: "&bBán 5 stacks"
  401. lore:
  402. - "&bGiá: &c%sell%$"
  403. value: 5
  404. slot: 4
  405. # "Sell 6 stacks" button
  406. sell6:
  407. item:
  408. material: CHEST
  409. quantity: 6
  410. name: "&bBán 6 stacks"
  411. lore:
  412. - "&bGiá: &c%sell%$"
  413. value: 6
  414. slot: 5
  415. # "Sell 7 stacks" button
  416. sell7:
  417. item:
  418. material: CHEST
  419. quantity: 7
  420. name: "&bBán 7 stacks"
  421. lore:
  422. - "&bGiá: &c%sell%$"
  423. value: 7
  424. slot: 6
  425. # "Sell 8 stacks" button
  426. sell8:
  427. item:
  428. material: CHEST
  429. quantity: 8
  430. name: "&bBán 8 stacks"
  431. lore:
  432. - "&bGiá: &c%sell%$"
  433. value: 8
  434. slot: 7
  435. # "Sell 9 stacks" button
  436. sell9:
  437. item:
  438. material: CHEST
  439. quantity: 9
  440. name: "&bBán 9 stacks"
  441. lore:
  442. - "&bGiá: &c%sell%$"
  443. value: 9
  444. slot: 8
  445. # "Cancel" button
  446. cancel:
  447. item:
  448. material: RED_STAINED_GLASS_PANE
  449. quantity: 1
  450. damage: 14
  451. name: "&cHủy"
  452. slot: 13
  453.  
  454. # Elements of the regular buy/sell GUI
  455. amountSelectionGUI:
  456. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  457. size: 54
  458. # Slot of the item being bought/sold
  459. itemSlot: 22
  460. # Buttons
  461. buttons:
  462. # "Set to 1" button
  463. set1:
  464. item:
  465. material: RED_STAINED_GLASS_PANE
  466. quantity: 1
  467. damage: 14
  468. name: "&bĐưa về 1"
  469. slot: 18
  470. # "Remove 10" button
  471. remove10:
  472. item:
  473. material: RED_STAINED_GLASS_PANE
  474. quantity: 10
  475. damage: 14
  476. name: "&bXóa 10"
  477. slot: 19
  478. # "Remove 1" button
  479. remove1:
  480. item:
  481. material: RED_STAINED_GLASS_PANE
  482. quantity: 1
  483. damage: 14
  484. name: "&bXóa 1"
  485. slot: 20
  486. # "Add 1" button
  487. add1:
  488. item:
  489. material: LIME_STAINED_GLASS_PANE
  490. quantity: 1
  491. damage: 5
  492. name: "&bThêm 1"
  493. slot: 24
  494. # "Add 10" button
  495. add10:
  496. item:
  497. material: LIME_STAINED_GLASS_PANE
  498. quantity: 10
  499. damage: 5
  500. name: "&bThêm 10"
  501. slot: 25
  502. # "Set to 16" button
  503. set16:
  504. item:
  505. material: LIME_STAINED_GLASS_PANE
  506. quantity: 16
  507. damage: 5
  508. name: "&bChỉnh 16"
  509. slot: 26
  510. # "Set to 64" button
  511. set64:
  512. item:
  513. material: LIME_STAINED_GLASS_PANE
  514. quantity: 64
  515. damage: 5
  516. name: "&bChỉnh 64"
  517. slot: 26
  518. # "Confirm" button
  519. confirm:
  520. item:
  521. material: LIME_STAINED_GLASS_PANE
  522. quantity: 1
  523. damage: 5
  524. name: "&a&lXÁC NHẬN"
  525. slot: 39
  526. # "Sell all" button
  527. sellAll:
  528. item:
  529. material: LIME_STAINED_GLASS_PANE
  530. quantity: 1
  531. damage: 5
  532. name: "&bBán tất cả"
  533. slot: 40
  534. # "Buy more" button
  535. buyMore:
  536. item:
  537. material: LIME_STAINED_GLASS_PANE
  538. quantity: 64
  539. damage: 5
  540. name: "&aMua nhiều hơn"
  541. slot: 49
  542. # "Sell more" button
  543. sellMore:
  544. item:
  545. material: LIME_STAINED_GLASS_PANE
  546. quantity: 64
  547. damage: 5
  548. name: "&aBán nhiều hơn"
  549. slot: 49
  550. # "Cancel" button
  551. cancel:
  552. item:
  553. material: RED_STAINED_GLASS_PANE
  554. quantity: 1
  555. damage: 14
  556. name: "&cHủy"
  557. slot: 41
  558.  
  559. shopMenuItems:
  560. # Has to be unique, value doesn't matter
  561. 1:
  562. item:
  563. # The same rules apply for material, amount, damage and lore as for goBackButton
  564. material: PLAYER_HEAD
  565. quantity: 1
  566. damage: 3
  567. skullOwner: Mannahara
  568. name: "&8 『 &aKHỐI &8』"
  569. lore:
  570. - "&f"
  571. - "&8&7Bạn muốn mua/bán một khối nào đó?"
  572. - "&8&7Hãy xem thử trong đây có không"
  573. - "&8&7nhé, có thể có đấy!."
  574. - ""
  575. - " &e » &f&nNhấn vào để mở&e «"
  576. # Shop ID from shops.yml
  577. shop: "blocks"
  578. # Slot in shops menu, counting from 0 to 53
  579. slot: 9
  580. 2:
  581. item:
  582. material: PLAYER_HEAD
  583. quantity: 1
  584. damage: 3
  585. skullOwner: Melon_
  586. name: "&8 『 &dThực Phẩm &8』"
  587. lore:
  588. - "&f"
  589. - "&8&7Bạn muốn mua/bán một thực phẩm nào đó?"
  590. - "&8&7Hãy xem thử trong đây có không"
  591. - "&8&7nhé, có thể có đấy!."
  592. - ""
  593. - " &e » &f&nNhấn vào để mở&e «"
  594. shop: "food"
  595. slot: 10
  596. 3:
  597. item:
  598. material: DIAMOND_ORE
  599. quantity: 1
  600. damage: 0
  601. name: "&8 『 &bQuặng &8』"
  602. lore:
  603. - "&f"
  604. - "&8&7Bạn muốn bán một quặng nào đó?"
  605. - "&8&7Hãy xem thử trong đây có không"
  606. - "&8&7nhé, có thể có đấy!."
  607. - ""
  608. - " &e » &f&nNhấn vào để mở&e «"
  609. shop: "ores"
  610. slot: 11
  611. 4:
  612. item:
  613. material: WHEAT_SEEDS
  614. quantity: 1
  615. name: "&8 『 &aNông Sản &8』"
  616. lore:
  617. - "&f"
  618. - "&8&7Bạn muốn mua/bán nông sản nào đó?"
  619. - "&8&7Hãy xem thử trong đây có không"
  620. - "&8&7nhé, có thể có đấy!."
  621. - ""
  622. - " &e » &f&nNhấn vào để mở&e «"
  623. shop: "farming"
  624. slot: 13
  625. 7:
  626. item:
  627. material: BONE
  628. quantity: 1
  629. name: "&8 『 &cQuái vật &8』"
  630. lore:
  631. - "&f"
  632. - "&8&7Bạn muốn mua/bán một vật phẩm nào"
  633. - "&8&7từ quái nào đó? Hãy xem thử trong"
  634. - "&8&7đây có không nhé, có thể có đấy!."
  635. - ""
  636. - " &e » &f&nNhấn vào để mở&e «"
  637. shop: "drops"
  638. slot: 15
  639. colorblocks:
  640. item:
  641. material: PLAYER_HEAD
  642. quantity: 1
  643. damage: 3
  644. skullOwner: Wool
  645. name: "&8 『 &eKhối màu &8』"
  646. lore:
  647. - "&f"
  648. - "&8&7Len màu, kính màu bla bla :))"
  649. - ""
  650. - " &e » &f&nNhấn vào để mở&e «"
  651. shop: "colorblocks"
  652. slot: 16
  653. 9:
  654. item:
  655. material: SADDLE
  656. quantity: 1
  657. name: "&8 『 &6Linh Tinh &8』"
  658. lore:
  659. - "&f"
  660. - "&8&7Linh ta linh tinh gì đấy :))"
  661. - ""
  662. - " &e » &f&nNhấn vào để mở&e «"
  663. shop: "miscellanous"
  664. slot: 17
  665. fillItem:
  666. material: STAINED_GLASS_PANE
  667. damage: 7
  668. name: ""
  669. specialElements:
  670. balance:
  671. item:
  672. material: GOLD_BLOCK
  673. quantity: 1
  674. name: "&bTiền"
  675. lore:
  676. - "&a%balance%$"
RAW Paste Data Copied