okx-code / Rankup3

An easy-to-setup and lightweight rankup system with a GUI!
https://www.spigotmc.org/resources/rankup.76964/
GNU General Public License v3.0
46 stars 52 forks source link

internal error #54

Closed Misterwingnut closed 3 years ago

Misterwingnut commented 3 years ago

Landlubber: rank: 'default' next: 'landlubber' requirements:

Misterwingnut commented 3 years ago

im getting this message "An internal error occurred while attempting to perform this command" and the console says this...

Caused by: java.lang.NullPointerException at sh.okx.rankup.ranks.RankList.getByPlayer(RankList.java:109) ~[?:?] at sh.okx.rankup.RankupHelper.checkRankup(RankupHelper.java:150) ~[?:?] at sh.okx.rankup.RankupHelper.checkRankup(RankupHelper.java:139) ~[?:?] at sh.okx.rankup.commands.RankupCommand.onCommand(RankupCommand.java:40) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Purpur-967] ... 19 more

NicBOMB commented 3 years ago

This is not helpful. The original file formatting has been removed during your copy paste, or your entire file was formatted incorrectly. Please share the original file or use a paste service like https://pastie.io/ to share your file. Also join the discord server and verify your spigot username for live support.

NicBOMB commented 3 years ago

It also seems like you're using commands to add luckperms groups manually. Are you using permission-rankup: true? I suggest looking at this https://github.com/okx-code/Rankup3/wiki/FAQ#do-i-need-to-add-a-command-to-manually-change-a-players-group

Misterwingnut commented 3 years ago

https://pastie.io/xuhxbp.sql

Is that better, that is the ranking up I have tried to do. I can get the errors for you a little later.

NicBOMB commented 3 years ago

That's still incorrect. Use the discord server if you require further assistance.