Skocz do zawartości
  • 0

SKRYPT NA PVP


DziQuu

Pytanie

Witam mam problem jutro startuje mój serwer pvp i mam jedno pytanko .

Mam skrypt na wybieranie aren ale chce żeby tam pisało ile osób jest online na danym trybie trzeba jakiś skrypt czy coś pomoże ktoś?

Tutaj macie ten mój skrypt 

on rightclick with chest:
    open chest with 3 rows named "&9â—Ź &4&nWYBIERZ TRYB GRY&9 â—Ź" to player
    wait 1 ticks
    format slot 0 of player with 160 named " " to close    
    format slot 16 of player with 373 named "&7&lArena &6&lPOTY"  with lore "||&8â—Ź &7Tryb &8: &awlaczony.||&8â—Ź &7Stabilnosc: &a+++|| ||&8â—Ź &7&nKliknij, aby dolaczyc." to close then run [execute player command "ybeczkakohixx"]
    format slot 1 of player with 160 named " " to close
    format slot 12 of player with 276 named "&7&lArena &6&lKNOCK"  with lore "||&8â—Ź &7Tryb &8: &awlaczony.||&8â—Ź &7Stabilnosc: &a+++|| ||&8â—Ź &7&nKliknij, aby dolaczyc." to close then run [execute player command "ybeczkaknockxx"]
    format slot 14 of player with 322:1 named "&7&lArena &6&lHARD"  with lore "||&8â—Ź &7Tryb &8: &awlaczony.||&8â—Ź &7Stabilnosc: &a+++|| ||&8â—Ź &7&nKliknij, aby dolaczyc." to close then run [execute player command "bababahard"]
    format slot 22 of player with 322 named "&7&lArena &6&lSTANDARD"  with lore "||&8â—Ź &7Tryb &8: &awlaczony.||&8â—Ź &7Stabilnosc: &a+++|| ||&8â—Ź &7&nKliknij, aby dolaczyc." to close then run [execute player command "ybeczkastx"]
    format slot 7 of player with 160 named " " to close
    format slot 10 of player with 267 named "&7&lArena &6&lIRONPVP"  with lore "||&8â—Ź &7Tryb &8: &awlaczony.||&8â—Ź &7Stabilnosc: &a+++|| ||&8â—Ź &7&nKliknij, aby dolaczyc." to close then run [execute player command "ybeczkaironnx"]
    format slot 8 of player with 160 named " " to close
    format slot 9 of player with 160 named " " to close
    format slot 3 of player with 160 named " " to close
    format slot 11 of player with 160 named " " to close
    format slot 6 of player with 160 named " " to close
    format slot 4 of player with 160 named " " to close
    format slot 5 of player with 160 named " " to close
    format slot 2 of player with 160 named " " to close
    format slot 13 of player with 160 named " " to close
    format slot 17 of player with 160 named " " to close
    format slot 18 of player with 160 named " " to close
    format slot 19 of player with 160 named " " to close
    format slot 15 of player with 160 named " " to close
    format slot 21 of player with 160 named " " to close
    format slot 20 of player with 160 named " " to close
    format slot 23 of player with 160 named " " to close
    format slot 24 of player with 160 named " " to close
    format slot 25 of player with 160 named " " to close
    format slot 26 of player with 160 named " " to close

command /333221 [<text>]:
    trigger:
        send "&eTrwa laczenie z serwerem: &7IronPVP                                                 &4Blad: &cJuz niedlugo! czekaj cierpliwie, wiecej informacji na facebooku!"

command /yt:
    trigger:
        send "&8------&8| &7RANGA &F&LYou&c&lTuber &8|------"
        send "&9â—Ź &7YouTuber jest od &e100 widzow&7. Chcesz otrzymac RANGE ? wpisz komende &8(&a/Trailer&8)"
        send "&9â—Ź &7Ranga &4You&fTuber &7ma uprawnienia jak &6VIP&7. &8(&a/VIP&8)"
command /tw:
    trigger:
        send "&8------&8| &aRanga &5TWITCH &8|------"
        send "&9â—Ź &7Streamer jest od &e100 follow&7. Chcesz otrzymac RANGE ? wpisz komende &8(&a/Trailer&8)"
        send "&9â—Ź &7Ranga &5Streamer &7ma uprawnienia jak &6VIP&7. &8(&a/VIP&8
