I’ve been spending some time trying to make a ban system where the game will detect if a player gets banned, then kick them from whatever server they’re in.
In the script I’m about to show, it doesn’t include the global ban code because it isn’t coded because it keeps breaking the ban function. I’m trying to figure out how to incorporate a global ban detection system into my currently existing code.
Here’s my code:
Any help would be hugely appreciated, as this would be a hugely beneficial addition.
I made a BanManager a while ago that uses MessagingService to achieve cross-server banning. You should check out the code and see how it works, so you can implement a similar system in your game.
When a player is initially banned in a seperate server, are they kicked from that server right as they’re banned or do they have to rejoin to receive the ban?