05.05.2015, 01:44
The client writes that message. This isnt anything the server could control, not even with special packets to the client.
If you want to quietly remove or suspend a player from the game, unsync him using OnPlayerUpdate.
And creating a kick-native that does not call OnPlayerDisconnect would be against the meaning of OnPlayerDisconnect. This would cause more problems than it would solve. Simply setting a flag would be absolutely fine to prevent sending the "left the server" message.
If you want to quietly remove or suspend a player from the game, unsync him using OnPlayerUpdate.
And creating a kick-native that does not call OnPlayerDisconnect would be against the meaning of OnPlayerDisconnect. This would cause more problems than it would solve. Simply setting a flag would be absolutely fine to prevent sending the "left the server" message.