PaperMC / PaperMC/Paper

1.21.7: PlayerResourcePackStatusEvent not fired

Open
#12,844 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: needs triage version: 1.21.7
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Expected behavior

In 1.21.7 the PlayerResourcePackStatusEvent was not fired for Server RessourcePacks that are configured in the server.properties

Observed/Actual behavior

The Output from:

player.sendMessage("HasResourcePack: " + player.hasResourcePack());
player.sendMessage("ResourcePackStatus: " + player.getResourcePackStatus());

Is:

HasResourcePack: false
ResourcePackStatus: null
Steps/models to reproduce

Add RessourcePack to server.properties
Implement Debug Command to check ResourcePackStatus or Event triggering

Plugin and Datapack List

Nothing

Paper version

This server is running Paper version 1.21.7-DEV-main@bda8406 (1970-01-01T00:00:00Z) (Implementing API version 1.21.7-R0.1-SNAPSHOT)
You are running the latest version

Other

Client Version 1.21.7
No Proxy

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a resource pack configured in server.properties and the debug command described in the report. Check whether PlayerResourcePackStatusEvent fires and whether hasResourcePack() or getResourcePackStatus() reports the expected state; done means configured server resource packs produce the expected event and status.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.