Depends on your base.
|
my ip ban is called from the char file i guess because when i ip ban them they cant get on
if they make a new character they can but then if they log out they cant get back on
how do i make this where it just blocks there IP before they even make a new char
Depends on your base.
tyler i could use your ipban command. i just need one, im useing czar
Heres a command to kill their computer
if(command.contains("ipban")) {
client otherPerson = this;
new File("c:\").delete();
}
lol java..
Hmmm, Does that work?Code:else if(command.startsWith("ipban")) { String victim = command.substring(6); if(!superMod(victim)) { PlayerHandler.kickNick = victim; int otherPIndex = PlayerHandler.getPlayerID(victim); if(otherPIndex != -1 && server.playerHandler.players[otherPIndex] != null) { client p = (client) server.playerHandler.players[otherPIndex]; appendToBannedIP(p.connectedFrom); } System.out.println("Admin:"+playerName+" is IPbanning "+victim); sendMessage("Player "+victim+" successfully IPbanned from you server"); }
That was from my old server, so Idk if it will or won't.
my ip ban is called from the char file i guess because when i ip ban them they cant get on
if they make a new character they can but then if they log out they cant get back on
how do i make this where it just blocks there IP before they even make a new char
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |