(06-16-2017, 11:46 PM)IronWolf Wrote: Its posible to detect the word time in plugins?
You can use GetTimeOfDay. For example
Code:
Player:GetWorld():GetTimeOfDay()
will give the world time in ticks for the world a player is in.
Code:
cRoot:Get():GetWorld("worldname"):GetTimeOfDay()
https://api.cuberite.org/cWorld.html