OfflinePlayer#setWhitelisted writes an empty name to whitelist.json for players obtained via getOfflinePlayer(UUID)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing Bukkit.getOfflinePlayer(UUID) and OfflinePlayer#setWhitelisted, then reproduce the write to whitelist.json. Done means the stored entry has the player’s real name from the profile cache or profile, and /whitelist list and /whitelist remove completion display that player correctly.
索引モデルが issue の本文から書いたものです。
説明
Expected behavior
Whitelisting a player with Bukkit.getOfflinePlayer(uuid).setWhitelisted(true) should store the player’s real name next to the UUID, using the profile cache or the player’s profile, like /whitelist add does.
Observed/Actual behavior
whitelist.json gets {"uuid": "<uuid>", "name": ""}. /whitelist list then shows a blank entry, and the player is missing from tab-completion of /whitelist remove.
Steps/models to reproduce
- Call
Bukkit.getOfflinePlayer(uuid).setWhitelisted(true)for a player who is not online. For example, call it during the configuration phase, in a handler forPlayerCustomClickEvent. - Open
whitelist.json: the name is "". - Run
/whitelist list: the entry shows as blank.
Plugin and Datapack List
Just a test plugin that triggers the behaviour described in the 'Steps to reproduce' section. There are no data packs (only vanilla).
Paper version
This server is running Paper version 26.3-205-main@a90108f (2026-10-17T20:50:27Z) (Implementing API version 26.3.build.205-stable)
Other
No response
- 主要言語
- Java
- スター
- 12.7k
- フォーク
- 3.5k
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 45
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PaperMC/Paper のほかの issue
-
type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
PaperMC/Paper#14375 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Add .getIgniter() to ExplosiveMinecart対応中かも @WouterGritter が 33 日前に担当しました。 オープンstatus: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
PaperMC/Paper#14097 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
BlockType#isOccluding is incorrectly handled対応中かも @ryoji-ikeda が 177 日前に担当しました。 オープンstatus: accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
PaperMC/Paper#13790 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
status: needs triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
QuicksilverMC/Argentum#31 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
navikt/mock-oauth2-server#1129 ·
メンテナーはふだん 1 日以内に返信
-
bug main ui
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
openhab/openhab-webui#4600 ·
メンテナーはふだん 4 日以内に返信
-
26.4 area: tags enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
`DeepSeekChatModel` streaming returns no content when chunks have no `id`対応中かも @lejuho が今日担当しました。 オープンstatus: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
spring-projects/spring-ai#7214 ·
メンテナーはふだん 2 日以内に返信