player.authToken
Description
Used in tandem with earlyAuth
Syntax
readonly authToken: string;
Real World Example
const uniqueToken = player.authToken;
if (uniqueToken !== 'blahBlahBlah') {
player.kick('bad token');
return;
}
Description
Used in tandem with earlyAuth
Syntax
readonly authToken: string;
const uniqueToken = player.authToken;
if (uniqueToken !== 'blahBlahBlah') {
player.kick('bad token');
return;
}