Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /clearlag:
- permission: clearlag.use
- trigger:
- clear {_count}
- loop all arrows:
- clear loop-entity
- add 1 to {_count}
- loop entities:
- loop-entity is a dropped item
- clear loop-entity
- add 1 to {_count}
- if {_count} is not set:
- set {_count} to 0
- broadcast "&c&lCREATIVE &8» &7All dropped items have been cleared! &8«&6&lTOTAL&8»%{_count}%&9 items have been cleared!"
- every 4 minutes:
- broadcast "&c&lCREATIVE &8» &7All items will clear in 60 seconds!"
- wait 57 seconds
- broadcast "&c&lCREATIVE &8» &7All items will clear in 3 seconds!"
- wait 1 seconds
- broadcast "&c&lCREATIVE &8» &7All items will clear in 2 second!"
- wait 1 seconds
- broadcast "&c&lCREATIVE &8» &7All items will clear in 1 second!"
- wait 1 seconds
- make server execute command "/clearlag"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement