options:
min-vip: 14
max-vip: 21
min-gra: 15
max-gra: 20
on portal:
set {_hour} to {_hour}
set {_hour} to {_hour} parsed as number
If player has permission "portal.vip":
if {_hour} is not between {@min-vip} and {@max-vip}:
Cancel event
send player title "" with subtitle "&7Nether dla twojej rangi otwarty jest od {@min-vip}! " for 3 seconds
stop
Else:
if {_hour} is not between {@min-gra} and {@max-gra}:
Cancel event
send player title "" with subtitle "&7Nether dla twojej otwarty rangi jest od {@min-gra}! " for 3 seconds
stop
lub
options:
min-vip: 14
max-vip: 21
min-gra: 15
max-gra: 20
on portal:
set {_hour} to {_hour}
set {_hour} to {_hour} parsed as number
if player has permission "portal.vip":
if {_hour} is between {@min-vip} and {@max-vip}:
stop
else:
Cancel event
send player title "" with subtitle "&7Nether dla twojej rangi otwarty jest od {@min-vip}! " for 3 seconds
else:
if {_hour} is between {@min-gra} and {@max-gra}:
stop
else:
Cancel event
send player title "" with subtitle "&7Nether dla twojej otwarty rangi jest od {@min-gra}! " for 3 seconds
if y-loc of player > 10:
execute console command "flu %player% off"
i to dać do while, albo do pętli czasowej i loopować każdego gracza na tym regionie, albow evencie np on any move
Wow chyba jedyny twój udostępniony skrypt który jako tako działa.
Zablokuj dodawanie kolejny raz jakiegoś słowa.
Usuń większość stop bo są tam niepotrzebne.
Dodaj permisje do używania tych słów.
Ogolnie coś takiego było tysiące razy. Wykonanie też dość słabe.
I skrypt nie skript
Nie wywaliło bo niby wyrażenie jest poprawne ale nie może zostać wykonane. Nie wykrylo ci komendy ponieważ byl ten "błąd".
W consoli ci nie wywaliło nic?
Jak będziesz spawn owal dużo entity to serwer Scrashujes ogólnie gui albo długie lore powinno scrashowac
command [<player>]:
Trigger:
Set {_i} to diamond
Loop 100 times:
Set line loop-number of lore of {_i} to "XD"
Open chest with 6 rows named "rows" to player
Loop 6*9 times:
set player's current inventory's slot (loop-number)-1 to {_i}
Przy otworzeniu automatycznie najedzie się na środek i powinno wywalić.
Ale to nie zmienia nic ze to bardzo niemiłe
set {_p} to 2^12
set {_s} to sqrt(12)
Co do reszty do nie wiem czy jest jakaś gotowa funkcja ale zawsze można postarać się taka zrobić
Edit jednak ma:
set {_mod} to mod(5, 2)
on join:
if {portfel::%player%} is not set:
set {portfel::%player%} to 0
on death of player:
if attacker is player:
chance of 1%:
add 1 to {portfel::%attacker%}
send "&7Dodano 1 do portfela &4%{portfel::%attacker%}%" to attacker
command /portfel [<text>]:
trigger:
send "&7Stan: &4%{portfel::%player%}%"
bez sklepu