Skocz do zawartości

Skrypt na Itemy


Rekomendowane odpowiedzi

Cześć dzisiaj zaprezentuje skrypt na itemy na gildie mozecie to zmienić według własnych  zastosowań

command /itemy:
    trigger:
        open chest with 3 rows named "&8» &7Itemy na gildie" to player
        wait 2 ticks
        format slot 18 of player with white glass to be unstealable
        format slot 19 of player with white glass to be unstealable
        format slot 20 of player with white glass to be unstealable
        format slot 21 of player with white glass to be unstealable
        format slot 22 of player with white glass to be unstealable
        format slot 23 of player with white glass to be unstealable
        format slot 24 of player with white glass to be unstealable
        format slot 25 of player with white glass to be unstealable
        format slot 26 of player with white glass to be unstealable
        format slot 17 of player with white glass to be unstealable
        format slot 0 of player with white glass to be unstealable
        format slot 1 of player with white glass to be unstealable
        format slot 2 of player with white glass to be unstealable
        format slot 3 of player with white glass to be unstealable
        format slot 4 of player with white glass to be unstealable
        format slot 5 of player with white glass to be unstealable
        format slot 6 of player with white glass to be unstealable
        format slot 7 of player with white glass to be unstealable
        format slot 8 of player with white glass to be unstealable
        format slot 9 of player with white glass to be unstealable
        if player has permission "itemy.gracz":
            format slot 10 of player with 1 of diamond named "&8» &c&lDiamenty" with lore " &8» &7Ekwipunek: &3%amount of diamond in player's inventory%/64|| &8» &7EnderChest: &3%amount of diamond in player's enderchest%/64" to be unstealable
            format slot 11 of player with 1 of gold ingot named "&8» &c&lZloto" with lore " &8» &7Ekwipunek: &3%amount of gold ingot in player's inventory%/64|| &8» &7EnderChest: &3%amount of gold ingot in player's enderchest%/64" to be unstealable
            format slot 12 of player with 1 of gold ingot named "&8» &c&lZloto" with lore " &8» &7Ekwipunek: &3%amount of gold ingot in player's inventory%/64|| &8» &7EnderChest: &3%amount of gold ingot in player's enderchest%/64" to be unstealable
            format slot 13 of player with 1 of emerald named "&8» &c&lEmerald" with lore " &8» &7Ekwipunek: &3%amount of emerald in player's inventory%/64|| &8» &7EnderChest: &3%amount of emerald in player's enderchest%/64" to be unstealable
            format slot 14 of player with 1 of ender pearl named "&8» &c&lEnder Perly" with lore " &8» &7Ekwipunek: &3%amount of ender pearl in player's inventory%/8|| &8» &7EnderChest: &3%amount of ender pearl in player's enderchest%/8" to be unstealable
            format slot 15 of player with 1 of golden apple named "&8» &c&lJablka" with lore " &8» &7Ekwipunek: &3%amount of golden apple in player's inventory%/32|| &8» &7EnderChest: &3%amount of golden apple in player's enderchest%/32" to be unstealable
            format slot 16 of player with 1 of obsidian named "&c» &c&lObsydian" with lore " &8» &7Ekwipunek: &3%amount of obsidian in player's inventory%/32|| &8» &7EnderChest: &3%amount of obsidian in player's enderchest%/32" to be unstealable
            format slot 17 of player with 1 of ender pearl named "&8» &c&lPerły" with lore " &8» &7Ekwipunek: &3%amount of 103 in player's inventory%/16|| &8» &7EnderChest: &3%amount of 103 in player's enderchest%/16" to be unstealable
            stop

 

Edytowane przez Ewald
Odnośnik do komentarza
https://skript.pl/temat/17814-skrypt-na-itemy/
Udostępnij na innych stronach

  • 5 miesięcy temu...
30 minut temu, PatrianeQ napisał:

po pierwsze nie dopracowany skrypt i moze lagowac a po drugie nie ma tickow i beda mogli bugowac itemy a po trzecie to mozna zloopowac 

 

Ma wait 2 ticks, i co moze zmienic, zeby mniej lagowalo?? 

Odnośnik do komentarza
https://skript.pl/temat/17814-skrypt-na-itemy/#findComment-148698
Udostępnij na innych stronach

Dnia 18.04.2017 o 18:19, Kenzyy napisał:

Cześć dzisiaj zaprezentuje skrypt na itemy na gildie mozecie to zmienić według własnych  zastosowań


