Skocz do zawartości
  • 0

Drop z stone i z obsydianu


kanafu
 Udostępnij

Pytanie

nie wiem jak zrobic zeby bylo mozna wlaczyc i wylaczyc drop w gui prosze o pomoc

tu kod

Spoiler
#################
# SKRYPT KANAFU #
# prosty skrypt #
#################


on mine stone:
        chance of 0.5%:        
                drop 1 diamond 
                send "&7Wypadl ci &bdiax!"
        chance of 1.0%:
                drop 1 emerald
                send "&7Wypadl ci &2emerald!"
        chance of 2.0%:
                drop 1 coal
                send "&7Wypadl ci &8wegiel!"
        chance of 3.0%:
                drop 1 gold ingot
                send "&7Wypadlo ci &6zloto!"
        chance of 4.0%:
                drop 1 iron ingot
                send "&7Wypadlo ci &fzelazo!"
        chance of 2.0%:
                drop 1 redstone
                send "&7Wypadl ci &credstone!"

on mine obsidian:
        chance of 3.0%:        
                drop 1 diamond 
                send "&7Wypadl ci &bdiax!"
        chance of 4.0%:
                drop 1 emerald
                send "&7Wypadl ci &2emerald!"
        chance of 4.0%:
                drop 1 coal
                send "&7Wypadl ci &8wegiel!"
        chance of 12.0%:
                drop 1 gold ingot
                send "&7Wypadlo ci &6zloto!"
        chance of 16.0%:
                drop 1 iron ingot
                send "&7Wypadlo ci &fzelazo!"
        chance of 4.0%:
                drop 1 redstone
                send "&7Wypadl ci &credstone!"

command /drop:
    trigger:
        open chest with 3 rows named "&e&lDrop" to player
        wait 2 ticks
        format slot 0 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 1 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 2 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 3 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 4 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 5 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 6 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 7 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 8 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 9 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 10 of player with 1 of stone named "&7Stone to close then run [make player execute command "/dropstone"]
        format slot 11 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 12 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 13 of player with 1 of red woll named "&c&lWylacz/&2&lWlacz &7Drop" to close then run [make player execute command "/wlaczdrop"]      
        format slot 14 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 15 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 16 of player with 1 of obsidian named "&5Obsydian" to close then run [make player execute command "/dropobsydian"]
        format slot 17 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 18 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 19 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 20 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 21 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 22 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 23 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 24 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 25 of player with 1 of red stained glass pane named " " to be unstealable
        format slot 26 of player with 1 of red stained glass pane named " " to be unstealable

command /dropstone:
        trigger:
                send "&7&l&m-----------------------"
                send "&bDiamend&8: &a0.5&7%%"
                send "&2Emerald&8: &a1&7%%"
                send "&7Wegiel&8: &a2&7%%"
                send "&cRedstone&8: &a2&7%%"
                send "&6Zloto&8: &a3&7%%"
                send "&fZelazo&8: &a4&7%%"
                send "&7&l&m-----------------------"

command /dropobsydian:
        trigger:
                send "&7&l&m-----------------------"
                send "&bDiamend&8: &a3&7%%"
                send "&2Emerald&8: &a4&7%%"
                send "&7Wegiel&8: &a4&7%%"
                send "&cRedstone&8: &a4&7%%"
                send "&6Zloto&8: &a12&7%%"
                send "&fZelazo&8: &a16&7%%"
                send "&7&l&m-----------------------"

command /wlaczdrop:
        trigger:
                send "&7&l&m-----------------------"
                send "&2&lWlaczyles &fdrop!"
                send "&7&l&m-----------------------"

command /wylaczdrop:
        trigger:
                send "&7&l&m-----------------------"
                send "&c&lWylaczyles &fdrop!"
                send "&7&l&m-----------------------"

 

 

Edytowane przez kanafu
Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...