Guest Posted May 22, 2018 Share Posted May 22, 2018 Hi eveyone I wan't to add Account suspend to my login panel , i mean i wan't to delete account of any user in my server then, when he wants to log in again he gets Your account is permently suspended for hacking Link to comment
N3xT Posted May 22, 2018 Share Posted May 22, 2018 SQL/Account data or you can ban the player by the username banPlayer Link to comment
Guest Posted May 23, 2018 Share Posted May 23, 2018 But that message will not come when he tries to log in again " Your account is permently suspended for "..reason.." Link to comment
DNL291 Posted May 23, 2018 Share Posted May 23, 2018 (edited) Set a data on the banned account when player gets banned, eg: setAccountData (acc, "account-status", "banned"). So when a player tries to log-in, do a check: if getAccountData(...) then Edited May 23, 2018 by DNL291 Link to comment
Guest Posted May 23, 2018 Share Posted May 23, 2018 10 hours ago, DNL291 said: Set a data on the banned account when player gets banned, eg: setAccountData (acc, "account-status", "banned"). So when a player tries to log-in, do a check: if getAccountData(...) then Can you tell me how and sorry for annoying Link to comment
Skully Posted May 27, 2018 Share Posted May 27, 2018 On 5/23/2018 at 16:46, Hyper2 said: Can you tell me how and sorry for annoying By using the functions setAccountData and getAccountData as he stated. Check the wiki for examples and function usage. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now