Skocz do zawartości
  • 0

Dodanie kilku rzeczy


Lolzek

Pytanie

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
#MaxStatystyki
 
 
# ZMIENE
variables:
        {wykopany.stone.%player%} = 
        {wykopany.obsydian.%player%} = 
        {zjedzone.koxy.%player%} = 
        {zjedzone.refile.%player%} = 
        {postawione.bloki.%player%} = 
        {kile.%player%} = 
        {dedy.%player%} = 
        {zloto.%player%} = 
        {perly.%player%} = 
 
on death:
	if attacker is player:
		if victim is player:
			add 1 to {kile.%attacker%}
			add 1 to {dedy.%victim%}
            
on projectile hit:
	if projectile is ender pearl:
		add 1 to {perly.%shooter%} 
        
on mine of gold ore:
	add 1 to {zloto.%player%}
on mine of stone:
        add 1 to {wykopany.stone.%player%}
on mine of obsidian:
        add 1 to {wykopany.obsydian.%player%}
on eat of enchanted golden apple:
        add 1 to {zjedzone.koxy.%player%}
on eat of golden apple:
        add 1 to {zjedzone.refile.%player%}
on place:
        add 1 to {postawione.bloki.%player%}
command /stats [<text>]:
        trigger:
                open chest with 1 rows named "&4Statystyki Gracza" to player
                wait 1 tick
                format slot  of player with 1 of stone named "&bWykopany Stone" with lore "&4>> &6%{wykopany.stone.%player%}% &4<<" to be unstealable
                format slot 1 of player with 1 of obsidian named "&bWykopany Obsydian" with lore "&4>> &6%{wykopany.obsydian.%player%}% &4<<" to be unstealable
                format slot 2 of player with 1 of golden apple named "&bZjedzone refile!" with lore "&4>> &6%{zjedzone.refile.%player%}% &4<<" to be unstealable
                format slot 3 of player with 1 of enchanted golden apple named "&bZjedzone koxy!" with lore "&4>> &6%{zjedzone.koxy.%player%}% &4<<" to be unstealable
                format slot 4 of player with 1 of dirt named "&bPostawione bloki" with lore "&4>> &6%{postawione.bloki.%player%}% &4<<" to be unstealable
                format slot 5 of player with 1 of diamond named "&bKile" with lore "&4>> &6%{kile.%player%}% &4<<" to be unstealable
                format slot 6 of player with 1 of stick named "&bDedy" with lore "&4>> &6%{dedy.%player%}% &4<<" to be unstealable
                format slot 7 of player with 1 of ender pearl named "&bPerly" with lore "&4>> &6%{perly.%player%}% &4<<" to be unstealable
                format slot 4 of player with 1 of gold ingot named "&bZloto" with lore "&4>> &6%{zloto.%player%}% &4<<" to be unstealable

 

Odnośnik do komentarza
https://skript.pl/temat/11218-dodanie-kilku-rzeczy/#findComment-81289
Udostępnij na innych stronach

  • 0
O 4.04.2016 o 17:29, Ixidi napisał:

#MaxStatystyki
 
 
# ZMIENE
variables:
        {wykopany.stone.%player%} = 
        {wykopany.obsydian.%player%} = 
        {zjedzone.koxy.%player%} = 
        {zjedzone.refile.%player%} = 
        {postawione.bloki.%player%} = 
        {kile.%player%} = 
        {dedy.%player%} = 
        {zloto.%player%} = 
        {perly.%player%} = 
 
on death:
	if attacker is player:
		if victim is player:
			add 1 to {kile.%attacker%}
			add 1 to {dedy.%victim%}
            
on projectile hit:
	if projectile is ender pearl:
		add 1 to {perly.%shooter%} 
        
on mine of gold ore:
	add 1 to {zloto.%player%}
on mine of stone:
        add 1 to {wykopany.stone.%player%}
on mine of obsidian:
        add 1 to {wykopany.obsydian.%player%}
on eat of enchanted golden apple:
        add 1 to {zjedzone.koxy.%player%}
on eat of golden apple:
        add 1 to {zjedzone.refile.%player%}
on place:
        add 1 to {postawione.bloki.%player%}
command /stats [<text>]:
        trigger:
                open chest with 1 rows named "&4Statystyki Gracza" to player
                wait 1 tick
                format slot  of player with 1 of stone named "&bWykopany Stone" with lore "&4>> &6%{wykopany.stone.%player%}% &4<<" to be unstealable
                format slot 1 of player with 1 of obsidian named "&bWykopany Obsydian" with lore "&4>> &6%{wykopany.obsydian.%player%}% &4<<" to be unstealable
                format slot 2 of player with 1 of golden apple named "&bZjedzone refile!" with lore "&4>> &6%{zjedzone.refile.%player%}% &4<<" to be unstealable
                format slot 3 of player with 1 of enchanted golden apple named "&bZjedzone koxy!" with lore "&4>> &6%{zjedzone.koxy.%player%}% &4<<" to be unstealable
                format slot 4 of player with 1 of dirt named "&bPostawione bloki" with lore "&4>> &6%{postawione.bloki.%player%}% &4<<" to be unstealable
                format slot 5 of player with 1 of diamond named "&bKile" with lore "&4>> &6%{kile.%player%}% &4<<" to be unstealable
                format slot 6 of player with 1 of stick named "&bDedy" with lore "&4>> &6%{dedy.%player%}% &4<<" to be unstealable
                format slot 7 of player with 1 of ender pearl named "&bPerly" with lore "&4>> &6%{perly.%player%}% &4<<" to be unstealable
                format slot 4 of player with 1 of gold ingot named "&bZloto" with lore "&4>> &6%{zloto.%player%}% &4<<" to be unstealable

 

pokazuje ze nie ma takiej komendy

Odnośnik do komentarza
https://skript.pl/temat/11218-dodanie-kilku-rzeczy/#findComment-81401
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ę...