Advertisement
Guest User

Config SG+

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