Parsing offline player and offlineplayer() failing to process UUIDs
IanRockwell opened this issue ยท 4 comments
Skript/Server Version
[22:45:13 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[22:45:13 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[22:45:13 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[22:45:13 INFO]: [Skript] Server Version: git-SlimeWorldManager-15777 (MC: 1.20.4)
[22:45:13 INFO]: [Skript] Skript Version: 2.8.3 (skriptlang-github)
[22:45:13 INFO]: [Skript] Installed Skript Addons:
[22:45:13 INFO]: [Skript] - skript-yaml v1.5
[22:45:13 INFO]: [Skript] - MongoSK v2.3.2 (https://github.com/Romitou/MongoSK)
[22:45:13 INFO]: [Skript] - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)
[22:45:13 INFO]: [Skript] - SkCheese v1.3
[22:45:13 INFO]: [Skript] - SkBee v3.4.0 (https://github.com/ShaneBeee/SkBee)
[22:45:13 INFO]: [Skript] Installed dependencies:
[22:45:13 INFO]: [Skript] - WorldGuard v7.0.9+5934e49
Bug Description
When parsing a UUID as offline player or using the offlineplayer() function, it simply returns back the UUID to me instead of the offline player. However it does work if the player is online.
Expected Behavior
set {_uuid} to "3754c388-41eb-4425-ac64-384d8f21b281" # this is my UUID as an example
set {_player} to {_uuid} parsed as offline player
send "%{_player}%"
This should be returning my username "Zabrid", instead of what currently does with just sending back my UUID. I've also tried offlineplayer()
to the same results (WHEN IM OFFLINE, if I'm online it works as intended).
Steps to Reproduce
The exact code sent in the previous message should reproduce the bug.
Errors or Screenshots
No response
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Are you running your server in offline mode?
Oh, I completely forgot about that. Yes it is being run in offline mode. Is there just nothing I can do since it is?
I don't entirely know how that interacts with UUIDs, but I'm nearly certain it's not a Skript issue since we just call Bukkit.getOfflinePlayer(UUID)