Behavior
- Listeners and hooks survive.
clearresets captured state, not your registrations; remove those withdisconnector theremove_*_hookfunctions. - Blocks are dropped, so anything you blocked starts flowing again.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Clear captured packets and blocks.
raknet.clear() -> ()
getgenv() rather than as a plain global. Guard your
code with if getgenv().raknet then ... end, or read
raknet.is_enabled.clear resets captured state, not your
registrations; remove those with
disconnect or the remove_*_hook functions.raknet.clear()
print(#raknet.packets()) -- 0