Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Gracze mogą zabierać przedmioty z GUI.


Megapvp

Rekomendowane odpowiedzi

Opublikowano

Witam! mam problem poniewaz gracze moga z gui brac itemki ! 

 

 

command /c8:

    trigger:
        wait 2 tick
        open chest with 5 rows named "&eLUCKYBLOCK" to player
        format slot 4 of player with 1 of sponge named "&6&lLUCKY BLOCK" to close
        format slot 12 of player with 1 of cobblestone named "" to close
        format slot 13 of player with 1 of diamond named "" to close
        format slot 14 of player with 1 of cobblestone named "" to close
        format slot 21 of player with 1 of diamond named "" to close
        format slot 22 of player with 1 of gold block named "" to close
        format slot 23 of player with 1 of diamond named "" to close
        format slot 30 of player with 1 of cobblestone named "" to close
        format slot 31 of player with 1 of diamond named "" to close

        format slot 32 of player with 1 of cobblestone named "" to close

­

SERWER SKYBLOCK?

DOBRA ZABAWA?

MILA ATMOSFERA?

MYBLOCK.ENCH.PL

­

Opublikowano

widze problem: jak pamietam, to sa linijki z wildskript. nie ma on takiej opcjii "close" (co najmniej ja nie znam) mam dla cb rozwiazanie. dam ci to samo, ale troche inaczej:

 

command /asd:

[tab]trigger:

[tab][tab]open chest with 5 rows named "&eLUCKYBLOCK" to player

[tab][tab]wait 2 ticks

