Possible issue with PluginMessages to clients
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Expected behavior
When joining the server, if the port that the simple voice uses is open, the simple voice will connect to the client in 100% of cases (if mod installed)
Observed/Actual behavior
When you use paper, voice chat will ALMOST (occasionally, randomly) not work:
- From time to time (as if randomly) when joining the server, the plugin will not be able to authorize the player. According to my observation, this most often happens at the first login to the server.
- If you do the steps below.
Steps/models to reproduce
This plugin will not be able to authorize the player (and voice chat will almost not work) if you do the following:
- Create a new paper server.
- Install simple voice
- Log in to the server
- Fly around the world (away from spawn) for about a minute
- Get down, break some blocks
- Log out of the server
- Stop it right away
- Start again
- Log in 5-6 seconds after server start
- You will see the problem.
Plugin and Datapack List
Datapacks: 0
Plugins (1): voicechat (simple voice)
Paper version
paper 1.19.2-307
Other
- During the investigation, I and the simple voice support (henkelmax) came to the conclusion that the problem only occurs on paper and its forks (everything is fine on spigot)
- I was asked to create this issue in SimpleVoice support, administrators will discuss it here (more technical information will be provided)
- https://discord.com/channels/854659575324344340/1047604717569712248 - here you can see the progress of our investigation with henkelmax (discord server: https://discord.gg/UUPn3Hr9Eb)
- https://github.com/henkelmax/simple-voice-chat/issues/508 - old investigation, but it was not quite correct
- on 1.19.3 the same problem
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No Paper files, tests, or code entry points are named. Start by reproducing the restart-and-reconnect sequence on Paper 1.19.2 and compare it with Spigot, then review the linked Simple Voice Chat investigation and Discord discussion. The issue is resolved when the authorization failure is explained and a verified fix or regression test covers the scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100