Skocz do zawartości
  • 0

Pomoc BossBar


Kkiomen

Pytanie

command /pasek [<text>]:   	trigger:       		if player has permission "pasek.wyswietl":           			display "%colored arg 1%" on bossbar with 100 percent by 60 seconds for player           			send "Wyswietlono: %colored arg 1%"       		else:           			send "Nie masz uprawnien."
Czm to nie działa?

 

 

oraz czy można by było dodać do 2 skryptów informacje na boss bar.

options:    turbotime: 15variables:    {TurboDrop} = falsecommand /haste:    trigger:        if player has permissions "haste.run":            apply haste 2 to all players for 5 minutes            Broadcast "&aWszyscy otrzymali efekt &6Haste II &ana &c5 &aminut."            stop        else:            send "&cNie masz uprawien!"            stopcommand /turbodrop:    trigger:        if player has permissions "turbodrop.run":            if {TurboDrop} is false:                set {TurboDrop::timer} to {@turbotime}                set {TurboDrop} to true                broadcast "&bEvent &6TurboDrop&b!"                while {TurboDrop::timer} is not 0:                    wait a minute                    remove 1 from {TurboDrop::timer}                set {TurboDrop} to false                broadcast "&bKoniec eventu &6TurboDrop&b!"                stop            else:                send "&cEvent juz trwa!"                stop        else:            send "&cNie masz uprawien!"            stopon mine of stone:    if {TurboDrop} is true:        chance of 3%:            drop gold ore at event-block            send "&7Trafiles na: &6zloto&7! (1 szt)"            stop 
Zamiast tego

broadcast "&bEvent &6TurboDrop&b!"

 

Broadcast "&aWszyscy otrzymali efekt &6Haste II &ana &c5 &aminut."

 

Dać te informacje w Boss Bar

Odnośnik do komentarza
https://skript.pl/temat/8742-pomoc-bossbar/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Prosze tutaj masz już dodany boss bar :)
Pamiętaj musisz mieć najnowszy "WildSkript"

 

variables:	{TurboDrop} = falsecommand /haste:	trigger:		if player has permissions "haste.run":			apply haste 2 to all players for 5 minutes			display "&aWszyscy otrzymali efekt &6Haste II &ana &c5 &aminut" on bossbar with 100 percent by 30 seconds  for player			stop		else:			send "&cNie masz uprawien!"			stop		command /turbodrop:	trigger:		if player has permissions "turbodrop.run":			if {TurboDrop} is false:				set {TurboDrop::timer} to {@turbotime}				set {TurboDrop} to true				display "&bEvent &6TurboDrop&b!" on bossbar with 100 percent by 10 seconds  for player				while {TurboDrop::timer} is not 0:					wait a minute					remove 1 from {TurboDrop::timer}				set {TurboDrop} to false				broadcast "&bKoniec eventu &6TurboDrop&b!"				display "&bKoniec eventu &6TurboDrop&b!" on bossbar with 100 percent by 10 seconds  for player				stop			else:				send "&cEvent juz trwa!"				stop		else:			send "&cNie masz uprawien!"			stopon mine of stone:	if {TurboDrop} is true:		chance of 3%:			drop gold ore at event-block			send "&7Trafiles na: &6zloto&7! (1 szt)"			stop  

 

Odnośnik do komentarza
https://skript.pl/temat/8742-pomoc-bossbar/#findComment-67961
Udostępnij na innych stronach

  • 0

variables:

{TurboDrop} = false

command /haste:

trigger:

if player has permissions "haste.run":

apply haste 2 to all players for 5 minutes

display "&aWszyscy otrzymali efekt &6Haste II &ana &c5 &aminut" on bossbar with 100 percent by 30 seconds for player

stop

else:

send "&cNie masz uprawien!"

stop

command /turbodrop:

trigger:

if player has permissions "turbodrop.run":

if {TurboDrop} is false:

set {TurboDrop::timer} to {@turbotime}

set {TurboDrop} to true

display "&bEvent &6TurboDrop&b!" on bossbar with 100 percent by 10 seconds for player

while {TurboDrop::timer} is not 0:

wait a minute

remove 1 from {TurboDrop::timer}

set {TurboDrop} to false

broadcast "&bKoniec eventu &6TurboDrop&b!"

display "&bKoniec eventu &6TurboDrop&b!" on bossbar with 100 percent by 10 seconds for player

stop

else:

send "&cEvent juz trwa!"

stop

else:

send "&cNie masz uprawien!"

stop

on mine of stone:

if {TurboDrop} is true:

chance of 3%:

drop gold ore at event-block

send "&7Trafiles na: &6zloto&7! (1 szt)"

stop

pobierz wildskripta :) po prostu 

display "&aWszyscy otrzymali efekt &6Haste II &ana &c5 &aminut" on bossbar with 100 percent by 30 seconds for player

display "&bEvent &6TurboDrop&b!" on bossbar with 100 percent by 10 seconds for player

display "&bKoniec eventu &6TurboDrop&b!" on bossbar with 100 percent by 10 seconds for player

trzeba było usunąć jedną spacje tutaj 

for player

Odnośnik do komentarza
https://skript.pl/temat/8742-pomoc-bossbar/#findComment-67978
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ę...