I've searched existing issues and couldn't find a duplicate.
Operating System
Windows 11 24H2 26100.6584
Server Software Version/Commit
0.1.0-dev+1.21.11/e312c4c
What happened?
When a player opens the chat bar and enters only a single slash ('/') followed by pressing enter, the player is kicked from the server. The log reports an error:
2026-03-07 17:50:56 ERROR tokio-rt-worker ThreadId(58) pumpkin::error: read_boxed_slice: length 0 out of bounds
To Reproduce
- Join any Pumpkin server.
- Open the chat bar and enter only a single slash ('/') and press enter.
- The player will always be kicked, regardless of OP permission or game mode.
- The error log will contain a message like:
YYYY-MM-DD HH:MM:SS ERROR tokio-rt-worker ThreadId(58) pumpkin::error: read_boxed_slice: length 0 out of bounds
Expected behavior
Players should not be kicked when entering only a single slash in the chat bar. The server should handle empty or incomplete commands gracefully and not crash or disconnect the user.
Reproduce the video clip: https://github.com/user-attachments/assets/73de8e50-4c07-429c-8b30-217fe59cc248
I've searched existing issues and couldn't find a duplicate.
Operating System
Windows 11 24H2 26100.6584
Server Software Version/Commit
0.1.0-dev+1.21.11/e312c4c
What happened?
When a player opens the chat bar and enters only a single slash ('/') followed by pressing enter, the player is kicked from the server. The log reports an error:
To Reproduce
Expected behavior
Players should not be kicked when entering only a single slash in the chat bar. The server should handle empty or incomplete commands gracefully and not crash or disconnect the user.
Reproduce the video clip: https://github.com/user-attachments/assets/73de8e50-4c07-429c-8b30-217fe59cc248