Minor update
- Removed the useCache option
- Fixed type inferences
Sidenote: I removed this because I feel like this is useless bloat since you can create a cache yourself in a more efficient and succinct manner
Sidenote: I removed this because I feel like this is useless bloat since you can create a cache yourself in a more efficient and succinct manner
It seems to be kicking me as soon as I require the module. I think it’s because LoadBanData() is returning nil even though it passed through the if success statement?? Am I doing something wrong?
I made a fatal error in the module, my apologies. It has been fixed.
I get this error now:
ServerScriptService.BanManager:49: attempt to index nil with 'IsBanned'
I think It’s trying to get stuff from a table that doesn’t exist
Fixed again, I made a typo and published without checking, I’m so sorry.
Hate to bother you again, but line 54 of the module should be player.UserId so remove async can work.
Fixed, thank you for all of these notices, I’m surprised how I didn’t catch these earlier.
I have a question
If you banned player and they get unbanned, but there still line that bans them, will they get ban again?
(Sorry for bumping)
If you ban a player, then unban a player, and then ban them again, they will be banned again.
No, I mean,
If you put a line to ban them (call function that bans)
and leave it there, will it ban them again once they unbanned?
Is that not what I said?
Just asking that, if you just leave line that banned them, they get unbanned, but, since line that bans them still there, it will ban them again right?
There still work-arounds with that to know that player got banned
Do you know how to get this text near name like Programmer (well I think you know since you got it)
If you leave the line that banned them, they shouldn’t be unbanned.
Join this group: Programmers - Developer Forum | Roblox
Go to your account summary and press preferences.
Quite a well-made asset, as someone mentioned earlier. Glad to see you have added support for ProfileService since I last checked on this module.
Thanks for the contribution and dedication to updates.
This has been superseded by Roblox’s new Ban API, so I will discontinue this project. Thank you for all the support though, and I wish you all a good day!
Tough break, it was a good idea!
I still use an edited version of this simply for the logging part with the ExtraBanData bit. It’s very useful paired with the new ban API!