[tab][tab]format slot 4 of player with 1 of sponge named "" to run [close player's inventory]

[tab][tab]format slot 12 of player with 1 of cobblestone named "" to run [close player's inventory]

[tab][tab]format slot 13 of player with 1 of diamond named "" to run [close player's inventory]

[tab][tab]format slot 14 of player with 1 of cobblestone named "" to run [close player's inventory]

[tab][tab]format slot 21 of player with 1 of diamond named "" to run [close player's inventory]

[tab][tab]format slot 22 of player with 1 of gold block named "" to run [close player's inventory]

[tab][tab]format slot 23 of player with 1 of diamond named "" to run [close player's inventory]

[tab][tab]format slot 30 of player with 1 of cobblestone named "" to run [close player's inventory]

[tab][tab]format slot 31 of player with 1 of diamond named "" to run [close player's inventory]

[tab][tab]format slot 32 of player with 1 of cobblestone named "" to run [close player's inventory]

[tab][tab]stop

 

 

 

a jak ci chodzi tylko o zakaz brania itemkuw z inventory gui:

 

command /asd:

[tab]trigger:

[tab][tab]open chest with 5 rows named "&eLUCKYBLOCK" to player

[tab][tab]wait 2 ticks

[tab][tab]format slot 4 of player with 1 of sponge named "" to be unstealable

[tab][tab]format slot 12 of player with 1 of cobblestone named "" to be unstealable

[tab][tab]format slot 13 of player with 1 of diamond named "" to be unstealable

[tab][tab]format slot 14 of player with 1 of cobblestone named "" to be unstealable

[tab][tab]format slot 21 of player with 1 of diamond named "" to be unstealable]

[tab][tab]format slot 22 of player with 1 of gold block named "" to be unstealable

[tab][tab]format slot 23 of player with 1 of diamond named "" to be unstealable

[tab][tab]format slot 30 of player with 1 of cobblestone named "" to be unstealable

[tab][tab]format slot 31 of player with 1 of diamond named "" to be unstealable

[tab][tab]format slot 32 of player with 1 of cobblestone named "" to be unstealable

[tab][tab]stop

 

 

jak jakies bendy, pisz :D

 

 

aaa zapomnialem dodac:   [tab] = tabulator :D :D :D

Zapraszam do Współpracy :D!!!!

Opublikowano

­nie dziala bez bledow

 

 

mam tez skrypt z gui ktory dziala tak jak ja chce i co  w nim sie wyruznia  to nwm 

 

 

command /drop:    

    trigger:        
        open chest with 3 rows named "&2Drop" to player        
        wait 2 tick
        format slot 22 of player with 1 of 384:0 named "&aEXP" with lore "&8» &7STONE &f10.00 procent||&8» &5Obsydian &f7.00 procent" to close

SERWER SKYBLOCK?

DOBRA ZABAWA?

MILA ATMOSFERA?

MYBLOCK.ENCH.PL

­

Opublikowano

różni się tym, że na końcu ma "to close", a zwrot "to run [close player's inventory]" nie zadziałała bo próbowałem.

Opublikowano

to ma ktos jakis pomysl bo ja sam nwm­

SERWER SKYBLOCK?

DOBRA ZABAWA?

MILA ATMOSFERA?

MYBLOCK.ENCH.PL

­

Opublikowano

Zamień to format slot na to

show "s;1;i;gold ingot;n;&6Spawn;l;&dTeleportacja na spawn;c;spawn %player%;" with 3 rows named "&6Cos" to player
Opublikowano

Hmm.. zamiast "to close" możesz użyć "to run "/close %player%", tylko wtedy musisz dodać taką komendę:

command /close [<player>]:
	executable by: console
	trigger:
		close arg's inventory

Opublikowano

@1373230489-U611928.pngParrotek nie dziala ­

 

NWM czemu ale te gui dziala tak jak ja chce

 

 

command /drop:    

    trigger:        
        open chest with 3 rows named "&2Drop" to player        
        wait 2 tick
        format slot 22 of player with 1 of 384:0 named "&aEXP" with lore "&8» &7STONE &f10.00 procent||&8» &5Obsydian &f7.00 procent" to close
        format slot 0 of player with 1 of diamond named "&cDIAMENT" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 1 of player with 1 of emerald named "&cSZMARAGD" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 2 of player with 1 of gold ingot named "&cZLOTO" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 3 of player with 1 of iron ingot named "&cZELAZO" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 4 of player with 1 of ender pearl named "&cPERLA" with lore "&8» &f3.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 5 of player with 1 of tnt named "&cTNT" with lore "&8» &f20.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 6 of player with 1 of obsidian named "&cOBSYDIAN" with lore "&8» &f20.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 7 of player with 1 of bookshelf named "&cBIBLIOTECZKA" with lore "&8» &f1.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 8 of player with 1 of 263:0 named "&cWEGIEL" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 9 of player with 1 of apple named "&cJABLKO" with lore "&8» &f1.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 10 of player with 1 of blaze rod named "&cBLAZE_ROD" with lore "&8» &f1.00 procent||&8» &fMozna Wykopac: &aTAK" to close
        format slot 16 of player with 1 of chest named "&6&lCS<GO" with lore "&8» &f1.00 procent" to close
        format slot 17 of player with 1 of 131:0 named "&6&lCS<GO-KLUCZ" with lore "&8» &f1.00 procent" to close

SERWER SKYBLOCK?

DOBRA ZABAWA?

MILA ATMOSFERA?

MYBLOCK.ENCH.PL

­

Opublikowano
command /drop:    
    trigger:        
        open chest with 3 rows named "&2Drop" to player        
        wait 2 tick
        format slot 22 of player with 1 of 384:0 named "&aEXP" with lore "&8» &7STONE &f10.00 procent||&8» &5Obsydian &f7.00 procent" to be unstealable
        format slot 0 of player with 1 of diamond named "&cDIAMENT" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 1 of player with 1 of emerald named "&cSZMARAGD" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 2 of player with 1 of gold ingot named "&cZLOTO" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 3 of player with 1 of iron ingot named "&cZELAZO" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 4 of player with 1 of ender pearl named "&cPERLA" with lore "&8» &f3.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 5 of player with 1 of tnt named "&cTNT" with lore "&8» &f20.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 6 of player with 1 of obsidian named "&cOBSYDIAN" with lore "&8» &f20.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 7 of player with 1 of bookshelf named "&cBIBLIOTECZKA" with lore "&8» &f1.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 8 of player with 1 of 263:0 named "&cWEGIEL" with lore "&8» &f5.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 9 of player with 1 of apple named "&cJABLKO" with lore "&8» &f1.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 10 of player with 1 of blaze rod named "&cBLAZE_ROD" with lore "&8» &f1.00 procent||&8» &fMozna Wykopac: &aTAK" to be unstealable
        format slot 16 of player with 1 of chest named "&6&lCS<GO" with lore "&8» &f1.00 procent" to be unstealable
        format slot 17 of player with 1 of 131:0 named "&6&lCS<GO-KLUCZ" with lore "&8» &f1.00 procent" to be unstealable

Jeżeli to nie zadziała, daj logi z konsoli i wersje pluginów.

 

 

Zamień to format slot na to

show "s;1;i;gold ingot;n;&6Spawn;l;&dTeleportacja na spawn;c;spawn %player%;" with 3 rows named "&6Cos" to player

Mój przykład <3 Sam go pisałem :D

Opublikowano

 

Jak nie chcesz pisać "procent" zrób tak:

Variables:

(Tab)P = "%"

Jak chcesz to wykorzystać zamiast procent daj %{P}%

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...