WiBox Posted August 29, 2018 Posted August 29, 2018 As all know, when you get banned from a server and you try to rejoin, a GUI will open which say you're banned reason without joining the server, is there a way I can remove that GUI? I mean I want, if the player was banned he'll can join the server, but I didn't have any clue to do that Any help?
Dimos7 Posted August 29, 2018 Posted August 29, 2018 1 hour ago, SSKE said: As all know, when you get banned from a server and you try to rejoin, a GUI will open which say you're banned reason without joining the server, is there a way I can remove that GUI? I mean I want, if the player was banned he'll can join the server, but I didn't have any clue to do that Any help? I need some question for help you you ban player thought admin panel or other resource? You have database store bans etc
Malone. Posted August 29, 2018 Posted August 29, 2018 hmm i got you're point it's can be removed from "P" Admin Panel but iam not sure about that , go ahead and try
itHyperoX Posted August 29, 2018 Posted August 29, 2018 Maybe you can, but the best solution for this, make your own ban system
JeViCo Posted August 29, 2018 Posted August 29, 2018 @SSKE you can replace banPlayer function with setAccountData at admin-panel resource. But you have to check getAccountData and show your GUI window instead of login panel to prevent bug abusing
WiBox Posted August 29, 2018 Author Posted August 29, 2018 Thanks guys, but I think I found it, @JeViCo as you said if the player has been banned using banPlayer the ban will show, but if I used setAccountData of using banPlayer he'll can join but here's where I make my code so he can't login and.... Thanks guys 1
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