I've been experimenting with chat commands and have made a few so far, but I am stuck on how to make a ban command. I have tried using httpservice and a pastebin link to ban anyone in that list, but then realized I can't update pastebin using roblox. I would like to know if there is a way for me to ban someone from not only the current running servers but also servers that are created in the future by using an in game command.
How can I make a ban list that I can update from inside of roblox?
2 answers
Personally I use trello and their api because it works great, as long as you work with it respectfully (don't overload it by sending in data other than important stuff such as bans), you should be able to access their api whenever you want to add a ban. I think there's already a trello api module for roblox made by someone that has the functions set up and all you need to do is access it.
The other ways are just speculation and stuff that I've heard from other people cos I have not tried it myself, I heard you can do this using roblox models and roblox api but I am not sure on the procedure at all, likewise I heard you can use datastores with GetAsync on loop in order to receive any data that changes, so changes from one server in the datastore will be received in the others, hopefully this helped.
If you don't want to get caught up in external api and stuff I recommend using roblox's datastores.
2 comments
I accepted this answer because it will work for now. But do you have any idea on how I can do a temporary ban? Please comment on the question instead of on your answer if you have any ideas
I accepted this answer because it will work for now. But do you have any idea on how I can do a temporary ban? Please comment on the question instead of on your answer if you have any ideas
You can add a BoolValue called banned then check if it’s true then kick them
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
external database or datastores.