options: itemki: 10 dirt and 10 stone and 10 diamonds #Wpisz tu itemki w nastepujacy sposob ilosc nazwa np. 1 dirt odzielone ,,and" czyli np. 1 dirt and 2 stone craft1: stone # 1 2 3 craft2: stone # 4 5 6 craft3: stone craft4: stone craft5: crafting table craft6: stone craft7: stone craft8: stone craft9: stone # 1 2 3 # 4 5 6 # 7 8 9 #Tam gdzie numer to numer slotu :D on script load: send "&6Zaladowano HouseBuilder." to console register new shaped recipe for crafting table named "&aHouse Builder" with lore "&6>> &7Postaw na ziemi, aby zbudowac dom." using {@craft1}, {@craft2}, {@craft3}, {@craft4}, {@craft5}, {@craft6}, {@craft7}, {@craft8}, {@craft9} command /housebuilder [] []: aliases: hb trigger: if player has permission "housebuilder.admin": if arg 1 is set: if arg 1 is "daj" or "crafting" or "dom" or "itemy": if arg 1 is "daj": if arg 2 is set: if arg 2 is player: set {_} to arg 2 parsed as player give 1 crafting table named "&aHouse Builder" with lore "&6>> &7Postaw na ziemi, aby zbudowac dom." to {_} send " &6>> &cDales &aHouse Builder &cgraczowi &7%{_}%&c!" send " &6>> &cOtrzymales &aHouse Builder&c!" to {_} stop else: send " &6>> &cNie ma takiego gracza!" stop else: give 1 crafting table named "&aHouse Builder" with lore "&6>> &7Postaw na ziemi, aby zbudowac dom." to player send " &6>> &cOtrzymales &aHouse Builder&c!" stop if arg 1 is "crafting": open chest with 3 rows named "&9Crafting" to player wait 2 tick format slot 2 of player with 1 of {@craft1} to be unstealable format slot 3 of player with 1 of {@craft2} to be unstealable format slot 4 of player with 1 of {@craft3} to be unstealable format slot 11 of player with 1 of {@craft4} to be unstealable format slot 12 of player with 1 of {@craft5} to be unstealable format slot 20 of player with 1 of {@craft6} to be unstealable format slot 21 of player with 1 of {@craft7} to be unstealable format slot 22 of player with 1 of {@craft8} to be unstealable format slot 13 of player with 1 of {@craft9} to be unstealable format slot 14 of player with 1 of crafting table named "&aHouse Builder" with lore "&6>> &7Postaw na ziemi, aby zbudowac dom." to be unstealable stop if arg 1 is "dom": if {hbhb::dom1::%player%} is set: send "&6>> &7Za 3 sekundy zostaniesz przeteleportowany do domu." wait 3 seconds teleport player to {hbhb::dom1::%player%} stop else: send "&6>> &cNie masz domu!" stop if arg 1 is "itemy": if {hbhb::dom3::%player%} is set: if {hbhb::czas::%player%} isn't set: give {@itemki} to player send "&6>> &aOtrzymales itemki!" set {hbhb::czas::%player%} to 1 wait 15 seconds delete {hbhb::czas::%player%} stop else: send "&6>> &cItemki mozesz brac co 15 minut!" stop else: send "&6>> &cNie posiadasz domu ulepszonego do III poziomu!" stop else: send "&6>> &cNie ma takiej komendy! Wpisz &7/hb" stop else: send "" send "&c&l>>>>>>>>>> &6&lHouseBuilder &c&l<<<<<<<<<<" send "&7/hb - Pomoc dot. HouseBuildera." send "&7/hb daj [] - daje graczowi blok &aHouse Builder&7." send "&7/hb crafting - info o craftingu." send "&7/hb dom - teleport do domu." send "&7/hb itemy - jesli masz III lvl domu, mozesz brac itemki co 15 min." stop if player has permission "housebuilder.gracz": if arg 1 is set: if arg 1 is "dom" or "itemy": if arg 1 is "dom": if {hbhb::dom1::%player%} is set: send "&6>> &7Za 3 sekundy zostaniesz przeteleportowany do domu." wait 3 seconds teleport player to {hbhb::dom1::%player%} stop else: send "&6>> &cNie masz domu!" stop if arg 1 is "itemy": if {hbhb::dom3::%player%} is set: if {hbhb::czas::%player%} isn't set: give {@itemki} to player send "&6>> &aOtrzymales itemki!" set {hbhb::czas::%player%} to 1 wait 15 seconds delete {hbhb::czas::%player%} else: send "&6>> &cItemki mozesz brac co 15 minut!" else: send "&6>> &cNie posiadasz domu ulepszonego do III poziomu!" stop else: send "&6>> &cNie ma takiej komendy! Wpisz &7/hb" stop else: send "" send "&c&l>>>>>>>>>> &6&lHouseBuilder &c&l<<<<<<<<<<" send "&7/hb - Pomoc dot. HouseBuildera." send "&7/hb dom - teleport do domu." send "&7/hb itemy - jesli masz III lvl domu, mozesz brac itemki co 15 min." stop on place crafting table: if name of player's tool is "&aHouse Builder": set {hbhb::%location of event-block%::%player%} to location of event-block send "" send "&6>> &cPostawiles &aHouse Buildera&c!" send "&6>> &cZbierz teraz nastepujace przedmioty:" send "&6>> &7- 10 diamentow" send "&6>> &7- 10 zlota" send "&6>> &7- 6 szkla" send "&6>> &7- 32 drewna" send "&6>> &7- 16 bruku" send "&6>> &7- 1 sadzonka" send "&6>> &cGdy je zbierzesz klikni PPM na HouseBuildera." send "&6>> &cMozesz go zniszczyc klikajac LPM." on rightclick on crafting table: if {hbhb::%location of event-block%::%player%} is location of event-block: cancel event if {hbhb::dom1::%player%} is set: send "&6>> &cMasz juz dom! Wpisz &7/hb dom&c!" stop if player has 10 diamond and 16 cobblestone and 32 Oak Wood and 10 gold ingot and 6 glass and 1 Oak Sapling: set {hbhb::dom1::%player%} to location of event-block send "" send "&6>> &aWykryto wszystkie potrzebne itemy." remove 10 diamond and 16 cobblestone and 32 Oak Wood and 10 gold ingot and 6 glass and 1 Oak Sapling from player's inventory send "&6>> &aRozpoczynam budowę &7(DOM POZIOM I)&a." send "&6>> &aWyrownuje teren..." wait 2 seconds set event-block to air set {_1} to location of block 20 up 12 north 12 east event-block set {_2} to location of block 1 down 12 south 12 west event-block loop blocks within {_1} to {_2}: set loop-blocks to air set {_1} to location of block 1 down 12 north 12 east event-block set {_2} to location of block 1 down 12 south 12 west event-block loop blocks within {_1} to {_2}: set loop-blocks to grass send "&6>> &aTeren zostal wyrownany." wait 2 seconds send "&6>> &aStawiam dom..." set {_1} to location of block 1 down 3 north 2 west event-block set {_2} to location of block 1 down 4 south 5 east event-block loop blocks within {_1} to {_2}: set loop-blocks to cobblestone set {_1} to location of block 3 north 2 west event-block set {_2} to location of block 4 south 5 east event-block loop blocks within {_1} to {_2}: set loop-blocks to oak wood set {_1} to location of block 1 up 3 north 2 west event-block set {_2} to location of block 2 up 4 south 5 east event-block loop blocks within {_1} to {_2}: set loop-blocks to Oak Wood Plank set {_1} to location of block 3 up 3 north 2 west event-block set {_2} to location of block 3 up 4 south 5 east event-block loop blocks within {_1} to {_2}: set loop-blocks to oak wood set {_1} to location of block 4 up 4 north 3 west event-block set {_2} to location of block 4 up 5 south 6 east event-block loop blocks within {_1} to {_2}: set loop-blocks to Cobblestone Slab set {_1} to location of block 4 up 2 north 1 west event-block set {_2} to location of block 4 up 3 south 4 east event-block loop blocks within {_1} to {_2}: set loop-blocks to Cobblestone set {_1} to location of block 3 up 2 north 1 west event-block set {_2} to location of block 3 south 4 east event-block loop blocks within {_1} to {_2}: set loop-blocks to air set block 2 west event-block to air set block 2 west 1 south event-block to air set block 1 up 2 west event-block to air set block 1 up 2 west 1 south event-block to air set block 2 west event-block to wooden door set block 2 west 1 south event-block to wooden door set block 1 up 1 east 3 north event-block to glass set block 1 up 2 east 3 north event-block to glass set block 1 up 3 east 3 north event-block to glass set block 1 up 1 east 4 south event-block to glass set block 1 up 2 east 4 south event-block to glass set block 1 up 3 east 4 south event-block to glass set block 1 up 4 east event-block to torch set block 4 east event-block to Furnace set block 4 east 1 south event-block to Chest set block 4 east 2 south event-block to Crafting Table set block 4 east 3 south event-block to chest set block 4 east 1 north event-block to chest remove location of event-block from {hbhb::%location of event-block%::%player%} set event-block to bedrock send "" send "&6>> &7DOM POZIOM I &czostal wybudowany." send "&6>> &cWpisz &7/hb dom &caby tu wrocic." send "&6>> &cMozesz go ulepszac do max &7DOM POZIOM III&c." send "&6>> &cPo max ulepszeniu bedziesz orzymywal itemki co 15 minut." send "&6>> &cDo nastepnego poziomu &7(Do poziomu II - Farma) &cpotrzebujesz:" send "&6>> &7- 10 nasion" send "&6>> &7- 10 ziemi" send "&6>> &7- 10 drewna" send "&6>> &7- 5 diamentow" send "&6>> &cGdy je zbierzesz klikni PPM na bedrock." else: send "" send "&6>> &cNie masz wszystkich przedmiotow!" send "&6>> &cPotrzebujesz:" send "&6>> &7- 10 diamentow" send "&6>> &7- 10 zlota" send "&6>> &7- 6 szkla" send "&6>> &7- 32 drewna" send "&6>> &7- 16 bruku" send "&6>> &7- 1 sadzonka" on rightclick on bedrock: if {hbhb::dom1::%player%} is location of event-block: if {hbhb::dom2::%player%} is not set: if player has 10 Wheat Seeds and 10 dirt and 10 oak wood and 5 diamond: remove 10 Wheat Seeds and 10 dirt and 10 oak wood and 5 diamond from player's inventory set {hbhb::dom2::%player%} to location of event-block send "" send "&6>> &aRozpoczynam budowę &7(DOM POZIOM II - Farma)&a." wait 1 second set {_1} to location of block 5 south 2 west event-block set {_2} to location of block 11 south 5 east event-block loop blocks within {_1} to {_2}: set loop-blocks to fence set {_1} to location of block 5 south 1 west event-block set {_2} to location of block 10 south 4 east event-block loop blocks within {_1} to {_2}: set loop-blocks to air set {_1} to location of block 5 south 1 west event-block set {_2} to location of block 10 south 4 east event-block loop blocks within {_1} to {_2}: set loop-blocks to Wheat send "" send "&6>> &aZakonczono budowe &7(DOM POZIOM II - Farma)&a." wait 1 second send "" send "&6>> &7DOM POZIOM II - Farma &czostal wybudowany." send "&6>> &cWpisz &7/hb dom &caby tu wrocic." send "&6>> &cMozesz go ulepszac do max &7DOM POZIOM III&c." send "&6>> &cPo max ulepszeniu bedziesz orzymywal itemki co 15 minut." send "&6>> &cDo nastepnego poziomu &7(Do poziomu III - Kopalnia) &cpotrzebujesz:" send "&6>> &7- 20 stone" send "&6>> &7- 1 zelazny kilof" send "&6>> &7- 10 drewna" send "&6>> &7- 5 diamentow" send "&6>> &cGdy je zbierzesz klikni PPM na bedrock." wait 1 second give 1 iron hoe to player send "" send "&6>> &aOrzymales Motyke." stop else: send "" send "&6>> &cAktualnie posiadasz &7DOM POZIOM I&c." send "&6>> &cDo nastepnego poziomu &7(Do poziomu II - Farma) &cpotrzebujesz:" send "&6>> &7- 10 nasion" send "&6>> &7- 10 ziemi" send "&6>> &7- 10 drewna" send "&6>> &7- 5 diamentow" send "&6>> &cGdy je zbierzesz klikni PPM na bedrock." stop else: if player has 20 stone and 1 Iron Pickaxe and 10 oak wood and 5 diamond: remove 20 stone and 1 Iron Pickaxe and 10 oak wood and 5 diamond from player's inventory set {hbhb::dom3::%player%} to location of event-block send "" send "&6>> &aRozpoczynam budowę &7(DOM POZIOM III - Kopalnia)&a." set {_1} to location of block 1 down 4 north event-block set {_2} to location of block 4 down 3 east 8 north event-block loop blocks within {_1} to {_2}: set loop-blocks to stone set {_1} to location of block 1 down 1 east 6 north event-block set {_2} to location of block 2 down 2 east 7 north event-block loop blocks within {_1} to {_2}: set loop-blocks to air set block 3 east 6 north event-block to fence set block 3 east 7 north event-block to fence set block 1 up 3 east 6 north event-block to fence set block 1 up 3 east 7 north event-block to fence set {_1} to location of block 2 up 3 east 8 north event-block set {_2} to location of block 2 up 1 east 5 north event-block loop blocks within {_1} to {_2}: set loop-blocks to Dark Oak Wood Slab set event-block to air send "&6>> &aZakonczono budowe &7(DOM POZIOM III - Kopalnia)&a." wait 1 second send "" send "&6>> &cGratulacje!." send "&6>> &cUdalo ci sie ulepszyc dom do maxymalnego poziomu!." send "&6>> &cMozesz teraz otrzymywac itemy co 15 min wpisujac &7/hb itemy &c." send "&6>> &cWpisz &7/hb dom &caby tu wrocic." stop else: send "" send "&6>> &cAktualnie posiadasz &7DOM POZIOM II&c." send "&6>> &cDo nastepnego poziomu &7(Do poziomu III - Kopalnia) &cpotrzebujesz:" send "&6>> &7- 20 stone" send "&6>> &7- 1 zelazny kilof" send "&6>> &7- 10 drewna" send "&6>> &7- 5 diamentow" send "&6>> &cGdy je zbierzesz klikni PPM na bedrock." stop on leftclick on crafting table: if {hbhb::%location of event-block%::%player%} is location of event-block: cancel event set event-block to air give 1 crafting table named "&aHouse Builder" with lore "&6>> &7Postaw na ziemi, aby zbudowac dom." to player delete {hbhb::%location of event-block%::%player%} send "" send "&6>> &cZniszczyles HouseBuildera!" command /cmdd: trigger: delete {hbhb::dom1::%player%} delete {hbhb::dom2::%player%} delete {hbhb::dom3::%player%} delete {hbhb::%location of target block%::%player%} send "dd"