Ban Users From Groups

I’ve probably been beaten to this, but a while back I was looking for a way to ban people from roblox groups, as it’s nice being able to keep your group wall open. In this search I found zero resources for kicking people, so I made one.

It’s a simple python script, & serves one purpose, repeatedly kicking people from groups, but I’ve found it greatly helpful. To run it you’ll need a VPS or, in my case, a secondary computer which you never turn off. If you have these things available to you, its a great tool to have to fight against trolling/spamming, etc. Feel free to modify the code as you’d like, or contribute if you see something that could be improved. That is all, have a nice day!

12 Likes

this isnt a base roblox feature???

yes, you can only exile users which they can rejoin the group, while this one bans users from your group using a bot

1 Like

this won’t work great because if someone or multiple people are persistent enough, they will keep trying to join back and will cause your cookie/ip to get ratelimited so they will still be able to join back the group eventually

you could just “ban” someone by enabling manual requests and then kicking them out of the group easy

then setup some bot that automaticially approves everyone who is not “banned”

2 Likes

Cookies wont expire as far as im aware. Ive run this for days at a time and haven’t had it run into any issues.

1 Like

This is true but sometimes gives off the vibe that the group is exclusive which I don’t like, I’ll consider making another version for automatically accepting requests.

2 Likes

(post deleted by author)

it’s not that the cookie will invalidate, it’s the cookie will get ratelimited by the api if multiple banned users are spam trying to join back the group.

1 Like

im so dumb, i thought this was node.js :confused:

I wasn’t aware of this, although to be fair, most large groups eventually disable the wall anyways, this is a small scale solution for small scale annoyances, lol. When i ever feel up for it, ill write a version which automatically accepts members. *no garuntees how long it takes for me to find motivation for that though, lol.

This is an interesting use of technology, though why not just make a “Banned” role in your group and give that users no features?

1 Like

the code actually did this for some time, but iirc when the player left and rejoined, it would wipe their role, not 100% on that as it was a while ago that i worked on this. but when you approach the issue its just, both solutions achieve the same exact thing, except one costs 25 robux, so it seemed like the most reasonable way to achieve that.

1 Like

Ah ok, I see what you mean now. I’m sure this recourse can be used to truly achieve this!