OnPlayerJoin: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = onPlayerJoin | ||
|side = shared | |||
|type = event | |type = event | ||
| | |games = iii vc sa iv | ||
| | |desc = a player is in the process of connecting to the server | ||
| | |arg1 = Client client The client that is in the process of connecting to the server. | ||
|note = {{Shared/PlayerConnectionEvents}} | |||
|cancel = false | |||
| | |||
}} | }} |
Latest revision as of 20:28, 19 November 2022
Event
Server and Client
Online and Offline
Not Cancellable
Available since Server 1.0.0, Client 1.0.0
onPlayerJoin(Event event, Client client)
The onPlayerJoin event is invoked when a player is in the process of connecting to the server.
Parameters
1) | Event | event | The event object for this event. |
2) | Client | client | The client that is in the process of connecting to the server. |
Attributes
const | This event cannot be cancelled. |
Notes
- The chronological order of player connection events are:
Examples
There aren't any examples for this event.
Compatibility
There isn't any compatibility information for this event.
Related
Server Related
OnPlayerChat
OnPlayerCommand
OnPlayerConnect
OnPlayerJoin
OnPlayerJoined
OnPlayerQuit
Client Related
OnPlayerJoin