Reports whether Athena has the client’s transport intercepted. Only while this is true do packets reach your listeners and hooks.
RakNet is off by default. The library exists only when the RakNet feature is enabled in the Athena loader, and it is published on getgenv() rather than as a plain global. Guard your code with if getgenv().raknet then ... end, or read raknet.is_enabled.

Returns

boolean
true when interception is installed.

Behavior

  • It can be false even when the feature is enabled, for example before the transport has been found, or after a disconnect. Check it before concluding that a silent hook means no traffic.

Example

  • is_enabled: the loader setting.
  • stats: fuller detail, including the transport in use.