when? like when i log out or ever couple of minutes?
|
i don't think so...but i remember a wile ago someone released something that when you start your server it open's with the cmd a java window that it will save if their is dced or stuff...
and i got this in destruct()
it's not really helping lol..Code:synchronized (this) { PlayerSave.saveGame(this); if(disconnected == true) { saveCharacter = true; }
Are you using dspk or zesptic?
Commands.java
Just remind your players to save oftenCode:if (playerCommand.equals("saveall") && c.playerName.equalsIgnoreCase("name here")) { for (final Player player : PlayerHandler.players) { if (player != null) { final Client c2 = (Client) player; c2.SaveGame(); c2.sendMessage("<col=1532693>name here has saved your account.</col>"); } } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |