essentials: essentials.fly
Skrypt:
on command "fly":
if player has permission "group.vip":
if {walka::%player%} is set:
cancel event
send "&7Latanie podczas walki, jest wylaczone"
on damage:
set {walka::%attacker%} to true
set {walka::%victim%} to true
wait 20 seconds
clear {walka::%attacker%} to false
clear {walka::%victim%}
send "&7Skonczyles walke" to attacker
send "&7Skonczyles walke" to victim
on join:
clear {walka::%player%}
on damage:
if attacker has permission "group.vip":
if attacker is flying:
execute console command "fly off %attacker%"
stop
if victim has permission "group.vip":
if victim is flying:
execute console command "fly off %victim%"
on quit:
if {walka::%player%} is set:
kill player
broadcast "&2BakadChat &8» &7Spamowanie grozi wyciszeniem!"
Niestety nie mam skryptu/pluginu na muty, a zabroniłeś mi zmieniać kod. Co mam zrobić bo fajny skrypt.
on any move:
set {_s} to enchant level of sharpness of player's tool
if {_s} >= 6:
cancel event
send "&cPosiadasz miecz, ktorego enchant sharpnes jest wiekszy niz &46&c. Dopoki go nie wyrzucisz, nie mozesz sie ruszac!"
command /helpop [<text>]:
trigger:
add "%player% - %arg 1%" to yaml list "zgloszenia" from file "plugins/helpop/zgloszenia.yml"
loop all players:
if loop-player has permission "helpop":
send "&7%player% &6- &7%arg 1%" to loop-player
Temat kosz, takich "skryptów" jest masa w dziale "zlecenia". Mam nie hejtować, bo jesteś początkujący? Wiadomość na chacie się nie wyświetla? Polecam jd-gui/github + np. Eclipse i sprawa będzie rozwiązana.