command /youtube:
    trigger:
        send "&8------&8| &7RANGA &F&LYou&c&lTuber &8|------"
        send "&9â—Ź &7YouTuber jest od &e100 widzow&7. Chcesz otrzymac RANGE ? wpisz komende &8(&a/Trailer&8)"
        send "&9â—Ź &7Ranga &4You&fTuber &7ma uprawnienia jak &6VIP&7. &8(&a/VIP&8)"
command /youtuber:
    trigger:
        send "&8------&8| &7RANGA &F&LYou&c&lTuber &8|------"
        send "&9â—Ź &7YouTuber jest od &e100 widzow&7. Chcesz otrzymac RANGE ? wpisz komende &8(&a/Trailer&8)"
        send "&9â—Ź &7Ranga &4You&fTuber &7ma uprawnienia jak &6VIP&7. &8(&a/VIP&8)"
command /twitch:
    trigger:
        send "&8------&8| &aRanga &5TWITCH &8|------"
        send "&9â—Ź &7Streamer jest od &e100 follow&7. Chcesz otrzymac RANGE ? wpisz komende &8(&a/Trailer&8)"
        send "&9â—Ź &7Ranga &5Streamer &7ma uprawnienia jak &6VIP&7. &8(&a/VIP&8
command /streamer:
    trigger:
        send "&8------&8| &aRanga &5TWITCH &8|------"
        send "&9â—Ź &7Streamer jest od &e100 follow&7. Chcesz otrzymac RANGE ? wpisz komende &8(&a/Trailer&8)"
        send "&9â—Ź &7Ranga &5Streamer &7ma uprawnienia jak &6VIP&7. &8(&a/VIP&8)"
command /Trailer:
    trigger:
        send "&8------&8| &aREKLMA SERWERA &8|------"
        send "&9â—Ź &7Na dole masz link do Traileru Serwera w opisie Traileru masz link do pobrania reklamy jezeli juz pobierzesz to musisz skopiowac opis (W OPISIE PODAJ TWOJ NICK ! ) oraz tytul Trailera i wkleic do swojego filmu a nastepnie zglos sie do administracji na TeamSpeaka3 aby odebrac RANGE !"
        send "&9â—Ź &7LINK &8 : &e&nNIEBAWEM"


on place cobblestone:
    wait 8 real seconds
    set block to air

on place 8:
    wait 2 real seconds
    set block to air

on place 9:
    wait 2 real seconds
    set block to air

on place 10:
    wait 2 real seconds
    set block to air

on place 11:
    wait 2 real seconds
    set block to air


on place water:
    remove 1 water bucket from player
    wait 2 real seconds
    remove 1 325 from player
    add 1 326 to player

on place lava:
    remove 1 lava bucket from player
    wait 2 real seconds
    remove 1 325 from player
    add 1 327 to player


on place 48:
    wait 8 real seconds
    set block to air

Odnośnik do komentarza
https://skript.pl/temat/23036-skrypt-na-pvp/
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0

Hmm możesz zrobić że przy użyciu każdej komendy na tryb:

set {wybranytryb.%player%} to "nazwatrybu"
add 1 to {nazwatrybu} i potem to odczytać w np lore "%{nazwatrybu}%"

Przy wychodzeniu z serwera:

on quit:
	if {wybranytryb.%player%} is "nazwatrybu":
		remove 1 from {nazwatrybu}

np:

set {wybranytryb.%player%} to "Diamond"
add 1 to {diamondtryb}

format slot 0 of player with 1 diamond axe named "TEST" with lore "Ilosc osob: %{diamondtryb}% to be unstealable
on quit:
	if {wybranytryb.%player%} is "Diamond":
		remove 1 from {diamondtryb}
		delete {wybranytryb.%player%}

I musisz też dodać do każdego trybu, do każdej komendy gdzie teleportuje Cię na tryb:

#TU MASZ PRZYKAD NA WIĘCEJ NIŻ 1 TRYB

if {wybranytryb.%player%} is set:
	if {wybranytryb.%player%} is "Diamond":
		remove 1 from {diamondtryb}
		delete {wybranytryb.%player%}
	if {wybranytryb.%player%} is "Emerald":
		remove 1 from {emeraldtryb}
		delete {wybranytryb.%player%}

Najlepiej gdybyś podał cały kod, nie jesteśmy jasnowidzami.

Odnośnik do komentarza
https://skript.pl/temat/23036-skrypt-na-pvp/#findComment-156623
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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