We need login.php to gather freePremium setting from config.lua in order to ispremium to work correctly.
Current situation with freePremium set to true is that every account is being shown as free account because the client gather that info only from login.php now, and having an account as free, make lots of weirds widgets to appear in game and even some client features unavailable.
bellow is how gesior did it on his aac:
'ispremium' => Website::getServerConfig()->getValue('freePremium') ? true : $account->isPremium(),
We need login.php to gather freePremium setting from config.lua in order to
ispremium
to work correctly.Current situation with freePremium set to true is that every account is being shown as free account because the client gather that info only from login.php now, and having an account as free, make lots of weirds widgets to appear in game and even some client features unavailable.
bellow is how gesior did it on his aac:
'ispremium' => Website::getServerConfig()->getValue('freePremium') ? true : $account->isPremium(),