Hi! Looks very nice however, I have some questions.
Why should we use this over any other admin/admin panel? Are there any special features?
How do you store your data?
Is there any thing in this to keep people from Admin Abusing without being noticed?
Again, I really the design, and I hope for you the best.
Exploiters cannot access ServerScriptStorage, it’s not replicated to their client at all, meaning they cant even get hold of the panel in the first place
Was it a free model? If it was a free model, you are not required to give credit. Also, I did not do the scripting, I am the owner of the module and UI designer and @LuaAlbi is the scripter and UI designer of the kick and ban UI.
Maybe this is just me, but something about this is a little suspicious…
If you made something like this, which takes some effort to do, you should be able to know how to do that, it’s literally right there…
Designer for the main page? What does that mean…? It seems that this other person did the scripting and the UI, what did you do specifically. Clarification would be nice.
I think other panels have this. On top of that, where do we view warns?
Actually, if it was a free model, you shouldn’t be putting this here claiming it is your own. It’s against the rules, please review this:
Breaking this rule is an automatic ban from the devforum.
Sorry for being harsh, it’s all a bit fishy to me.
Hi, I was wondering, what makes this admin panel different from all the other admin panels released on the forums? (e.g. a new feature which other admin panels don’t offer/a different way of storing data/etc?)
This is a warning to those who are considering using this:
This isn’t very well put together - I checked the programming, and it’s a mess.
One of the issues I’ve noticed is that there’s RemoteEvents within the UI, which the LocalScript executes to the Scripts. This is in every UI button for the commands.
This contains a few issues, the biggest being that there’s no admin verification - you could ban another admin, yourself, or even the game owner. This is shown within the code itself for the ban script.
local Ban = game:GetService("DataStoreService"):GetDataStore("Banned")
script.Parent.OnServerEvent:Connect(function(By,To,Rea)
for i,v in pairs(game.Players:GetChildren()) do
if v.Name == To then
Ban:SetAsync(v.userId, true)
end
end
game.Players[To]:Kick('\nBanned. \nBanned by '..By.Name..' \n Reason: '..Rea)
end)
There is code within the AdminMenu script to prevent this, but this would be after the admin/owner got kicked/banned.
game.Players.PlayerAdded:Connect(function(p)
local Status = Ban:GetAsync(p.userId)
if Status then
if table.find(Admins,p.Name) or table.find(Admins,p.userId) or p.userId == game.CreatorId then
warn('Player: '..p.Name..' is banned but is an administrator.')
else
p:Kick("\nYou are banned.")
end
But even then, this has a major flaw - this doesn’t take into account group owners. This wont detect the group owner of a game as an admin.
Code is also copied and pasted lazily - the ban script’s just the kick script but with the ban data store added.
script.Parent.OnServerEvent:Connect(function(By,To,Rea)
game.Players[To]:Kick('\nKicked. \nKicked by '..By.Name..' \n Reason: '..Rea)
end)
Something to note with the data store while on the subject - there’s no error handling, and you don’t remove the player’s key from the data store if they’re not banned. Instead, they’re added, but with a saved value of false. I recommend using RemoveAsync instead.
local Ban = game:GetService("DataStoreService"):GetDataStore("Banned")
script.Parent.OnServerEvent:Connect(function(By,To,Rea)
Ban:RemoveAsync(To)
end)
But again, there’s a flaw with this: you save the player’s UserId, not the player’s name - even if you got the player’s user id, it would be taken as a string - you can only remove a number data store key with a number value, it can’t be mixed. The unban local script doesn’t tonumber it either.
Overall, with all these issues, I cannot recommend this admin panel/script - there’s a lot of (security) flaws that need to be taken care of before this can be seriously be used.
EDIT
I highly recommend checking out my later reply.
Don’t use this admin panel. Find something else that’s better.