when i right click a lever in minecraft it sends a packet to the server. So can I catch that packet with a client side mod and send that minutes later to the server?
Yes. A client-side Fabric mod can intercept the lever interaction packet, cancel it, and try to send it later.
However, replaying the original packet may not work: the server can reject it if you’ve moved too far away, changed dimensions, disconnected, or the interaction sequence is stale. A more reliable approach is to save the lever’s position and schedule a fresh interaction when the delay expires. The server still decides whether that interaction is valid.
Is there anyway to trick the server?
Not reliably from a client-side mod. You can send a delayed or modified packet, but the server decides whether to accept it and can check your position, reach, dimension, and the lever’s state.
A server with a validation bug might accept an interaction it shouldn’t, but that depends on the server and isn’t guaranteed. If you control the server, the dependable solution is a server-side mod or plugin that schedules the lever toggle.
No files in this session