PDA

View Full Version : [508] RemoveAllPlayers.



Faab234
June 27th, 2010, 18:40
In Engine.java


public static void removeAllPlayers() {
for (Player player : players)
if (player != null)
removePlayer(player.playerId);
}

Thanks Trey.

UnitedScape
June 28th, 2010, 02:40
thanks faab will use

Aaron
June 28th, 2010, 02:48
Same here, Thank you sir Faab:D

UnitedScape
June 28th, 2010, 05:28
one question wat does this do lol

Faab234
June 28th, 2010, 07:02
It removes every Player. (Safe)

firescape_team
June 28th, 2010, 12:19
Nice, gonna use when System Update reaches 0:00 :)

Skillet
June 28th, 2010, 18:44
Looks nice !

Faab234
June 28th, 2010, 20:08
I don't tested it, but it's saves every player, and logs the player out.

Zero Mercy
June 28th, 2010, 20:27
one question wat does this do lol
Lol'd - The title says what it does

@Topic
Nice, even though I don't use 508+

Nathan
June 28th, 2010, 21:56
nice 1 :) this also helps lagg. u probs dont need playersave.java.

Faab234
June 29th, 2010, 07:11
nice 1 :) this also helps lagg. u probs dont need playersave.java.

Also you can Save every Player with One Command. So No PlayerSave.

Joshua F
June 29th, 2010, 07:59
This is pretty sexy, I might add it to my friends server.

aTime
June 29th, 2010, 15:41
Num num num


public static void removeAllPlayers() {
for (Player player : players)
removePlayer(i.playerId);
}

millennium
June 29th, 2010, 19:23
nice bro.

Trey
June 29th, 2010, 19:38
public static void removeAllPlayers() {
for (Player player : players)
if (player != null)
removePlayer(i.playerId);
}


This is what I was thinking.