Kicking a player that's in another server

I’ve made a temp ban and I was wondering how would I kick a player that’s in another server that I have ban. Just need ideas what I could use.

Use Data stores.

3 0 c h a r s

There’s probably a few ways you can do this.

  1. Use messagingService and fire a message to all servers to kick a certain player if he’s in the server (and preferably add him to a ban list so he can’t rejoin or so you don’t have to keep sending multiple messages).

  2. Use datastore service and add the player to the datastore → Have every server check the datastore every interval. If the players in the datastore are in the server → kick them.

  3. Similar to option 2, you can use a pastebin or github → add whatever names to it → have the servers check that list every so often → servers kick players that are on the list

4 Likes