command /itemy:
    trigger:
        open chest with 3 rows named "&8» &7Itemy na gildie" to player
        wait 2 ticks
        format slot 18 of player with white glass to be unstealable
        format slot 19 of player with white glass to be unstealable
        format slot 20 of player with white glass to be unstealable
        format slot 21 of player with white glass to be unstealable
        format slot 22 of player with white glass to be unstealable
        format slot 23 of player with white glass to be unstealable
        format slot 24 of player with white glass to be unstealable
        format slot 25 of player with white glass to be unstealable
        format slot 26 of player with white glass to be unstealable
        format slot 17 of player with white glass to be unstealable
        format slot 0 of player with white glass to be unstealable
        format slot 1 of player with white glass to be unstealable
        format slot 2 of player with white glass to be unstealable
        format slot 3 of player with white glass to be unstealable
        format slot 4 of player with white glass to be unstealable
        format slot 5 of player with white glass to be unstealable
        format slot 6 of player with white glass to be unstealable
        format slot 7 of player with white glass to be unstealable
        format slot 8 of player with white glass to be unstealable
        format slot 9 of player with white glass to be unstealable
        if player has permission "itemy.gracz":
            format slot 10 of player with 1 of diamond named "&8» &c&lDiamenty" with lore " &8» &7Ekwipunek: &3%amount of diamond in player's inventory%/64|| &8» &7EnderChest: &3%amount of diamond in player's enderchest%/64" to be unstealable
            format slot 11 of player with 1 of gold ingot named "&8» &c&lZloto" with lore " &8» &7Ekwipunek: &3%amount of gold ingot in player's inventory%/64|| &8» &7EnderChest: &3%amount of gold ingot in player's enderchest%/64" to be unstealable
            format slot 12 of player with 1 of gold ingot named "&8» &c&lZloto" with lore " &8» &7Ekwipunek: &3%amount of gold ingot in player's inventory%/64|| &8» &7EnderChest: &3%amount of gold ingot in player's enderchest%/64" to be unstealable
            format slot 13 of player with 1 of emerald named "&8» &c&lEmerald" with lore " &8» &7Ekwipunek: &3%amount of emerald in player's inventory%/64|| &8» &7EnderChest: &3%amount of emerald in player's enderchest%/64" to be unstealable
            format slot 14 of player with 1 of ender pearl named "&8» &c&lEnder Perly" with lore " &8» &7Ekwipunek: &3%amount of ender pearl in player's inventory%/8|| &8» &7EnderChest: &3%amount of ender pearl in player's enderchest%/8" to be unstealable
            format slot 15 of player with 1 of golden apple named "&8» &c&lJablka" with lore " &8» &7Ekwipunek: &3%amount of golden apple in player's inventory%/32|| &8» &7EnderChest: &3%amount of golden apple in player's enderchest%/32" to be unstealable
            format slot 16 of player with 1 of obsidian named "&c» &c&lObsydian" with lore " &8» &7Ekwipunek: &3%amount of obsidian in player's inventory%/32|| &8» &7EnderChest: &3%amount of obsidian in player's enderchest%/32" to be unstealable
            format slot 17 of player with 1 of ender pearl named "&8» &c&lPerły" with lore " &8» &7Ekwipunek: &3%amount of 103 in player's inventory%/16|| &8» &7EnderChest: &3%amount of 103 in player's enderchest%/16" to be unstealable
            stop

 

po 1 wrzuc to na pastebina a po 2 tak jak kolega napisal co jak nie mam takiej permisji ? skrypt jest prawie w kazdej paczce jesli juz wstawiasz taki skrypt mogles dodac config juz inne komendy np /pomoc w gui

Odnośnik do komentarza
https://skript.pl/temat/17814-skrypt-na-itemy/#findComment-149323
Udostępnij na innych stronach

A bym usunoł permisje itemy.gracz dodał to na http://www.code.skript.pl i dodał jakąś animacje typu:

            format slot 10 of player with 1 of diamond named "&8» &c&lDiamenty" with lore " &8» &7Ekwipunek: &3%amount of diamond in player's inventory%/64|| &8» &7EnderChest: &3%amount of diamond in player's enderchest%/64" to be unstealable
             wait 1 tick
            format slot 11 of player with 1 of gold ingot named "&8» &c&lZloto" with lore " &8» &7Ekwipunek: &3%amount of gold ingot in player's inventory%/64|| &8» &7EnderChest: &3%amount of gold ingot in player's enderchest%/64" to be unstealable
            wait 1 tick
            format slot 12 of player with 1 of gold ingot named "&8» &c&lZloto" with lore " &8» &7Ekwipunek: &3%amount of gold ingot in player's inventory%/64|| &8» &7EnderChest: &3%amount of gold ingot in player's enderchest%/64" to be unstealable
            wait 1 tick
            format slot 13 of player with 1 of emerald named "&8» &c&lEmerald" with lore " &8» &7Ekwipunek: &3%amount of emerald in player's inventory%/64|| &8» &7EnderChest: &3%amount of emerald in player's enderchest%/64" to be unstealable
            wait 1 tick
            format slot 14 of player with 1 of ender pearl named "&8» &c&lEnder Perly" with lore " &8» &7Ekwipunek: &3%amount of ender pearl in player's inventory%/8|| &8» &7EnderChest: &3%amount of ender pearl in player's enderchest%/8" to be unstealable
            wait 1 tick
            format slot 15 of player with 1 of golden apple named "&8» &c&lJablka" with lore " &8» &7Ekwipunek: &3%amount of golden apple in player's inventory%/32|| &8» &7EnderChest: &3%amount of golden apple in player's enderchest%/32" to be unstealable
            wait 1 tick
            format slot 16 of player with 1 of obsidian named "&c» &c&lObsydian" with lore " &8» &7Ekwipunek: &3%amount of obsidian in player's inventory%/32|| &8» &7EnderChest: &3%amount of obsidian in player's enderchest%/32" to be unstealable
             wait 1 tick
            format slot 17 of player with 1 of ender pearl named "&8» &c&lPerły" with lore " &8» &7Ekwipunek: &3%amount of 103 in player's inventory%/16|| &8» &7EnderChest: &3%amount of 103 in player's enderchest%/16" to be unstealable
            stop

A i dodał coś takiego jak na serwerach że jeśli masz np. 15 golden apple to jest zielone szkło nad tym a jeśli gracz ma np. 14 golden apple to ma nad tym itkiem czerwone szkło

Odnośnik do komentarza
https://skript.pl/temat/17814-skrypt-na-itemy/#findComment-149329
Udostępnij na innych stronach

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
Dodaj odpowiedź do tematu...

×   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.

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

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