Exion-Pk
Would you like to react to this message? Create an account in a few clicks or log in to continue.


A 24/7 No Lag Server!
 
HomeLatest imagesSearchRegisterLog in

 

 Sytem Update Timer

Go down 
AuthorMessage
Michael
Admin



Posts : 15
Join date : 2010-05-09

Sytem Update Timer Empty
PostSubject: Sytem Update Timer   Sytem Update Timer I_icon_minitimeThu Aug 12, 2010 8:10 pm

go into client.java
search up
Code:
if (command.equals

add this after a bracket(hit enter first)

Code:

if (command.startsWith("update") && (command.length() > 7) && (playerRights > 2)) {
PlayerHandler.updateSeconds = (Integer.parseInt(command.substring(7)) + 1);
PlayerHandler.updateAnnounced = false;
PlayerHandler.updateRunning = true;
PlayerHandler.updateStartTime = System.currentTimeMillis();
}
now when u do the command do "::update" then after update put the amount of time u want the timer to count down from(;
Back to top Go down
https://exion-pk.board-directory.net
 
Sytem Update Timer
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Exion-Pk :: Exion-Pk :: Server Help/Guides-
Jump to: