• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Clearing entities with warning.

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.

Abdu77

Tree Puncher
#1
Plugins required:
- Lag Clear
- Madcommands

Code:

cmd add clear
cmd add clear %all% = onlineplayers()
cmd add clear message %all% §7[§e-§7] §cWarning§b! §cAll dropped Entities will be cleared in 20s§b!
cmd add clear sleep 21
cmd add clear /lagg clear
cmd add clear message %all% §7[§e-§7] §cAll dropped Entities has been cleared§b!
cmd add clear exit


Now do /clear to initialize
I can make this cmd exclusive to some groups but I'm a bit lazy now. if you want that code you can comment below.

Note:
You can set the cmd on a loop by adding sleep 200 and then goto 1. (This may cause even more lag due to the loop)