Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offlineplayer that has not joined the server returns null in variable #2458

Closed
BladeMC1 opened this issue Sep 15, 2019 · 3 comments
Closed
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).

Comments

@BladeMC1
Copy link

BladeMC1 commented Sep 15, 2019

command /fpa [<Text>] [<offlineplayer>]:
    permission: sa.as
    trigger:
        if arg 1 is "isim":
            add arg-2 to {fa::*}
            send "Başarı ile %arg-2% &feklendi" to player

I add people with this command and when I add: http://prntscr.com/p6a5sh
When you restart the server: http://prntscr.com/p6a5xa

Server and skript relase: http://prntscr.com/p6cdca

@ShaneBeee
Copy link
Contributor

  1. Any version other than the newest version of Skript is no longer supported
  2. 1.8.8 and below has never been supported by this fork
  3. When creating a new issue, please don't delete the template, actually fill it in.

@Blueyescat
Copy link
Contributor

Blueyescat commented Sep 15, 2019

I can confirm this on a Paper 1.13.2 server with Skript 2.4-beta7, happens if the offline player saved in a variable has never played on the server.

According to Bukkit/Spigot docs this is not a new thing but also not related to Skript, though it shouldn't be returning null. Probably return the UUID?
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/OfflinePlayer.html#getName--

@FranKusmiruk
Copy link
Member

Be aware that even if this bug is fixed, neither your minecraft version nor your Skript version is supported anymore so you won't be able to solve this without updating.

@FranKusmiruk FranKusmiruk added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation). labels Sep 16, 2019
@Whimsyturtle Whimsyturtle changed the title Veriable name change to null Offlineplayer that has not joined the server returns null in variable Oct 17, 2019
@TPGamesNL TPGamesNL added PR available Issues which have a yet-to-be merged PR resolving it completed The issue has been fully resolved and the change will be in the next Skript update. and removed PR available Issues which have a yet-to-be merged PR resolving it labels Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
Projects
None yet
Development

No branches or pull requests

6 participants