added new knowledge book conditions to blockshop
This commit is contained in:
parent
407b595c66
commit
766ae0d176
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -4,37 +4,110 @@ shop:
|
|||||||
items:
|
items:
|
||||||
stone:
|
stone:
|
||||||
material: STONE
|
material: STONE
|
||||||
price: 10
|
price: 192
|
||||||
|
quantity: 64
|
||||||
display_name: "Stone Block"
|
display_name: "Stone Block"
|
||||||
|
smooth_stone:
|
||||||
|
material: SMOOTH_STONE
|
||||||
|
price: 320
|
||||||
|
quantity: 64
|
||||||
|
display_name: "Smooth Stone"
|
||||||
wood_blocks:
|
wood_blocks:
|
||||||
items:
|
items:
|
||||||
oak_planks:
|
oak_planks:
|
||||||
material: OAK_PLANKS
|
material: OAK_PLANKS
|
||||||
price: 15
|
price: 960
|
||||||
|
quantity: 64
|
||||||
display_name: "Oak Planks"
|
display_name: "Oak Planks"
|
||||||
|
pvp:
|
||||||
|
items:
|
||||||
|
iron_helmet:
|
||||||
|
material: IRON_HELMET
|
||||||
|
price: 110
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Iron Helmet"
|
||||||
|
iron_chestplate:
|
||||||
|
material: IRON_CHESTPLATE
|
||||||
|
price: 176
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Iron Chestplate"
|
||||||
|
iron_leggings:
|
||||||
|
material: IRON_LEGGINGS
|
||||||
|
price: 154
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Iron Leggings"
|
||||||
|
iron_boots:
|
||||||
|
material: IRON_BOOTS
|
||||||
|
price: 88
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Iron Boots"
|
||||||
|
iron_sword:
|
||||||
|
material: IRON_SWORD
|
||||||
|
price: 44
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Iron Sword"
|
||||||
|
iron_PICKAXE:
|
||||||
|
material: IRON_PICKAXE
|
||||||
|
price: 66
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Iron Pick"
|
||||||
|
iron_axe:
|
||||||
|
material: IRON_AXE
|
||||||
|
price: 66
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Iron Axe"
|
||||||
|
iron_shovel:
|
||||||
|
material: IRON_SHOVEL
|
||||||
|
price: 22
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Iron Spoon"
|
||||||
|
redstone:
|
||||||
|
items:
|
||||||
|
repeater:
|
||||||
|
material: REPEATER
|
||||||
|
price: 900
|
||||||
|
quantity: 18
|
||||||
|
display_name: "Repeater"
|
||||||
|
redstone:
|
||||||
|
material: REDSTONE
|
||||||
|
price: 2048
|
||||||
|
quantity: 64
|
||||||
|
display_name: "Redstone Dust"
|
||||||
|
nether:
|
||||||
|
items:
|
||||||
|
obsidian:
|
||||||
|
material: OBSIDIAN
|
||||||
|
price: 1300
|
||||||
|
quantity: 10
|
||||||
|
display_name: "Obsidian"
|
||||||
utilities:
|
utilities:
|
||||||
items:
|
items:
|
||||||
grav:
|
ASK:
|
||||||
material: KNOWLEDGE_BOOK
|
material: KNOWLEDGE_BOOK
|
||||||
price: 1000000
|
price: 450000
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Anchor Shield Kit"
|
||||||
|
gravity_gauntlet:
|
||||||
|
material: KNOWLEDGE_BOOK
|
||||||
|
price: 200000
|
||||||
quantity: 1
|
quantity: 1
|
||||||
display_name: "Gravity Gauntlet"
|
display_name: "Gravity Gauntlet"
|
||||||
wand:
|
levitation_wand:
|
||||||
material: KNOWLEDGE_BOOK
|
material: KNOWLEDGE_BOOK
|
||||||
price: 1000000
|
price: 1000000
|
||||||
quantity: 1
|
quantity: 1
|
||||||
display_name: "Levitation Wand"
|
display_name: "Levitation Wand"
|
||||||
launch:
|
launch_stick:
|
||||||
material: KNOWLEDGE_BOOK
|
material: KNOWLEDGE_BOOK
|
||||||
price: 1000000
|
price: 1234567
|
||||||
quantity: 1
|
quantity: 1
|
||||||
display_name: "Launch Stick"
|
display_name: "Launch Stick"
|
||||||
bow:
|
rapid_fire_bow:
|
||||||
material: KNOWLEDGE_BOOK
|
material: KNOWLEDGE_BOOK
|
||||||
price: 1000000
|
price: 9000000
|
||||||
quantity: 1
|
quantity: 1
|
||||||
display_name: "Rapid Fire Bow"
|
display_name: "Rapid Fire Bow"
|
||||||
poor: "you're poor..."
|
poor: "you're too poor for that, get gooder..."
|
||||||
inventory_full: "you got too much clutter, cant fit your purchase into that mess..."
|
inventory_full: "you got too much clutter, cant fit your purchase into that mess..."
|
||||||
pagination:
|
pagination:
|
||||||
max_items_per_page: 45 # Max items to display per page
|
max_items_per_page: 45 # Max items to display per page
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -123,6 +123,13 @@ public final class CoswayUtil extends JavaPlugin implements Listener {
|
|||||||
if(removeCustomKnowledgeBook(player,ChatColor.GREEN+"Launch Stick")) {
|
if(removeCustomKnowledgeBook(player,ChatColor.GREEN+"Launch Stick")) {
|
||||||
player.getInventory().addItem(LaunchStick.createLaunchStick());
|
player.getInventory().addItem(LaunchStick.createLaunchStick());
|
||||||
}
|
}
|
||||||
|
if(removeCustomKnowledgeBook(player,ChatColor.GREEN+"Anchor Shield Kit")) {
|
||||||
|
// Create a chest item
|
||||||
|
ItemStack chest = new ItemStack(Material.CHEST, 1);
|
||||||
|
|
||||||
|
// Give the chest and items to the player
|
||||||
|
player.getInventory().addItem(chest, new ItemStack(Material.RESPAWN_ANCHOR, 1), new ItemStack(Material.LIGHTNING_ROD, 5),new ItemStack(Material.HEAVY_CORE,1));
|
||||||
|
}
|
||||||
if(removeCustomKnowledgeBook(player,ChatColor.GREEN+"Levitation Wand")) {
|
if(removeCustomKnowledgeBook(player,ChatColor.GREEN+"Levitation Wand")) {
|
||||||
player.getInventory().addItem(MobLevitationWand.createWand());
|
player.getInventory().addItem(MobLevitationWand.createWand());
|
||||||
}
|
}
|
||||||
|
@ -82,6 +82,11 @@ shop:
|
|||||||
display_name: "Obsidian"
|
display_name: "Obsidian"
|
||||||
utilities:
|
utilities:
|
||||||
items:
|
items:
|
||||||
|
ASK:
|
||||||
|
material: KNOWLEDGE_BOOK
|
||||||
|
price: 450000
|
||||||
|
quantity: 1
|
||||||
|
display_name: "Anchor Shield Kit"
|
||||||
gravity_gauntlet:
|
gravity_gauntlet:
|
||||||
material: KNOWLEDGE_BOOK
|
material: KNOWLEDGE_BOOK
|
||||||
price: 200000
|
price: 200000
|
||||||
|
Loading…
Reference in New Issue
Block a user