removed redundant bullet point

This commit is contained in:
Chris Langsenkamp 2019-09-23 00:08:41 -04:00
parent 600d11f5dd
commit 7c341e4e89

View File

@ -49,7 +49,6 @@ To make your own custom Authenticator, you can just create a new script in your
Here are some tips for custom Authenticators:
- `OnStartServer` and `OnStartClient` are the appropriate methods to register server and client messages and their handlers. They're called from StartServer/StartHost, and StartClient, respectively.
- `RegisterMessage` has a boolean parameter `requireAuthentication`. This defaults to true and **must** be specified false for any messages you need to exchange with the client before they're authenticated.
- Send a message to the client if authentication fails, especially if there's some issue they can resolve.
- Call the `Disconnect()` method of the `NetworkConnection` on the server and client when authentication fails. If you want to give the user a few tries to get their credentials right, you certainly can, but Mirror will not do the disconnect for you.
- Remember to put a small delay on the Disconnect call on the server if you send a failure message so that it has a chance to be delivered before the connection is dropped.