LoonyRules

Results 7 issues of LoonyRules

**Describe the feature** It would be great if we could register multiple Request Loggers, just like we do right now for registering `.beforeMatched(...)` handlers. This would allows us to separate...

FEATURE REQUEST

**Describe the feature** Add a `onBeforeUpgrade` to the WsConfig for when a Ws endpoint is registered: ```java javalin.ws("/ws", wsConfig -> { wsConfig.onBeforeUpgrade(ctx -> { if (!ctx.isAuthorized()) { // Pseudo method....

FEATURE REQUEST

**Describe your issue** The `WsConnectContext`, `WsCloseContext`, `WsErrorContext`, `WsMessageContext`, and `WsBinaryMessageContext` classes do not have a pretty way to retrieve the Context that was used during the Upgrade request via the...

FEATURE REQUEST

**Describe the feature** It would be nice if the WebSocket Request Logger had a `onUpgrade` method that would be invoked when a HTTP request tried to be upgraded. I'd like...

FEATURE REQUEST

**Actual behavior (the bug)** An error occurring inside of a `wsBeforeUpgrade(...)` handler, eg: authenticating requests before upgrading to a websocket resulting in an `UnauthorizedResponse` being thrown, results in no RequestLogger...

BUG

**Describe your issue** When I was updating my Request Logger to log WebSockets, I noticed that the `Ws{{Action}}Context.matchedPath()` was returning `*` instead of `/ws` that I would've expected. For HTTP...

### Expected behavior Only one event call for the PlayerInteractEvent when a player in Adventure interacts with an item that is in their hand on a block. For example: trying...

type: bug
status: accepted
version: 1.16