variables:
{xp} = false
every 59 seconds:
if "%hour%" is "22:00":
set {xp} to false
if "%hour%" is "20:00":
set {xp} to true
on mine of stone:
if {xp} is true:
give 1 xp to the player
command /bron [<player>]:
permission: bron.admin
permission message: &cNie masz uprawnien.
trigger:
if arg-1 is set:
give 1 stick named "&9&lPalka Policyjna" to player-arg
command /achat [<text>]:
trigger:
if argument 1 is not empty:
if player has permission "uprawnienia.achat":
loop all players:
loop-player has permission "uprawnienia.achat":
send "&4&lAdminChat &7%name of player%&8 » &b%arg 1%" to loop-player
else:
send "&8» &7Uzyj: &6/adminchat (wiadomosc)"
Nie trzeba dodawać do kogo, jest domyślnie ustawione żeby wysyłało do gracza, jeśli wykona komendę. Po wgraniu wszystko mi działało, więc może spróbuj pobrać skrayfall , jesli go nie masz
Po 1. Open chest, a nie open chest inventory
Po 2. W opisie nie można pisać %
Po 3. Zle napisany event name of player's current inventory
Łap poprawny kod.
command /drop:
trigger:
open chest with 1 rows named "&f&lDrop ze &7&lStone" to player
set slot 4 of player's current inventory to Sunflower of unbreaking 10 named "&e&l&0&l[&6&lZlota Moneta&0&l]" with lore "jest 0.3, szans na zdobycie"
on inventory click:
if inventory name of current inventory of player contains "&f&lDrop ze &7&lStone":
cancel event