Jump to content

clearlag skript


pnguin

Recommended Posts

command /clearlag:
  permission: clearlag
  permission message: &6[ERROR] &rYou do not have permission to execute this command!
  trigger:
    broadcast "&7[&6SERVER NAME&7] &4%player% &cis Clearing all entities in 5 seconds!"
    wait 5 seconds
    execute console command "/execute run kill @e[type=!player]"

 

Note: I tested the skript! 0 errors!

I used to play Minehut I guess?
Yeah, I still watch the forums for some reason. (15/5/2023)
Link to comment
Share on other sites

Instead of a console command, you can probably just do this

kill all entities where [input is not a player]

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

  • 2 weeks later...
20 minutes ago, _shwad_ said:

can u make is so it automatically does it

 

every 5 minutes:
    broadcast "Clearing dropped items in 5 seconds."
    wait 5 seconds
    broadcast "Killed %size of dropped items% dropped items."
    kill dropped items
  • Like 3

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...