Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /clearall:
- permission: clearlag.use
- description: Usun wszystkie lezace rzeczy i moby
- executable by: players
- aliases: /ca, /clear
- trigger:
- set {_usunietych} to 0
- loop all dropped Items:
- Item is not Item Frame:
- clear dropped Items
- add 1 to {_usunietych}
- broadcast "<gold>[Clearlag] <lime>%{_usunietych}% itemow zniszczonych!"
- set {_zabitych} to 0
- loop all entities:
- delete loop-entity
- add 1 to {_zabitych}
- broadcast "<gold>[Clearlag] <lime>%{_zabitych}% mobow zabitych!"
- set {wiadomosc} to 0
- every 1 minutes:
- add 1 to {wiadomosc}
- if {wiadomosc} is 1:
- broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &730 &cmin"
- if {wiadomosc} is 15:
- broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &715 &cmin"
- if {wiadomosc} is 25:
- broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &75 &cmin"
- if {wiadomosc} is 29:
- broadcast "<gold>[Clearlag] &c Itemy i moby zostana usuniete za &71 &cmin"
- if {wiadomosc} is 30:
- loop all dropped Items:
- Item is not Item Frame:
- clear dropped Items
- add 1 to {_usunietych}
- broadcast "<gold>[Clearlag] <lime>%{_usunietych}% itemow zniszczonych!"
- set {_zabitych} to 0
- loop all entities:
- delete loop-entity
- add 1 to {_zabitych}
- broadcast "<gold>[Clearlag] <lime>%{_zabitych}% mobow zabitych!"
- set {wiadomosc} to 0
Advertisement
Add Comment
Please, Sign In to add comment