now that the only admin is done
How do i make ban? i will do the kick part
like ban player, kick or unban
do i need to use:
Messaging, Datastore Services?
And Remote Function/Events?
Datastores are the best way.
char
And creating a folder or something that has the user ID of all players who are banned, and if it encounters a player with that ID kicks them.
but if a exploiter get in the folder?
he can unban all players that were banned (including the permently banned)
Datastore can security that easily
You could make it very tedious for the exploiter to get there, but putting that folder in a folder which is in another folder, and do that for about 100 folders.
Or you can use HTTPService and store the banned peoplesâ IDs in a website like a Google Site or something
i think the best way is using serverstorage because in one post exploiters cant access serverstorage
So no need 100 folders
i will try using HTTPService and datastoreservice
ah yes, letâs store data on google sites. To actually do so, youâd have to go out of your way to code the website yourself. Google sites is not the way to do something like this. If you want to store data offsite, like bans, you can use FireBase with @ShaneSlothâs Robase module. OR you could put this data on google sheets and any time you ban someone, you send a POST request to post this data then any time the player joins, you send a GET request to get this data and see if the player is banned. But this is very tedious and a lot harder than just using firebase. But you could just use datastores, thereâs no need to put it offsite tbh
ok so no HTTPService because i cant not violate the TOS of roblox?
Datastores security be like:
yeah it sucks
itâs not a violation of TOS, but you just canât store data on Google Sites. Not possible
and thatâs all you got from what i said lmao.
Before you solve this problem of how to ban exploiters, have you considered if this is actually a problem for you? Do you have a popular game that is being exploited?
From what I see youâre attempting to do, it doesnât make much sense to me. If someone was exploiting, they wouldnât likely be using your admin tools that you made. And even if they were, theyâd probably be adding that after they join, not before, so checking âplayeraddedâ wonât be useful.
In other words, if you want to learn how to make your own admin script, Iâd suggest moving on with making some commands that actually do something useful for you and not get hung up on making it bullet proof from exploiters.
i dont have a popular game being exploited, i dont want my game be exploited because a small exploit to a big problem so i want to prevent that from happening in the future.
I get that, but you could worry about securing the script after you make a useful script. Thatâs just he way I would want to do it. Get the basics down before you try to tackle advanced topics? That my opinion, do what you like.
If your script that is handling the events generated by your admin gui is checking the admin list there is no reason to care if an exploiter has cloned your admin gui.
That does not change the security at all⌠You can literally use this to bypass thatâŚ
for i,v in pairs(MainFolder:GetDescendants()) do
if v.Name == "Example" and v:IsA("Example") then
--Code Here
end
end