-
Notifications
You must be signed in to change notification settings - Fork 2
Description
In order to consistently ban players across all severs, the server should maintain its own list of banned players. This will be updated when running the ban command in addition to executing /ban on all connected servers.
Upon a player trying to join, the polychat client should ask the server if the player's uuid is banned and the server will check its database to answer this.
If the player has been banned, the client will disconnect said player and to provide an additional safety net, it will execute its own ban command.
This allows for easier synchronisation of ban lists across servers, even persisting across server resets or new deployments. It could also in theory allow for easier management of timed bans. It will also prevent servers from being unable to ban a player if they're not connected to the polychat server, for example if they're midway through a restart.
In discord: staff runs ban command, bot executes the ban command on each connected polychat client, and updates its own database.
Ingame: when a player tries to join, the polychat server will check if they're banned and if so, they'll be disconnected.
This could also be extended to allow for polychat managed mutes, as currently all ingame muting is managed by other plugins or mods.