Advertisement
lolw0tm8

MaxApple - RANKGRANT+ config 2

May 26th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.98 KB | None | 0 0
  1. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  2. # _____ _ _____ _ #
  3. # | __ \ | | / ____| | | _ #
  4. # | |__) |__ _ _ __ | | _| | __ _ __ __ _ _ __ | |_ _| |_ #
  5. # | _ // _` | '_ \| |/ / | |_ | '__/ _` | '_ \| __|_ _| #
  6. # | | \ \ (_| | | | | <| |__| | | | (_| | | | | |_ |_| #
  7. # |_| \_\__,_|_| |_|_|\_\\_____|_| \__,_|_| |_|\__| #
  8. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  9. # |
  10. # CONFIGURATION FILE FOR RANKGRANT+ BY DEMENG7215 #
  11. # This is where you can customize the functions of RankGrant+. #
  12. # Everything in this file should be clearly explained. For questions, use the support options. #
  13. # NOTE: Some rank-related configuration options are in the "ranks.yml" file.
  14. # Below is the configuration example/explanation, followed by the actual configuration. #
  15. # |
  16. # Do not edit this value.
  17. # config-version: 1
  18. # |
  19. # Should RankGrant+ log all grants in the "log.txt" file?
  20. # This value can be either "true" or "false".
  21. # log-grants: true
  22. # |
  23. # The commands that will be executed on grant and ungrant.
  24. # Specific BASED ON YOUR PERMISSIONS PLUGIN.
  25. # You can use the %target% and %rank% placeholders.
  26. # commands:
  27. # grant:
  28. # - "none"
  29. # ungrant:
  30. # - "none"
  31. # |
  32. # The reasons of grant that will be listed in the reason selection GUI.
  33. # To create a new reason, start a new configuration section under "reasons".
  34. # You can use %target% for the name of the player who is receiving the rank, %rank% for the rank name,
  35. # %duration% for the duration of the grant, and %reason% for the reason (shouldn't really be needed).
  36. # slot = the slot number in the GUI, 1 being the first slot
  37. # item = the material that will be shown in the GUI- use 1.13 material enums
  38. # name = the display name of the item
  39. # lore = the item description
  40. # permission = the permission required to select that reason
  41. # reasons:
  42. # issue:
  43. # slot: 1
  44. # item: "PAPER"
  45. # name: "&2Donation Store Issues"
  46. # lore:
  47. # - "&aThere was an issue in the donation store."
  48. # - "&aThe purchased rank requires to be manually given."
  49. # permission: "rankgrantplus.grant"
  50. # promotion:
  51. # slot: 2
  52. # item: "PAPER"
  53. # name: "&2Promotion"
  54. # lore:
  55. # - "&aPromote &f%target% &ato the &f%rank% &arank!"
  56. # permission: "rankgrantplus.grant"
  57. # demotion:
  58. # slot: 3
  59. # item: "PAPER"
  60. # name: "&2Demotion"
  61. # lore:
  62. # - "&aDemote &f%target% &ato the &f%rank% &arank!"
  63. # permission: "rankgrantplus.grant"
  64. # other:
  65. # slot: 4
  66. # item: "BOOK"
  67. # name: "&2Other"
  68. # lore:
  69. # - "&aThis grant has no reason or the reason is not listed."
  70. # permission: "rankgrantplus.grant"
  71. # |
  72. # This is a long one. This customize every single button in the duration-choosing GUI. Do not add new configuration sections.
  73. # duration-format customizes the format of the duration text.
  74. # The %duration% placeholders in later configurations will be replaced with this text.
  75. # In duration-format, you can use %weeks%, %days%, %hours%, %minutes%, and %seconds%
  76. # for the number of weeks, days, hours, minutes and minutes.
  77. # You can use the %target% placeholder for the person who is receiving the rank in all configurations after the
  78. # duration-format configuration. You can also use %rank% for the display name of the rank that the target is receiving.
  79. # In word-permanent, simply fill out the word that you want %duration% to be replaced with if the grant is permanent.
  80. # slot = the slot number in the GUI, 1 being the first slot
  81. # item = the material that will be shown in the GUI (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)
  82. # name = the display name of the item
  83. # lore = the item description
  84. # duration:
  85. # duration-format: "&f%weeks%&7w &f%days%&7d &f%hours%&7h &f%minutes%&7m &f%seconds%&7s"
  86. # word-permanent: "&fPermanent"
  87. # add-week:
  88. # slot: 12
  89. # item: "EMERALD_BLOCK"
  90. # name: "&2Add Week"
  91. # lore:
  92. # - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  93. # - "&f&m "
  94. # - "&aCurrent Duration:"
  95. # - "%duration%"
  96. # add-day:
  97. # slot: 21
  98. # item: "EMERALD_BLOCK"
  99. # name: "&2Add Day"
  100. # lore:
  101. # - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  102. # - "&f&m "
  103. # - "&aCurrent Duration:"
  104. # - "%duration%"
  105. # add-hour:
  106. # slot: 30
  107. # item: "EMERALD_BLOCK"
  108. # name: "&2Add Hour"
  109. # lore:
  110. # - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  111. # - "&f&m "
  112. # - "&aCurrent Duration:"
  113. # - "%duration%"
  114. # add-minute:
  115. # slot: 39
  116. # item: "EMERALD_BLOCK"
  117. # name: "&2Add Minute"
  118. # lore:
  119. # - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  120. # - "&f&m "
  121. # - "&aCurrent Duration:"
  122. # - "%duration%"
  123. # add-second:
  124. # slot: 48
  125. # item: "EMERALD_BLOCK"
  126. # name: "&2Add Second"
  127. # lore:
  128. # - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  129. # - "&f&m "
  130. # - "&aCurrent Duration:"
  131. # - "%duration%"
  132. # subtract-week:
  133. # slot: 16
  134. # item: "REDSTONE_BLOCK"
  135. # name: "&4Subtract Week"
  136. # lore:
  137. # - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  138. # - "&f&m "
  139. # - "&cCurrent Duration:"
  140. # - "%duration%"
  141. # subtract-day:
  142. # slot: 25
  143. # item: "REDSTONE_BLOCK"
  144. # name: "&4Subtract Day"
  145. # lore:
  146. # - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  147. # - "&f&m "
  148. # - "&cCurrent Duration:"
  149. # - "%duration%"
  150. # subtract-hour:
  151. # slot: 34
  152. # item: "REDSTONE_BLOCK"
  153. # name: "&4Subtract Hour"
  154. # lore:
  155. # - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  156. # - "&f&m "
  157. # - "&cCurrent Duration:"
  158. # - "%duration%"
  159. # subtract-minute:
  160. # slot: 43
  161. # item: "REDSTONE_BLOCK"
  162. # name: "&4Subtract Minute"
  163. # lore:
  164. # - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  165. # - "&f&m "
  166. # - "&cCurrent Duration:"
  167. # - "%duration%"
  168. # subtract-second:
  169. # slot: 52
  170. # item: "REDSTONE_BLOCK"
  171. # name: "&4Subtract Second"
  172. # lore:
  173. # - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  174. # - "&f&m "
  175. # - "&cCurrent Duration:"
  176. # - "%duration%"
  177. # permanent:
  178. # slot: 5
  179. # item: "OBSIDIAN"
  180. # name: "&6Permanent"
  181. # lore:
  182. # - "&f%target% &ewill have the &f%rank% &erank forever."
  183. # continue:
  184. # slot: 54
  185. # item: "ARROW"
  186. # name: "&6&lContinue"
  187. # lore:
  188. # - "&eGrant &f%target% &ethe &f%rank% &efor &f%duration%&e."
  189. # - "&eContinue to the reason selection page."
  190. #confirmation:
  191. # confirm:
  192. # item: "EMERALD_BLOCK"
  193. # name: "&2&lConfirm Grant"
  194. # lore:
  195. # - "&aConfirm your grant."
  196. # - "&f&m "
  197. # - "&aTarget: &f%target%"
  198. # - "&aRank: &f%rank%"
  199. # - "&aDuration: %duration%"
  200. # - "&aReason: &f%reason%"
  201. # message: "&aGranted &f%target% &athe &f%rank% &arank for &f%duration% &afor the reason &f%reason%&a."
  202. # cancel:
  203. # item: "REDSTONE_BLOCK"
  204. # name: "&4&lCancel Grant"
  205. # lore:
  206. # - "&cCancel your grant."
  207. # - "&f&m "
  208. # - "&cTarget: &f%target%"
  209. # - "&cRank: &f%rank%"
  210. # - "&cDuration: %duration%"
  211. # - "&cReason: &f%reason%"
  212. # message: "&aGrant has been successfully cancelled."
  213. # |
  214. # END OF CONFIGURATION EXAMPLE AND EXPLANATION, START OF CONFIGURATION. #
  215.  
  216. config-version: 3
  217. log-grants: true
  218. commands:
  219. grant:
  220. - "pex user %target% group set %rank%"
  221. ungrant:
  222. - "pex user %target% remove %rank%"
  223. reasons:
  224. issue:
  225. slot: 1
  226. item: "PAPER"
  227. name: "&2Donation Store Issues"
  228. lore:
  229. - "&aThere was an issue in the donation store."
  230. - "&aThe purchased rank requires to be manually given."
  231. permission: "rankgrantplus.grant"
  232. promotion:
  233. slot: 2
  234. item: "PAPER"
  235. name: "&2Promotion"
  236. lore:
  237. - "&aPromote &f%target% &ato the &f%rank% &arank!"
  238. permission: "rankgrantplus.grant"
  239. demotion:
  240. slot: 3
  241. item: "PAPER"
  242. name: "&2Demotion"
  243. lore:
  244. - "&aDemote &f%target% &ato the &f%rank% &arank!"
  245. permission: "rankgrantplus.grant"
  246. other:
  247. slot: 4
  248. item: "BOOK"
  249. name: "&2Other"
  250. lore:
  251. - "&aThis grant has no reason or the reason is not listed."
  252. permission: "rankgrantplus.grant"
  253. duration:
  254. duration-format: "&f%weeks%&7w &f%days%&7d &f%hours%&7h &f%minutes%&7m &f%seconds%&7s"
  255. word-permanent: "&fPermanent"
  256. add-week:
  257. slot: 12
  258. item: "EMERALD_BLOCK"
  259. name: "&2Add Week"
  260. lore:
  261. - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  262. - "&f&m "
  263. - "&aCurrent Duration:"
  264. - "%duration%"
  265. add-day:
  266. slot: 21
  267. item: "EMERALD_BLOCK"
  268. name: "&2Add Day"
  269. lore:
  270. - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  271. - "&f&m "
  272. - "&aCurrent Duration:"
  273. - "%duration%"
  274. add-hour:
  275. slot: 30
  276. item: "EMERALD_BLOCK"
  277. name: "&2Add Hour"
  278. lore:
  279. - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  280. - "&f&m "
  281. - "&aCurrent Duration:"
  282. - "%duration%"
  283. add-minute:
  284. slot: 39
  285. item: "EMERALD_BLOCK"
  286. name: "&2Add Minute"
  287. lore:
  288. - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  289. - "&f&m "
  290. - "&aCurrent Duration:"
  291. - "%duration%"
  292. add-second:
  293. slot: 48
  294. item: "EMERALD_BLOCK"
  295. name: "&2Add Second"
  296. lore:
  297. - "&aTemporarily grant &f%target% &athe &f%rank% &arank."
  298. - "&f&m "
  299. - "&aCurrent Duration:"
  300. - "%duration%"
  301. subtract-week:
  302. slot: 16
  303. item: "REDSTONE_BLOCK"
  304. name: "&4Subtract Week"
  305. lore:
  306. - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  307. - "&f&m "
  308. - "&cCurrent Duration:"
  309. - "%duration%"
  310. subtract-day:
  311. slot: 25
  312. item: "REDSTONE_BLOCK"
  313. name: "&4Subtract Day"
  314. lore:
  315. - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  316. - "&f&m "
  317. - "&cCurrent Duration:"
  318. - "%duration%"
  319. subtract-hour:
  320. slot: 34
  321. item: "REDSTONE_BLOCK"
  322. name: "&4Subtract Hour"
  323. lore:
  324. - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  325. - "&f&m "
  326. - "&cCurrent Duration:"
  327. - "%duration%"
  328. subtract-minute:
  329. slot: 43
  330. item: "REDSTONE_BLOCK"
  331. name: "&4Subtract Minute"
  332. lore:
  333. - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  334. - "&f&m "
  335. - "&cCurrent Duration:"
  336. - "%duration%"
  337. subtract-second:
  338. slot: 52
  339. item: "REDSTONE_BLOCK"
  340. name: "&4Subtract Second"
  341. lore:
  342. - "&cTemporarily grant &f%target% &cthe &f%rank% &crank."
  343. - "&f&m "
  344. - "&cCurrent Duration:"
  345. - "%duration%"
  346. permanent:
  347. slot: 5
  348. item: "OBSIDIAN"
  349. name: "&6Permanent"
  350. lore:
  351. - "&f%target% &ewill have the &f%rank% &erank forever."
  352. continue:
  353. slot: 54
  354. item: "ARROW"
  355. name: "&6&lContinue"
  356. lore:
  357. - "&eGrant &f%target% &ethe &f%rank% &efor &f%duration%&e."
  358. - "&eContinue to the reason selection page."
  359. confirmation:
  360. confirm:
  361. item: "EMERALD_BLOCK"
  362. name: "&2&lConfirm Grant"
  363. lore:
  364. - "&aConfirm your grant."
  365. - "&f&m "
  366. - "&aTarget: &f%target%"
  367. - "&aRank: &f%rank%"
  368. - "&aDuration: %duration%"
  369. - "&aReason: &f%reason%"
  370. message: "&aGranted &f%target% &athe &f%rank% &arank for &f%duration% &afor the reason &f%reason%&a."
  371. cancel:
  372. item: "REDSTONE_BLOCK"
  373. name: "&4&lCancel Grant"
  374. lore:
  375. - "&cCancel your grant."
  376. - "&f&m "
  377. - "&cTarget: &f%target%"
  378. - "&cRank: &f%rank%"
  379. - "&cDuration: %duration%"
  380. - "&cReason: &f%reason%"
  381. message: "&aGrant has been successfully cancelled."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement