register Packet Received
Registers a new trigger that runs whenever a packet is sent to the client from the server
Passes through two arguments:
The packet
The event, which can be cancelled
Available modifications:
Trigger.setPriority Sets the priority
ClassFilterTrigger.setFilteredClasses Sets the packet classes which this trigger gets fired for
Return
The trigger for additional modification
Parameters
method
The method to call when the event is fired