Roblox today just announced the release of alt detection when banning users, this ensures that alt accounts won’t be coming back into your game. Read more here:
But, for trolling YouTubers, how do you think this will impact them?
Along with this, what about false reports of it thinking it was that user but wasn’t?
Or even, Family members who play the same games but someone was banned in their household?
Let me know in the replies, I can’t wait to hear from everyone
Just made a module for it, all params are required.
local BanModule = {}
BanModule.Ban = function(UserIdArray, duration, DisplayReason, PrivateReason, AltAccountsBanned, ApplyToUniverse)
local Players = game:GetService("Players")
local config: BanConfigType = {
UserIds = UserIdArray,
Duration = duration,
DisplayReason = DisplayReason,
PrivateReason = PrivateReason,
ExcludeAltAccounts = not AltAccountsBanned, -- If AltAccountsBanned is true, we need to return false, and vice versa
ApplyToUniverse = ApplyToUniverse
}
local succ, err = pcall(function()
return Players:BanAsync(config)
end)
if succ then
-- Went through!
return true
else
-- Didn't go through.
return false
end
end
BanModule.Unban = function(UserIdArray, ApplyToUniverse)
local Players = game:GetService("Players")
local config: UnbanConfigType = {
UserIds = UserIdArray,
ApplyToUniverse = ApplyToUniverse,
}
local succ, err = pcall(function()
return Players:UnbanAsync(config)
end)
if succ then
-- Went through!
return true
else
-- Didn't go through.
return false
end
end
Very useful in my opinion, I had an api for this already but now its nativly integrated into roblox (not my system but theirs and i dont have to use my terribly inefficent code for it). Pretty cool though
I actually tested this with a friend & it didn’t work the best, in fact, alt detection didn’t work at all. We banned 3 of my alt accounts, and when one was banned with “ExcludeAltAccounts” being false, it didn’t work at all. Here’s what that looks like:
I hope this gets fixed soon, but until then, I wouldn’t rely on this.