How to do this?
Is there any way to verify if a user is premium? Because if a "no-premium" user writes /premium, he will get whitelisted as premium even tho he is not and then will say "invalid session"
Or any placeholder that %fastlogin_is_premum% = yes/no
In the readme it is stated:
This plugin supports
PlaceholderAPIonSpigot. It exports the following variable%fastlogin_status%. In BungeeCord environments, the status of a player will be delivered with a delay after the player already successful joined the server. This takes about a couple of milliseconds. In this case the value will beUnknown. Possible values:Premium,Cracked,Unknown
Furthermore, you might use this method, although it is deprecated: https://github.com/games647/FastLogin/blob/de1487b6aae79bbbb054bc3d8f883bf159aff1d9/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java#L152-L153
I noticed the placeholder work fine only for Premium user, for cracked user it will appeaer Unknown instead Cracked, is a bug?