Rewrite KaboomCheck #11

Merged
ChomeNS merged 1 commit from amy/chomens-chipmunkmod:1.20.1 into 1.20.1 2025-01-25 21:21:29 -05:00
Contributor

It no longer sends any packets anymore, and does not use timers.

The way the check is done is very simple:
When the server sends a list of its commands to the client, we verify that

  • (in case we're op) extras:prefix is present
  • (in case we're deopped) minecraft:op is present

The latter may seem a bit stupid, but I don't think any servers would want offer that command for deopped players.

It no longer sends any packets anymore, and does not use timers. The way the check is done is very simple: When the server sends a list of its commands to the client, we verify that - (in case we're op) `extras:prefix` is present - (in case we're deopped) `minecraft:op` is present The latter may seem a bit stupid, but I don't think any servers would want offer that command for deopped players.
amy added 1 commit 2025-01-25 18:39:25 -05:00
ChomeNS merged commit a4a9fcf0b4 into 1.20.1 2025-01-25 21:21:29 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ChomeNS/chipmunkmod#11
No description provided.