Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===============================================#
- #=-=-=-=-=-=-=-=-= Clearlag =-=-=-=-=-=-=-=-= #
- # Version: 0.1 #
- # Author: MrxJoint #
- #===============================================#
- #=======Opcje===========#
- options:
- czas: 10 #Co ile minut ma byc czyszczenie serwera (domyślnie od 10 do 20 min)
- #=========Koniec Opcji===========#
- #==================================Skrypt==============================#
- command /clag:
- permission message: &4Nie masz uprawnien do tej komendy!
- description: Usun wszytkie itemy lezace na ziemi!
- executable by: players, console
- aliases: /ca,
- trigger:
- set {_usunietych} to 0
- loop all dropped Items:
- Item is not Item Frame:
- clear dropped Items
- add 1 to {_usunietych}
- broadcast "&6[ClearLag] &2Zniszczylem %{_usunietych}% itemow!"
- every {@czas} minutes:
- broadcast "&6[ClearLag] &2Itemki lezace na ziemi znikna za 60 sekund!"
- wait 60 seconds
- broadcast "&6[ClearLag] &2Usuwanie itemow..."
- wait 5 seconds
- command "clag"
- set {_usunietych} to 0
- loop all dropped Items:
- Item is not Item Frame:
- clear dropped Items
- add 1 to {_usunietych}
- #============================Koniec Skryptu============================#
Advertisement
Add Comment
Please, Sign In to add comment