|
|
Showing this to people who don't know how to do it.
Open AntiFlood.java
Search this:
Change 3 to whatever you prefer (1 is the best option).Code:private static ArrayList<String> connections = new ArrayList<String>(Settings.PLAYERS_LIMIT * 3);
Now open LoginPacketsDecoder.java
Search this:
Change the 3 to whatever number you used in AntiFlood.javaCode:if (AntiFlood.getSessionsIP(session.getIP()) > 3) {
Enjoy having a multi-logging free server.

wow I didn't know this was in the source, thanks dude.

nice job![]()
Erm, other people in your house..? friends..? what if they want to play? derp.
it would be awesome if u could make it change to ipv4 addresses so one person cant login unless they have another computer
| « Automatic Backup Creation [ALL] | [718] Grotworm Dungeon Crap » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |