options: s_name: &e&k||| &f&lSTONIARKA &e&k||| s_place: &aPostawiles &f&lSTONIARKE s_break: &cZniszczyles &f&lSTONIARKE s_tag: &7[&aVixa&bStone&7] cd: 1.2 on load: set {s} to "stoniarka" new recipe {s}; {s}.Recipe.setIngredient{1, 1 stone}; {s}.Recipe.setIngredient{2, 1 stone}; {s}.Recipe.setIngredient{3, 1 stone}; {s}.Recipe.setIngredient{4, 1 stone}; {s}.Recipe.setIngredient{5, 1 emerald}; {s}.Recipe.setIngredient{6, 1 stone}; {s}.Recipe.setIngredient{7, 1 stone}; {s}.Recipe.setIngredient{8, 1 stone}; {s}.Recipe.setIngredient{9, 1 stone}; {s}.Recipe.setResult{1 sponge of fortune 10 named "{@s_name}"}; {s}.Recipe.register{}; on place: if event-block is sponge of fortune 10 named "{@s_name}": set event-block to stone set {s.%event-block%} to true send player title " " with subtitle "{@s_place}" for 1.5 seconds on break of stone: if {s.%event-block%} is true: if player's tool is golden pickaxe: cancel event set event-block to air set {s.%event-block%} to false send player title " " with subtitle "{@s_place}" for 1.5 seconds drop 1 sponge of fortune 10 named "{@s_name}" at event-block else: wait {@cd} seconds set event-block to stone command /vixastone [] [] []: trigger: if player has permission "vixastone.add": if arg-1 is "add": if arg-2 is player: if arg-3 is set: add arg-3 of sponge of fortune 10 named "{@s_name}" to arg-2's inventory if arg-1 is "help": if arg-2 is not set: if arg-3 is not set: send "&7[&m----------{@s_tag}&7&m----------&7]" send "&c/vs add &7- &6Dodaje graczowi stoniarki." send "&c/vs help &7- &6Wyswietla ta strone." send "&c/vs autor &7- &6Wyswietla informacje o autorze." send "&c/vs discord &7- &6Wyswietla dscord autora." send "&7[&m----------{@s_tag}&7&m----------&7]" if arg-1 is "autor": if arg-2 is not set: if arg-3 is not set: send "&7[&m----------{@s_tag}&7&m----------&7]" send formatted "&7Autor: &c&lVixareczeq" to player send "&7[&m----------{@s_tag}&7&m----------&7]" if arg-1 is "discord": if arg-2 is not set: if arg-3 is not set: send "&7[&m----------{@s_tag}&7&m----------&7]" send formatted "&7Discord: &c&l[KLIK]" to player send "&7[&m----------{@s_tag}&7&m----------&7]" if arg-1 is not "add" or "autor" or "discord" or "help": send "&cNie ma takiej komendy!" to player if arg-1 is "add": if arg-2 is not set: send "&cNie ma takiej komendy!" to player if arg-2 is set: if arg-3 is not set: send "&cNie ma takiej komendy!" to player if arg-1 is "autor" or "discord" or "help": if arg-2 is set: send "&cNie ma takiej komendy!" to player