Remotely closing the connection for a player
#10

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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)