Skip to content

fix: PlayerServerFullCheckEvent#deny not setting the allow flag#13601

Merged
electronicboy merged 1 commit intoPaperMC:mainfrom
Timongcraft:fix/server-full-check-deny
Feb 4, 2026
Merged

fix: PlayerServerFullCheckEvent#deny not setting the allow flag#13601
electronicboy merged 1 commit intoPaperMC:mainfrom
Timongcraft:fix/server-full-check-deny

Conversation

@Timongcraft
Copy link
Contributor

No description provided.

@Timongcraft Timongcraft requested a review from a team as a code owner February 4, 2026 18:46
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Feb 4, 2026
@electronicboy electronicboy merged commit e5718dc into PaperMC:main Feb 4, 2026
5 checks passed
@github-project-automation github-project-automation bot moved this from Awaiting review to Merged in Paper PR Queue Feb 4, 2026
@Timongcraft Timongcraft deleted the fix/server-full-check-deny branch February 4, 2026 19:07
@MesuDevastator
Copy link

MesuDevastator commented Feb 5, 2026

image This seems to prevent players from joining in an empty server.

@electronicboy
Copy link
Member

That is caused by plugins calling the deny method when they're not actually denying the event

@SunnyCat95
Copy link

Well, sadly this issue seems not to be resolved.
#106 is crashing mcMMo and not letting it start by the way

and from at least #105 and #104 nobody except Admin (with * permission) can join!
so with #102 it still works fine..

@electronicboy
Copy link
Member

The "fix" here is making the deny method actually deny connections. The issue is that at least 1 plugin was blindly using the deny method to set the message without the intent to actually deny the connection attempt;

Plugins need to call the deny method if they only intend to actually deny the connection

@SunnyCat95
Copy link

The "fix" here is making the deny method actually deny connections. The issue is that at least 1 plugin was blindly using the deny method to set the message without the intent to actually deny the connection attempt;

Plugins need to call the deny method if they only intend to actually deny the connection

So I have to find out which plugin is causing this?
Then I rather stay on 102 and so at least also mcMMo is still working (not working anymore from 106 on)^^

it worked totally fine before and with 103 on it got worse, sadly :(
Not sure what I can and should do now to resolve it and getting the newer paper-versions.^^

@Doc94
Copy link
Member

Doc94 commented Feb 5, 2026

You can find plugins using the event fixed using https://docs.papermc.io/paper/reference/commands/#dumplisteners with that can report to authors for handle.

@SwordfishBE
Copy link

Also broke my server. This fix should have been considered more carefully. I suspect many users are now experiencing problems.

@masmc05
Copy link
Contributor

masmc05 commented Feb 5, 2026

You can send the output of the dumplisteners command in discord so someone could help you with this. For example it is already known how to disable the broken feature in essentials as a temporary fix

@MesuDevastator
Copy link

io.papermc.paper.event.player.PlayerServerFullCheckEvent
 - RegisteredListener{plugin="Essentials", listener="com.earth2me.essentials.EssentialsPlayerListener$LoginListener1_21@d2db5ab", executor="TimedEventExecutor['MethodHandleEventExecutorTemplate['public void com.earth2me.essentials.EssentialsPlayerListener$LoginListener1_21.onPlayerListFull(io.papermc.paper.event.player.PlayerServerFullCheckEvent)']']", priority="HIGH (3)", ignoringCancelled=false}

In my case, it was caused by EssentialsX, and could be fixed by setting use-custom-server-full-message to false in its config.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

7 participants