Advertisement
Guest User

ItemRules Config

a guest
Jul 1st, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.81 KB | None | 0 0
  1. text:
  2. CanDoPrefix: 'You can: '
  3. CanDoNextPrefix: 'Next, you can '
  4. CannotDoPrefix: 'Restricted: '
  5. DefaultRestrictedMessage: 'You cannot do that'
  6. #########################################
  7. #
  8. # Describes how XP and ItemLevels relate
  9. # e.g. if you have a rule that restricts using something
  10. # until level 5, but don't want player to lose
  11. # that ability if they die, use itemLevel.min instead of XP.min
  12. # and set levelDescresesItemLevel: false
  13. #
  14. #########################################
  15. XP:
  16. itemLevelDefaultsToXPLevel: true
  17. levelIncreasesItemLevel: true
  18. levelDecreasesItemLevel: true
  19. #########################################
  20. #
  21. # Aliases are a shorthand method for
  22. # referring to a list of itemids. Instead
  23. # of entering each itemid you want applied
  24. # to each rule, create an alias here and
  25. # use instead of the item id.
  26. #
  27. #########################################
  28. aliases:
  29. ironArmor: [306, 307, 308, 309]
  30. leatherArmor: [298, 299, 300, 301]
  31. goldArmor: [314, 315, 316, 317]
  32. diamondArmor: [310, 311, 312, 313]
  33. chainArmor: [302, 303, 304, 305]
  34. woodenEquipment: [268, 269, 270, 271, 290]
  35. stoneEquipment: [272, 273, 274, 275, 291]
  36. ironEquipment: [256, 257, 258, 267, 292]
  37. goldEquipment: [283, 284, 285, 286, 294]
  38. diamondEquipment: [276, 277, 278, 279, 293]
  39. bowandArrow: [261, 262]
  40. axes: [279, 258, 286, 275]
  41. #########################################
  42. #
  43. # rules are automatically processed and applied
  44. # at various points in the game. This is the core
  45. # of the mod where you define each restriction
  46. # BREAK, PICKUP, PLACE, USE, CRAFT
  47. #########################################
  48. rules:
  49. Stone_Pickaxe:
  50. messages:
  51. restricted: 'You cant use a diamond pickaxe until level 100 mining'
  52. actions: [USE]
  53. mcmmo:
  54. skills:
  55. mining: 100
  56. items:
  57. restrict: ['274']
  58. permissions:
  59. applyTo: rules.default
  60. Iron_Pickaxe:
  61. messages:
  62. restricted: 'You cant use a iron pickaxe until level 250 mining'
  63. actions: [USE]
  64. mcmmo:
  65. skills:
  66. mining: 250
  67. items:
  68. restrict: ['257']
  69. permissions:
  70. applyTo: rules.default
  71. Diamond_Pickaxe:
  72. messages:
  73. restricted: 'You cant use a diamond pickaxe until level 600 mining'
  74. actions: [USE]
  75. mcmmo:
  76. skills:
  77. mining: 600
  78. items:
  79. restrict: ['278']
  80. permissions:
  81. applyTo: rules.default
  82. Gold_Pickaxe:
  83. messages:
  84. restricted: 'You cant use a gold axe until level 1000 mining'
  85. actions: [USE]
  86. mcmmo:
  87. skills:
  88. mining: 1000
  89. items:
  90. restrict: ['285']
  91. permissions:
  92. applyTo: rules.default
  93. Deny_Axes:
  94. messages:
  95. restricted: 'You cant use a diamond axe until level 100 woodcutting'
  96. actions: [USE]
  97. xp:
  98. min: 100
  99. items:
  100. restrict: ['axes']
  101. permissions:
  102. applyTo: rules.default
  103. Stone_Axe:
  104. messages:
  105. restricted: 'You cant use a diamond axe until level 100 woodcutting'
  106. actions: [USE]
  107. mcmmo:
  108. skills:
  109. woodcutting: 100
  110. items:
  111. allow: ['275']
  112. permissions:
  113. applyTo: rules.default
  114. Iron_Axe:
  115. messages:
  116. restricted: 'You cant use a iron axe until level 250 woodcutting'
  117. actions: [USE]
  118. mcmmo:
  119. skills:
  120. woodcutting: 250
  121. items:
  122. allow: ['258']
  123. permissions:
  124. applyTo: rules.default
  125. Diamond_Axe:
  126. messages:
  127. restricted: 'You cant use a diamond axe until level 600 woodcutting'
  128. actions: [USE]
  129. mcmmo:
  130. skills:
  131. woodcutting: 600
  132. items:
  133. allow: ['279']
  134. permissions:
  135. applyTo: rules.default
  136. Diamond_Axes:
  137. messages:
  138. restricted: 'You cant use a diamond axe until level 600 axes'
  139. actions: [USE]
  140. mcmmo:
  141. skills:
  142. axes: 600
  143. items:
  144. allow: ['279']
  145. permissions:
  146. applyTo: rules.default
  147. Gold_Axe:
  148. messages:
  149. restricted: 'You cant use a gold axe until level 1000 woodcutting'
  150. actions: [USE]
  151. mcmmo:
  152. skills:
  153. woodcutting: 1000
  154. items:
  155. allow: ['286']
  156. permissions:
  157. applyTo: rules.default
  158. Stone_Sword:
  159. messages:
  160. restricted: 'You cant use a diamond sword until level 100 swords'
  161. actions: [USE]
  162. mcmmo:
  163. skills:
  164. swords: 100
  165. items:
  166. restrict: ['272']
  167. permissions:
  168. applyTo: rules.default
  169. Iron_Sword:
  170. messages:
  171. restricted: 'You cant use a iron sword until level 250 swords'
  172. actions: [USE]
  173. mcmmo:
  174. skills:
  175. swords: 250
  176. items:
  177. restrict: ['267']
  178. permissions:
  179. applyTo: rules.default
  180. Diamond_Sword:
  181. messages:
  182. restricted: 'You cant use a diamond sword until level 600 swords'
  183. actions: [USE]
  184. mcmmo:
  185. skills:
  186. swords: 600
  187. items:
  188. restrict: ['276']
  189. permissions:
  190. applyTo: rules.default
  191. Gold_Sword:
  192. messages:
  193. restricted: 'You cant use a gold sword until level 1000 swords'
  194. actions: [USE]
  195. mcmmo:
  196. skills:
  197. swords: 1000
  198. items:
  199. restrict: ['283']
  200. permissions:
  201. applyTo: rules.default
  202. Stone_Spade:
  203. messages:
  204. restricted: 'You cant use a stone spade until level 100 excavation'
  205. actions: [USE]
  206. mcmmo:
  207. skills:
  208. excavation: 100
  209. items:
  210. restrict: ['273']
  211. permissions:
  212. applyTo: rules.default
  213. Iron_Spade:
  214. messages:
  215. restricted: 'You cant use an iron spade until level 250 excavation'
  216. actions: [USE]
  217. mcmmo:
  218. skills:
  219. excavation: 250
  220. items:
  221. restrict: ['256']
  222. permissions:
  223. applyTo: rules.default
  224. Diamond_Spade:
  225. messages:
  226. restricted: 'You cant use a diamond spade until level 600 excavation'
  227. actions: [USE]
  228. mcmmo:
  229. skills:
  230. excavation: 600
  231. items:
  232. restrict: ['277']
  233. permissions:
  234. applyTo: rules.default
  235. Gold_Spade:
  236. messages:
  237. restricted: 'You cant use a gold spade until level 1000 excavation'
  238. actions: [USE]
  239. mcmmo:
  240. skills:
  241. excavation: 1000
  242. items:
  243. restrict: ['284']
  244. permissions:
  245. applyTo: rules.default
  246. Leather_Armor:
  247. messages:
  248. restricted: 'You cant use leather armor until level 100 of any combat skill'
  249. actions: [USE]
  250. mcmmo:
  251. skills:
  252. swords: 100
  253. items:
  254. restrict: ['leatherArmor']
  255. permissions:
  256. applyTo: rules.default
  257. Iron_Armor:
  258. messages:
  259. restricted: 'You cant use leather armor until level 250 of any combat skill'
  260. actions: [USE]
  261. mcmmo:
  262. skills:
  263. swords: 250
  264. items:
  265. restrict: ['ironArmor']
  266. permissions:
  267. applyTo: rules.default
  268. Diamond_Armor:
  269. messages:
  270. restricted: 'You cant use leather armor until level 600 of any combat skill'
  271. actions: [USE]
  272. mcmmo:
  273. skills:
  274. swords: 600
  275. items:
  276. restrict: ['diamondArmor']
  277. permissions:
  278. applyTo: rules.default
  279. Gold_Armor:
  280. messages:
  281. restricted: 'You cant use leather armor until level 1000 of any combat skill'
  282. actions: [USE]
  283. mcmmo:
  284. skills:
  285. swords: 1000
  286. items:
  287. restrict: ['goldArmor']
  288. permissions:
  289. applyTo: rules.default
  290. #########################################
  291. #
  292. # Manualrules are not automatically applied
  293. # to players. they are added via API's
  294. # or via areaRules below.
  295. #
  296. #########################################
  297. manualRules:
  298. #########################################
  299. #
  300. # An area rule is a zone where manual rules
  301. # are applied/removed from a player when they
  302. # enter/exit an area.
  303. #
  304. #########################################
  305. areaRules:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement