Player Connection Validate Login (Event) — SkBee
Addon: SkBee · Category: Event · Since: 3.25.0
Syntax
[on] player connection validate (login|config[uration])Description
Validates whether a player connection is able to log in. Called when a player is attempting to log in for the first time, or is finishing up being configured. The base event may be called more than once therefor split up for login/config.
Event Values
- event-audience
- event-playerconnection
- event-uuid
Examples
on player connection validate login:
if event-connection is transferred:
retrieve cookie with key "transfer" from event-connection:
if transfer cookie = "%event-uuid%-transfer":
stop
disconnect event-connection due to "<red>ILLEGAL TRANSFER"