Am I blind or there is no Server.getTimeSpeed() API method to retrieve the time speed set in server properties?
If it is not there, it would be a useful addition...
Am I blind or there is no Server.getTimeSpeed() API method to retrieve the time speed set in server properties?
If it is not there, it would be a useful addition...
There is indeed no such function, will be added with the next update (it will be server.getGameTimeSpeed() then)
However, as a workaround you could retrieve the value from the server.properties by using the getOption() function, e.g.:
However, as a workaround you could retrieve the value from the server.properties by using the getOption() function, e.g.:
Of course! I didn't think of this!
Don’t have an account yet? Create a new account now and be part of our community!