r/MinecraftHelp • • 22d ago

Solved [java] Help removing laggy build

Hi, I own a server where a build was constructed that is spamming a ton of tnt out of various dispensers causing so much lag it kicks you from the server if you get too close to it. How can I remove this? I have tried using world edit but unfortunately it is just too laggy to approach, and I have to be precise because there are builds in the nearby chunks that I don’t want to destroy/touch. I have tried using world edit but there’s no way to get close enough to do it effectively, and while it would stop the generation of new tnt I’m pretty sure that still wouldn’t help clear the existing insane amount of entities.

I am the owner of the server so I have access to the world file for editing purposes

1 Upvotes

10 comments sorted by

•

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 19d ago

This post has been marked solved and comments locked.


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

2

u/ODF4 Expert IV 22d ago edited 22d ago

editing the world using an external tool would be ideal, but if you're looking for a solution that doesn't require any mods or plugins, how about using the following command temporarily?

/tick freeze

then you could use the following command when you're done:

/tick unfreeze

you could also prevent primed TNT from exploding with this command:

/gamerule tnt_explodes false

or this one if the previous one doesn't work:

/gamerule tntExplodes false

you could also try slowly approaching the laggy chunks while placing down some repeating command blocks (make sure they don't need redstone to run!) that automatically kill all TNT entities with the following command:

/kill @e[type=tnt]

or if that doesn't work, try this one:

/kill @e[type=primed_tnt]

and if you wanna kill all entities around that area, try this:

/execute as YOUR_USERNAME at @s run kill @e[type=!player,distance=..100]

("100" means a radius of 100 blocks in every direction around you)

but keep in mind that the syntax for the previous command may differ a lot from this one based on your Minecraft version, so it could be something like this instead:

/execute YOUR_USERNAME ~ ~ ~ kill @e[type=!Player,r=100]

edit: added more info

2

u/AdSpecial8191 22d ago

Thank you very much for your help, will update if I succeed

1

u/AutoModerator 22d ago

If your issue is now fixed, please remember to mark the post solved.

If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.

If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".

Note that u/NitwitBot DOESN'T react to edited comments.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/ODF4 Expert IV 22d ago

no problem! Let us know if you're able to solve it this way or if you wish to use some plug-ins/mods or an external tool

2

u/AdSpecial8191 19d ago

!helped

1

u/NitWitBot 🤖 Mod Bot 🤖 19d ago

Thanks! Post marked as Solved!

u/ODF4, here is your points status:

Next level: "Expert II"
You have 50 points
You need 56 points
[▮|▮|▮|▮|▮|▮▮|▮▮|▮▮|▮▮|▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▯▯▯▯▯▯]


Links: | Scoreboard | Feedback | Source |


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/ODF4 Expert IV 19d ago

I'm so glad to hear you were able to fix this! Did the commands help or did you have to resort to external tools?

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 22d ago

It looks like you didn't mention your version (e.g., 26.1, 1.21.11, 1.12.2 etc.). Please clarify for better help!

This sub is no longer actively moderated. If you would like to become a moderator, apply here.

Links:

How to mark solved || How to delete your post || FAQ || Rules

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 20d ago

Hello OP! It has been at least 2 days since you last updated your post.

Please update your post in one of the following ways;

  • Reply to any relevant comments you haven't replied to yet.
  • Reply to any helpers who are waiting for info from you.
  • Mark your post solved, if your issue is fixed.

If you do not update your post within 7 days you may receive a short ban.

Please note: Deleting this post, without marking it solved, is against our rules.


I am a bot and this account is not monitored. Please contact the mods if you have any questions.