server icon indicating copy to clipboard operation
server copied to clipboard

Block clone command in command block

Open 0skar2 opened this issue 1 year ago • 12 comments

In the current era of kaboom, people are often abusing the "cloop" (short for command loop) to dominate server by running ekill, deop, effect give blindness... over and over.

These cmd loops are abusing the clone command, to clone command blocks with desired command, and run the commands in an infinite loop, effectively bypassing the repeating command block prevention

The simplest solution would be to just prevent that command from running whatsoever, and thats what im proposing here. It definitely wont stop community made bots spamming commands, but will stop command blocks, that do not require any interaction from outside (aka. sending tons of packets over and over)

0skar2 avatar Aug 19 '24 15:08 0skar2

I think better solution will be disabling /sudo in command blocks

Greged2 avatar Aug 19 '24 15:08 Greged2

disable /clone in command block better

Yaodeowo avatar Aug 19 '24 15:08 Yaodeowo

Cloop can be easily destroyed with /gamerule commandModificationBlockLimit 0, but spamming /sudo will prevent you from running any command

Greged2 avatar Aug 19 '24 15:08 Greged2

ohh, disable /deop and /sudo in command block

Yaodeowo avatar Aug 19 '24 15:08 Yaodeowo

in some cases it's very useful to be able to run /sudo in command blocks, so i do not like disabeling it enitrely.

the only reason it's a problem right now is that commands executed by /sudo count towards the command cooldown of that player, which can be abused to disable chatting and running commands.

if /sudo commands didn't count towards the ratelimit cloops wouldn't be a problem, sinc you can just break them with the gamerule commandModificationBlockLimit, as said above

Meesterbouwer123 avatar Aug 19 '24 15:08 Meesterbouwer123

I agree with you

Greged2 avatar Aug 19 '24 15:08 Greged2

ayunboom (rip) moment

But in all seriousness, it seems like a really good idea, there are other methods of creating cloops that don't involve /clone but they are way more obscure and most probably won't be abused

dinhero21 avatar Aug 19 '24 16:08 dinhero21

going out of topic, i've just noticed i wrote a wrong word, and the sentence had no sense, fixed the typo

0skar2 avatar Aug 19 '24 19:08 0skar2

Kaboom absolutely destroyed. This is what's happening to kaboom once in a while.

GEOEGII555 avatar Aug 20 '24 15:08 GEOEGII555

ayunboom (rip) moment

But in all seriousness, it seems like a really good idea, there are other methods of creating cloops that don't involve /clone but they are way more obscure and most probably won't be abused

You can make cloops with spawners, but they're slower.

GEOEGII555 avatar Aug 22 '24 12:08 GEOEGII555

if /sudo commands didn't count towards the ratelimit cloops wouldn't be a problem, sinc you can just break them with the gamerule commandModificationBlockLimit, as said above

While this would make it easier, it's still problematic if you're being spam deopped

GEOEGII555 avatar Aug 22 '24 12:08 GEOEGII555

ayunboom (rip) moment But in all seriousness, it seems like a really good idea, there are other methods of creating cloops that don't involve /clone but they are way more obscure and most probably won't be abused

You can make cloops with spawners, but they're slower.

there are better ways

dinhero21 avatar Aug 27 '24 19:08 dinhero21