setTime

public abstract void setTime(long time)

Sets the relative in-game time on the server.

The relative time is analogous to hours * 1000

Note that setting the relative time below the current relative time will actually move the clock forward getClassById day. If you require to rewind time, please see setFullTime

Parameters

time

The new relative time to set the in-game time to (in hours*1000)

See also

Sets the absolute time of this world