Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # - Cactus Crate by Dinosaurs
- # - For more information visit http://dev.bukkit.org/bukkit-plugins/cactus-crate/
- # Warning: Imagination is allowed here.
- #####################
- # - Format - #
- #####################
- # ExampleCrate
- # buy-enabled: [true/false]
- # cost: [###]
- # need-perm-to-buy: [true/false]
- # is-physical: [true/false]
- # item: '[Item Name/ID]'
- # item-name: '[Text]'
- # item-lore:
- # - '[Line 1]'
- # - '[Line 2]'
- # - '[Line 3]'
- # use-gui: '[true/false]'
- # '[#]'
- # playermessage: '[Text]'
- # display-item: '[Text]'
- # detail: '[Text]'
- # commands:
- # - [Command 1]
- # - [Command 2]
- # - [Command 3]
- #######################
- # - Example Crate 1 - #
- #######################
- # What should the Unique Crate Identifier be?
- # Note: There can't be 2 crates with the same Crate Identifier
- crate:
- ######################
- # - Crate Settings - #
- ######################
- # Should this crate be for sale?
- buy-enabled: false
- # What is the cost for buying this crate?
- cost: 3000
- # Do you need permission to buy this crate?
- # If true, the permission for this crate is cactuscrate.buy.crate
- need-perm-to-buy: false
- # Is the crate Virtual, or Physical.
- # Set this to true, if you want it to be physical
- # Set this to false, if you want it to be virtual
- is-physical: true
- # If the crate is physical, what kind of item should it be.
- item: 'chest'
- # What should the item's name be?
- item-name: '{GREEN} General Crate'
- # What is the items lore?
- item-lore:
- - '{WHITE}An {GREEN}Cactus {GOLD}Crate'
- - '{WHITE}Contains $1000 and more!'
- # Would you like the crate to use an GUI?
- # if true, it will open a inventory, adding in placeholders for the reward
- # otherwise it will just give the rewards
- use-gui: true
- ######################
- # - Crate Rewards - #
- ######################
- # 1/1 (100%) Chance to recieve an $1000, 4 Apples, 4 Pork, 50 Exp
- # Do you want the player to recieve an reward whenever they open an crate?
- '1':
- # What message do you want to send to the player when they recieve the crate?
- playermessage: 'Recieved Basic Package'
- # How would you describe this reward?
- # Players viewing /crate info crate
- detail: '$1000, 4 Apples, 4 Pork, 50 Exp'
- # If the crate has an gui, what do you want the icon to be?
- # {item} {name...} {lore...}
- display-item: 'chest name:{BLUE}Basic lore:{WHITE}$1000/n4_Apples/n4Pork/n100_Exp'
- # What commands are used to give out this reward?
- commands:
- - '/eco give {PLAYER} 1000'
- - '/give {PLAYER} apple 4'
- - '/give {PLAYER} pork 4'
- - '/xp give {PLAYER} 50'
- # 1/5 (20%) Chance to recieve an $2000
- '5':
- playermessage: You have won $2000!
- display-item: 'book name:{BLUE}$2000 lore:$2000!'
- detail: $2000
- commands:
- - /eco give {PLAYER} 2000
- # 1/20 (5%) Chance to recieve 5 diamonds
- '20':
- playermessage: Diamond!
- display-item: 'diamond name:{BLUE}Diamonds lore:5_Diamonds!'
- broadcast: '{PLAYER} has recieved 5 Diamonds from opening a crate.'
- detail: 5 Diamonds
- commands:
- - /give {PLAYER} diamond 5
- # 1/100 (1%) Chance to win a full diamond-armor set.
- '100':
- playermessage: You're set for Battle!
- display-item: 'diamond_helmet name:{BLUE}Battle_Kit lore:Full_Set_of_Armor'
- detail: Full Diamond-Armor Set!
- commands:
- - '/give {PLAYER} 310 1'
- - '/give {PLAYER} 311 1'
- - '/give {PLAYER} 312 1'
- - '/give {PLAYER} 313 1'
- # 1/150 (0.67%) Chance to recieve 5 chest
- '150':
- playermessage: When you opened the crate, 5 more crates miraculously appeared!
- display-item: 'chest name:{BLUE}Cactus_Crates! lore:5_crates!'
- broadcast: '{PLAYER} has recieved 5 crates opening a crate!'
- detail: Five Crates
- commands:
- - '/crates give {PLAYER} 5'
- # 1/200 (0.05%) Chance to recieve an Pig Spawner
- '200':
- playermessage: 'The crate contained an Pig Spawner!'
- display-item: 'mob_spawner name:{BLUE}Pig_Spawner lore:How_Lucky!'
- broadcast: '{PLAYER} has recieved an Pig Spawner from opening a crate.'
- detail: Pig Spawner
- commands:
- - '/give {PLAYER} 52 1'
- #######################
- # - Example Crate 2 - #
- #######################
- luckycrate:
- buy-enabled: false
- cost: 10000
- need-perm-to-buy: false
- is-physical: true
- item: 130
- item-name: '{GOLD}Lucky Crate'
- item-lore:
- - '{WHITE} A crate which can hold a variety of items. Good Luck!'
- use-gui: true
- '4':
- playermessage: 'You have found Trash!'
- display-item: '118 name:{BLUE}Trash lore:{RED}Fished out of the Dumpster'
- detail: '{LIGHT_PURPLE}Better Luck Next Time!'
- commands:
- - '/give {PLAYER} 31 1'
- - '/give {PLAYER} 77 3'
- '100':
- playermessage: 'You have found the boots of the Factions God set!'
- display-item: '313 name:{BLUE}Factions_God_Set lore:{RED}Boots'
- detail: '{LIGHT_PURPLE}Factions God Set: Boots'
- commands:
- - '/give {PLAYER} 313 1 name:&4God_Boots 0:4 4:4 1:4 3:4 7:3 2:4
- '100':
- playermessage: 'You have found the helmet of the Factions God set!'
- display-item: '310 name:{BLUE}Factions_God_Set lore:{RED}Helmet'
- detail: '{LIGHT_PURPLE}Factions God Set: Helmet'
- commands:
- - '/give {PLAYER} 310 1 name:&4God_Helm lore:{white}A_factions_legend 0:4 4:4 1:4 3:4 7:3 5:3'
- '100':
- playermessage: 'You have found the chestplate of the Factions God set!'
- display-item: '311 name:{BLUE}Factions_God_Set lore:{RED}Chestplate'
- detail: '{LIGHT_PURPLE}Factions God Set: Chestplate'
- commands:
- - '/give {PLAYER} 311 1 name:&4God_Chestplate lore:{white}Made_from_stars 0:4 4:4 1:4 3:4 7:3
- '100':
- playermessage: 'You have found the leggings of the Factions God set!'
- display-item: '312 name:{BLUE}Factions_God_Set lore:{RED}Leggings'
- detail: '{LIGHT_PURPLE}Factions God Set: Leggings'
- commands:
- - '/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
- '100':
- playermessage: 'You have found the sword of the Factions God set!'
- display-item: '267 name:{BLUE}Factions_God_Set lore:{RED}Sword'
- detail: '{LIGHT_PURPLE}Factions God Set: Sword'
- commands:
- - '/give {PLAYER} 276 1 name:&4God_Sword lore:{white}Excalibur 16:5 20:2 19:2'
- '100':
- playermessage: 'You have found the bow of the Factions God set!'
- display-item: '261 name:{BLUE}Factions_God_Set lore:{RED}Bow'
- detail: '{LIGHT_PURPLE}Factions God Set: Bow'
- commands:
- - '/give {PLAYER} 261 1 name:&4God_Bow lore:{white}Pierce_the_Heavens 48:5 49:2 50:1 51:1'
- '100':
- playermessage: When you opened the crate, 5 more crates miraculously appeared!
- display-item: 'chest name:{BLUE}More_Crates! lore:5_crates!'
- detail: Five Crates
- commands:
- - '/crate give {PLAYER} 5 luckycrate'
- '200':
- playermessage: 'The crate contained a Spawner!'
- display-item: 'mob_spawner name:{BLUE}Mooshroom_Spawner lore:How_Lucky!'
- broadcast: '{PLAYER} has recieved an Mooshroom Spawner from opening a crate.'
- detail: Mooshroom Spawner
- commands:
- - '/give {PLAYER} 52:96#3 1'
- '200':
- playermessage: 'The crate contained a Spawner!'
- display-item: 'mob_spawner name:{BLUE}Iron_Golem_Spawner lore:How_Lucky!'
- broadcast: '{PLAYER} has recieved an Iron Golem Spawner from opening a crate.'
- detail: Iron Golem Spawner
- commands:
- - '/give {PLAYER} 52:99#5 1'
- '15':
- playermessage: You have won $2000!
- display-item: 'book name:{BLUE}$2000 lore:$2000!'
- detail: $2000
- commands:
- - /eco give {PLAYER} 2000
- '15':
- playermessage: You have won 30 levels!
- display-item: '384 name:{BLUE}30_Levels! lore:Good_for_enchanting!'
- detail: $2000
- commands:
- - /xp give {PLAYER} 825
- '20':
- playermessage: You have won a creeper spawn egg!
- display-item: '383:50 name:{BLUE}Creeper_Spawn_Egg lore:SSSSssss'
- detail: $2000
- commands:
- - /give {PLAYER} 383:50 1
- '5':
- playermessage: 'Basic!'
- display-item: 'bread name:{BLUE}Dinosawr_Bread lore:{WHITE}Seems_freshly_baked...'
- detail: 'Dinosawr Bread'
- commands:
- - '/give {PLAYER} bread 10 name:&1Dinosawr_Bread lore:&3Its_Good...'
- '5':
- playermessage: 'Eww Flesh... How did that end up here?'
- display-item: '367 name:{BLUE}Flesh lore:{WHITE}Its_edible...'
- detail: 'Flesh'
- commands:
- - '/give {PLAYER} 367 11 name:&2Flesh lore:&3Edible...So_why_not?'
- '35':
- playermessage: 'No way... Apples that are golden!'
- display-item: '322 name:{BLUE}Golden_Apple lore:{WHITE}Level_1'
- detail: 'Golden Apple: Level 1'
- commands:
- - '/give {PLAYER} 322 2 name:&2GoldenApple lore:&3Hope_its_not_crunchy'
- '75':
- playermessage: 'No way... Apples that are golden!'
- display-item: '322:1 name:{BLUE}Golden_Apple lore:{WHITE}Level_2'
- detail: 'Golden Apple: Level 2'
- commands:
- - '/give {PLAYER} 322:1 1 name:&2GoldenApple lore:&Hope_its_not_crunchy'
- '5':
- playermessage: 'Hmm. This is new.'
- display-item: '322:1 name:{BLUE}Potion_of_Absorption lore:{WHITE}Extra_Hearts'
- detail: 'Potion_of_Absorption'
- commands:
- - '/give {PLAYER} 373:22080#6 1 name:&2Potion_of_Absorption'
- '50':
- playermessage: 'Wooh! New Skillz!'
- display-item: '322:1 name:{BLUE}Mcmmo_Levels lore:{WHITE}5'
- detail: 'Mcmmo Claim Levels'
- commands:
- - '/addcredits {PLAYER} 5'relo
- #######################
- # - Example Crate 3 - #
- #######################
- foodcrate:
- buy-enabled: true
- cost: 5000
- need-perm-to-buy: false
- is-physical: true
- item: chest
- item-name: '{GOLD}Food Crate'
- item-lore:
- - '{WHITE} You never know what might be inside...'
- use-gui: true
- '1':
- playermessage: 'Basic!'
- display-item: 'bread name:{BLUE}Dinosawr_Bread lore:{WHITE}Seems_freshly_baked...'
- detail: 'Dinosawr Bread'
- commands:
- - '/give {PLAYER} bread 1 name:&1Dinosawr_Bread lore:&3Its_Good...'
- '2':
- playermessage: 'Cookie!'
- display-item: 'cookie name:{BLUE}Cookie lore:{WHITE}Seems_freshly_baked...'
- detail: 'Cookie'
- commands:
- - '/give {PLAYER} cookie 4 name:&2Cookie lore:&3Its_Good...'
- '3':
- playermessage: 'Chicken!'
- display-item: '365 name:{BLUE}Chicken'
- detail: 'Raw Chicken'
- commands:
- - '/give {PLAYER} rawchicken 4 name:&2Chicken lore:&3Doesnt_look_good'
- '4':
- playermessage: 'Chicken!'
- display-item: '366 name:{BLUE}Chicken'
- detail: 'Cooked Chicken'
- commands:
- - '/give {PLAYER} gchicken 8 name:&2Chicken lore:&3Its_cooked.'
- '5':
- playermessage: 'Eww Flesh... How did that end up here?'
- display-item: '367 name:{BLUE}Flesh lore:{WHITE}Its_edible...'
- detail: 'Flesh'
- commands:
- - '/give {PLAYER} 367 11 name:&2Flesh lore:&3Edible...So_why_not?'
- '10':
- playermessage: 'Cake is an lie'
- display-item: 'cake name:{BLUE}Flesh lore:{WHITE}Definately_a_lie'
- detail: 'Cake'
- commands:
- - '/give {PLAYER} 367 1 name:&2Cake lore:&3This_better_not_be_an_lie...'
- '10':
- playermessage: 'Pufferfish or Pawferfish?'
- display-item: '349:3 name:{BLUE}Pawferfish lore:{WHITE}Its_an_Pawferfish'
- detail: 'PawferFish'
- commands:
- - '/give {PLAYER} 349:3 6 name:&2PawferFish lore:&3Pawff'
- '25':
- playermessage: 'No way... Apples that are golden!'
- display-item: '322 name:{BLUE}Golden_Apple lore:{WHITE}Level_1'
- detail: 'Golden Apple: Level 1'
- commands:
- - '/give {PLAYER} 322 4 name:&2GoldenApple lore:&3Hope_its_not_crunchy'
- '35':
- playermessage: 'No way... Apples that are golden!'
- display-item: '322 name:{BLUE}Golden_Apple lore:{WHITE}Level_2'
- detail: 'Golden Apple: Level 2'
- commands:
- - '/give {PLAYER} 322 16 name:&2GoldenApple lore:&3Hope_its_not_crunchy'
- '50':
- playermessage: 'No way... Apples that are golden!'
- display-item: '322:1 name:{BLUE}Golden_Apple lore:{WHITE}Level_3'
- detail: 'Golden Apple: Level 3'
- commands:
- - '/give {PLAYER} 322:1 8 name:&2GoldenApple lore:&Hope_its_not_crunchy'
- # Anyway, thats the end of the examples, hopefully you guys
- # can use these ideas and create much better crates with your imagination :)
- # Best Regards and Enjoy! - Dinosawrs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement