IntellectualSites / IntellectualSites/PlotSquared

Plot Alias Bug

Open
#4,812 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Requires Testing
Dominant language
Java
Stars
653
Forks
975
Avg merge
2m
Merged PRs (30d)
6

Description

Server Implementation

Paper

Server Version

1.21.11

Describe the bug

When you want to teleport to the plot and enter the name, this error message appears. /p v alsiasname = error

To Reproduce

idk

Expected behaviour

[19:36:40 INFO]: Sir_Mephisto issued server command: /p v fort_otteria
[19:36:40 WARN]: Couldn't find profile with name: fort_otteria
com.mojang.authlib.exceptions.MinecraftClientHttpException: Couldn't find any profile with name fort_otteria
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:103) ~[authlib-7.0.61.jar:?]
at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:56) ~[authlib-7.0.61.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfileByName(YggdrasilGameProfileRepository.java:117) ~[purpur-1.21.10.jar:?]
at com.destroystokyo.paper.profile.PaperGameProfileRepository.findProfileByName(PaperGameProfileRepository.java:49) ~[purpur-1.21.10.jar:1.21.10-2535-0a2dc04]
at net.minecraft.server.players.CachedUserNameToIdResolver.lookupGameProfile(CachedUserNameToIdResolver.java:74) ~[purpur-1.21.10.jar:1.21.10-2535-0a2dc04]
at net.minecraft.server.players.CachedUserNameToIdResolver.get(CachedUserNameToIdResolver.java:144) ~[purpur-1.21.10.jar:1.21.10-2535-0a2dc04]
at org.bukkit.craftbukkit.CraftServer.getOfflinePlayer(CraftServer.java:2020) ~[purpur-1.21.10.jar:1.21.10-2535-0a2dc04]
at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:1517) ~[purpur-api-1.21.10-R0.1-SNAPSHOT.jar:?]
at plotsquared-bukkit-7.5.11-Premium.jar/com.plotsquared.bukkit.uuid.OfflinePlayerUUIDService.getUUIDs(OfflinePlayerUUIDService.java:72) ~[plotsquared-bukkit-7.5.11-Premium.jar:?]
at plotsquared-bukkit-7.5.11-Premium.jar/com.plotsquared.core.uuid.UUIDPipeline.lambda$getUUIDs$4(UUIDPipeline.java:381) ~[plotsquared-bukkit-7.5.11-Premium.jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/9fb898efa49944288ca8c1cb1d08ef4f

PlotSquared Version

plotsquared-bukkit-7.5.11-Premium.jar

Checklist
Anything else?

No response

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 /p v fort_otteria with the versions and debugpaste provided. Read OfflinePlayerUUIDService.getUUIDs and the UUIDPipeline.getUUIDs call path shown in the stack trace, then trace how plot aliases are resolved. Done means a valid plot alias no longer triggers the failed Minecraft profile lookup and the teleport behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.