Advertisement
Guest User

cactuscrateerror

a guest
Jul 9th, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.57 KB | None | 0 0
  1. # - Cactus Crate by Dinosaurs
  2. # - For more information visit http://dev.bukkit.org/bukkit-plugins/cactus-crate/
  3. # Warning: Imagination is allowed here.
  4.  
  5. #####################
  6. # - Format - #
  7. #####################
  8.  
  9. # ExampleCrate
  10. # buy-enabled: [true/false]
  11. # cost: [###]
  12. # need-perm-to-buy: [true/false]
  13. # is-physical: [true/false]
  14. # item: '[Item Name/ID]'
  15. # item-name: '[Text]'
  16. # item-lore:
  17. # - '[Line 1]'
  18. # - '[Line 2]'
  19. # - '[Line 3]'
  20. # use-gui: '[true/false]'
  21. # '[#]'
  22. # playermessage: '[Text]'
  23. # display-item: '[Text]'
  24. # detail: '[Text]'
  25. # commands:
  26. # - [Command 1]
  27. # - [Command 2]
  28. # - [Command 3]
  29.  
  30.  
  31.  
  32.  
  33. #######################
  34. # - Example Crate 1 - #
  35. #######################
  36.  
  37. # What should the Unique Crate Identifier be?
  38. # Note: There can't be 2 crates with the same Crate Identifier
  39. crate:
  40.  
  41. ######################
  42. # - Crate Settings - #
  43. ######################
  44.  
  45. # Should this crate be for sale?
  46. buy-enabled: false
  47.  
  48. # What is the cost for buying this crate?
  49. cost: 3000
  50.  
  51. # Do you need permission to buy this crate?
  52. # If true, the permission for this crate is cactuscrate.buy.crate
  53. need-perm-to-buy: false
  54.  
  55. # Is the crate Virtual, or Physical.
  56. # Set this to true, if you want it to be physical
  57. # Set this to false, if you want it to be virtual
  58. is-physical: true
  59.  
  60. # If the crate is physical, what kind of item should it be.
  61. item: 'chest'
  62.  
  63. # What should the item's name be?
  64. item-name: '{GREEN} General Crate'
  65.  
  66. # What is the items lore?
  67. item-lore:
  68. - '{WHITE}An {GREEN}Cactus {GOLD}Crate'
  69. - '{WHITE}Contains $1000 and more!'
  70.  
  71. # Would you like the crate to use an GUI?
  72. # if true, it will open a inventory, adding in placeholders for the reward
  73. # otherwise it will just give the rewards
  74. use-gui: true
  75.  
  76. ######################
  77. # - Crate Rewards - #
  78. ######################
  79.  
  80. # 1/1 (100%) Chance to recieve an $1000, 4 Apples, 4 Pork, 50 Exp
  81. # Do you want the player to recieve an reward whenever they open an crate?
  82. '1':
  83.  
  84. # What message do you want to send to the player when they recieve the crate?
  85. playermessage: 'Recieved Basic Package'
  86.  
  87. # How would you describe this reward?
  88. # Players viewing /crate info crate
  89. detail: '$1000, 4 Apples, 4 Pork, 50 Exp'
  90.  
  91. # If the crate has an gui, what do you want the icon to be?
  92. # {item} {name...} {lore...}
  93. display-item: 'chest name:{BLUE}Basic lore:{WHITE}$1000/n4_Apples/n4Pork/n100_Exp'
  94.  
  95. # What commands are used to give out this reward?
  96. commands:
  97. - '/eco give {PLAYER} 1000'
  98. - '/give {PLAYER} apple 4'
  99. - '/give {PLAYER} pork 4'
  100. - '/xp give {PLAYER} 50'
  101.  
  102. # 1/5 (20%) Chance to recieve an $2000
  103. '5':
  104. playermessage: You have won $2000!
  105. display-item: 'book name:{BLUE}$2000 lore:$2000!'
  106. detail: $2000
  107. commands:
  108. - /eco give {PLAYER} 2000
  109.  
  110. # 1/20 (5%) Chance to recieve 5 diamonds
  111. '20':
  112. playermessage: Diamond!
  113. display-item: 'diamond name:{BLUE}Diamonds lore:5_Diamonds!'
  114. broadcast: '{PLAYER} has recieved 5 Diamonds from opening a crate.'
  115. detail: 5 Diamonds
  116. commands:
  117. - /give {PLAYER} diamond 5
  118.  
  119. # 1/100 (1%) Chance to win a full diamond-armor set.
  120. '100':
  121. playermessage: You're set for Battle!
  122. display-item: 'diamond_helmet name:{BLUE}Battle_Kit lore:Full_Set_of_Armor'
  123. detail: Full Diamond-Armor Set!
  124. commands:
  125. - '/give {PLAYER} 310 1'
  126. - '/give {PLAYER} 311 1'
  127. - '/give {PLAYER} 312 1'
  128. - '/give {PLAYER} 313 1'
  129.  
  130. # 1/150 (0.67%) Chance to recieve 5 chest
  131. '150':
  132. playermessage: When you opened the crate, 5 more crates miraculously appeared!
  133. display-item: 'chest name:{BLUE}Cactus_Crates! lore:5_crates!'
  134. broadcast: '{PLAYER} has recieved 5 crates opening a crate!'
  135. detail: Five Crates
  136. commands:
  137. - '/crates give {PLAYER} 5'
  138.  
  139. # 1/200 (0.05%) Chance to recieve an Pig Spawner
  140. '200':
  141. playermessage: 'The crate contained an Pig Spawner!'
  142. display-item: 'mob_spawner name:{BLUE}Pig_Spawner lore:How_Lucky!'
  143. broadcast: '{PLAYER} has recieved an Pig Spawner from opening a crate.'
  144. detail: Pig Spawner
  145. commands:
  146. - '/give {PLAYER} 52 1'
  147.  
  148.  
  149. #######################
  150. # - Example Crate 2 - #
  151. #######################
  152. luckycrate:
  153. buy-enabled: false
  154. cost: 10000
  155. need-perm-to-buy: false
  156. is-physical: true
  157. item: 130
  158. item-name: '{GOLD}Lucky Crate'
  159. item-lore:
  160. - '{WHITE} A crate which can hold a variety of items. Good Luck!'
  161. use-gui: true
  162. '4':
  163. playermessage: 'You have found Trash!'
  164. display-item: '118 name:{BLUE}Trash lore:{RED}Fished out of the Dumpster'
  165. detail: '{LIGHT_PURPLE}Better Luck Next Time!'
  166. commands:
  167. - '/give {PLAYER} 31 1'
  168. - '/give {PLAYER} 77 3'
  169. '100':
  170. playermessage: 'You have found the boots of the Factions God set!'
  171. display-item: '313 name:{BLUE}Factions_God_Set lore:{RED}Boots'
  172. detail: '{LIGHT_PURPLE}Factions God Set: Boots'
  173. commands:
  174. - '/give {PLAYER} 313 1 name:&4God_Boots 0:4 4:4 1:4 3:4 7:3 2:4
  175. '100':
  176. playermessage: 'You have found the helmet of the Factions God set!'
  177. display-item: '310 name:{BLUE}Factions_God_Set lore:{RED}Helmet'
  178. detail: '{LIGHT_PURPLE}Factions God Set: Helmet'
  179. commands:
  180. - '/give {PLAYER} 310 1 name:&4God_Helm lore:{white}A_factions_legend 0:4 4:4 1:4 3:4 7:3 5:3'
  181. '100':
  182. playermessage: 'You have found the chestplate of the Factions God set!'
  183. display-item: '311 name:{BLUE}Factions_God_Set lore:{RED}Chestplate'
  184. detail: '{LIGHT_PURPLE}Factions God Set: Chestplate'
  185. commands:
  186. - '/give {PLAYER} 311 1 name:&4God_Chestplate lore:{white}Made_from_stars 0:4 4:4 1:4 3:4 7:3
  187. '100':
  188. playermessage: 'You have found the leggings of the Factions God set!'
  189. display-item: '312 name:{BLUE}Factions_God_Set lore:{RED}Leggings'
  190. detail: '{LIGHT_PURPLE}Factions God Set: Leggings'
  191. commands:
  192. - '/give {PLAYER} 312 1 name:&4God_Leggings lore:{white}Was_once_worn_by_the_Factions_King 0:4 4:4 1:4 3:4 7:3
  193. '100':
  194. playermessage: 'You have found the sword of the Factions God set!'
  195. display-item: '267 name:{BLUE}Factions_God_Set lore:{RED}Sword'
  196. detail: '{LIGHT_PURPLE}Factions God Set: Sword'
  197. commands:
  198. - '/give {PLAYER} 276 1 name:&4God_Sword lore:{white}Excalibur 16:5 20:2 19:2'
  199. '100':
  200. playermessage: 'You have found the bow of the Factions God set!'
  201. display-item: '261 name:{BLUE}Factions_God_Set lore:{RED}Bow'
  202. detail: '{LIGHT_PURPLE}Factions God Set: Bow'
  203. commands:
  204. - '/give {PLAYER} 261 1 name:&4God_Bow lore:{white}Pierce_the_Heavens 48:5 49:2 50:1 51:1'
  205. '100':
  206. playermessage: When you opened the crate, 5 more crates miraculously appeared!
  207. display-item: 'chest name:{BLUE}More_Crates! lore:5_crates!'
  208. detail: Five Crates
  209. commands:
  210. - '/crate give {PLAYER} 5 luckycrate'
  211. '200':
  212. playermessage: 'The crate contained a Spawner!'
  213. display-item: 'mob_spawner name:{BLUE}Mooshroom_Spawner lore:How_Lucky!'
  214. broadcast: '{PLAYER} has recieved an Mooshroom Spawner from opening a crate.'
  215. detail: Mooshroom Spawner
  216. commands:
  217. - '/give {PLAYER} 52:96#3 1'
  218. '200':
  219. playermessage: 'The crate contained a Spawner!'
  220. display-item: 'mob_spawner name:{BLUE}Iron_Golem_Spawner lore:How_Lucky!'
  221. broadcast: '{PLAYER} has recieved an Iron Golem Spawner from opening a crate.'
  222. detail: Iron Golem Spawner
  223. commands:
  224. - '/give {PLAYER} 52:99#5 1'
  225. '15':
  226. playermessage: You have won $2000!
  227. display-item: 'book name:{BLUE}$2000 lore:$2000!'
  228. detail: $2000
  229. commands:
  230. - /eco give {PLAYER} 2000
  231. '15':
  232. playermessage: You have won 30 levels!
  233. display-item: '384 name:{BLUE}30_Levels! lore:Good_for_enchanting!'
  234. detail: $2000
  235. commands:
  236. - /xp give {PLAYER} 825
  237. '20':
  238. playermessage: You have won a creeper spawn egg!
  239. display-item: '383:50 name:{BLUE}Creeper_Spawn_Egg lore:SSSSssss'
  240. detail: $2000
  241. commands:
  242. - /give {PLAYER} 383:50 1
  243. '5':
  244. playermessage: 'Basic!'
  245. display-item: 'bread name:{BLUE}Dinosawr_Bread lore:{WHITE}Seems_freshly_baked...'
  246. detail: 'Dinosawr Bread'
  247. commands:
  248. - '/give {PLAYER} bread 10 name:&1Dinosawr_Bread lore:&3Its_Good...'
  249. '5':
  250. playermessage: 'Eww Flesh... How did that end up here?'
  251. display-item: '367 name:{BLUE}Flesh lore:{WHITE}Its_edible...'
  252. detail: 'Flesh'
  253. commands:
  254. - '/give {PLAYER} 367 11 name:&2Flesh lore:&3Edible...So_why_not?'
  255. '35':
  256. playermessage: 'No way... Apples that are golden!'
  257. display-item: '322 name:{BLUE}Golden_Apple lore:{WHITE}Level_1'
  258. detail: 'Golden Apple: Level 1'
  259. commands:
  260. - '/give {PLAYER} 322 2 name:&2GoldenApple lore:&3Hope_its_not_crunchy'
  261. '75':
  262. playermessage: 'No way... Apples that are golden!'
  263. display-item: '322:1 name:{BLUE}Golden_Apple lore:{WHITE}Level_2'
  264. detail: 'Golden Apple: Level 2'
  265. commands:
  266. - '/give {PLAYER} 322:1 1 name:&2GoldenApple lore:&Hope_its_not_crunchy'
  267. '5':
  268. playermessage: 'Hmm. This is new.'
  269. display-item: '322:1 name:{BLUE}Potion_of_Absorption lore:{WHITE}Extra_Hearts'
  270. detail: 'Potion_of_Absorption'
  271. commands:
  272. - '/give {PLAYER} 373:22080#6 1 name:&2Potion_of_Absorption'
  273. '50':
  274. playermessage: 'Wooh! New Skillz!'
  275. display-item: '322:1 name:{BLUE}Mcmmo_Levels lore:{WHITE}5'
  276. detail: 'Mcmmo Claim Levels'
  277. commands:
  278. - '/addcredits {PLAYER} 5'relo
  279.  
  280. #######################
  281. # - Example Crate 3 - #
  282. #######################
  283. foodcrate:
  284. buy-enabled: true
  285. cost: 5000
  286. need-perm-to-buy: false
  287. is-physical: true
  288. item: chest
  289. item-name: '{GOLD}Food Crate'
  290. item-lore:
  291. - '{WHITE} You never know what might be inside...'
  292. use-gui: true
  293. '1':
  294. playermessage: 'Basic!'
  295. display-item: 'bread name:{BLUE}Dinosawr_Bread lore:{WHITE}Seems_freshly_baked...'
  296. detail: 'Dinosawr Bread'
  297. commands:
  298. - '/give {PLAYER} bread 1 name:&1Dinosawr_Bread lore:&3Its_Good...'
  299. '2':
  300. playermessage: 'Cookie!'
  301. display-item: 'cookie name:{BLUE}Cookie lore:{WHITE}Seems_freshly_baked...'
  302. detail: 'Cookie'
  303. commands:
  304. - '/give {PLAYER} cookie 4 name:&2Cookie lore:&3Its_Good...'
  305. '3':
  306. playermessage: 'Chicken!'
  307. display-item: '365 name:{BLUE}Chicken'
  308. detail: 'Raw Chicken'
  309. commands:
  310. - '/give {PLAYER} rawchicken 4 name:&2Chicken lore:&3Doesnt_look_good'
  311. '4':
  312. playermessage: 'Chicken!'
  313. display-item: '366 name:{BLUE}Chicken'
  314. detail: 'Cooked Chicken'
  315. commands:
  316. - '/give {PLAYER} gchicken 8 name:&2Chicken lore:&3Its_cooked.'
  317. '5':
  318. playermessage: 'Eww Flesh... How did that end up here?'
  319. display-item: '367 name:{BLUE}Flesh lore:{WHITE}Its_edible...'
  320. detail: 'Flesh'
  321. commands:
  322. - '/give {PLAYER} 367 11 name:&2Flesh lore:&3Edible...So_why_not?'
  323. '10':
  324. playermessage: 'Cake is an lie'
  325. display-item: 'cake name:{BLUE}Flesh lore:{WHITE}Definately_a_lie'
  326. detail: 'Cake'
  327. commands:
  328. - '/give {PLAYER} 367 1 name:&2Cake lore:&3This_better_not_be_an_lie...'
  329. '10':
  330. playermessage: 'Pufferfish or Pawferfish?'
  331. display-item: '349:3 name:{BLUE}Pawferfish lore:{WHITE}Its_an_Pawferfish'
  332. detail: 'PawferFish'
  333. commands:
  334. - '/give {PLAYER} 349:3 6 name:&2PawferFish lore:&3Pawff'
  335. '25':
  336. playermessage: 'No way... Apples that are golden!'
  337. display-item: '322 name:{BLUE}Golden_Apple lore:{WHITE}Level_1'
  338. detail: 'Golden Apple: Level 1'
  339. commands:
  340. - '/give {PLAYER} 322 4 name:&2GoldenApple lore:&3Hope_its_not_crunchy'
  341. '35':
  342. playermessage: 'No way... Apples that are golden!'
  343. display-item: '322 name:{BLUE}Golden_Apple lore:{WHITE}Level_2'
  344. detail: 'Golden Apple: Level 2'
  345. commands:
  346. - '/give {PLAYER} 322 16 name:&2GoldenApple lore:&3Hope_its_not_crunchy'
  347. '50':
  348. playermessage: 'No way... Apples that are golden!'
  349. display-item: '322:1 name:{BLUE}Golden_Apple lore:{WHITE}Level_3'
  350. detail: 'Golden Apple: Level 3'
  351. commands:
  352. - '/give {PLAYER} 322:1 8 name:&2GoldenApple lore:&Hope_its_not_crunchy'
  353.  
  354. # Anyway, thats the end of the examples, hopefully you guys
  355. # can use these ideas and create much better crates with your imagination :)
  356. # Best Regards and Enjoy! - Dinosawrs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement