OnPlayerConnect: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
|name = onPlayerConnect | |name = onPlayerConnect | ||
|usage = player starts connecting to the server. This event is a low-level event, which is invoked before the player's name is sent to the server | |usage = player starts connecting to the server. This event is a low-level event, which is invoked before the player's name is sent to the server | ||
|callbackParameters = Event event, string IP | |callbackParameters = Event event, string IP | ||
|cancellable = false | |cancellable = false | ||
|parameter1 = string IP The IP address for the player. | |parameter1 = string IP The IP address for the player. | ||
|notes = {{Shared/PlayerConnectionEvents}} | |notes = {{Shared/PlayerConnectionEvents}} | ||
}} | }} | ||
Revision as of 03:19, 11 February 2021
onPlayerConnect
Signature: void onPlayerConnect()
Usage: player starts connecting to the server. This event is a low-level event, which is invoked before the player's name is sent to the server
Parameters
- string IP The IP address for the player.
Return
void