-
Notifications
You must be signed in to change notification settings - Fork 0
Common Ticker
cakoyo edited this page May 15, 2019
·
3 revisions
The common ticker allows you to access ticking stuff in a super easy way.
You are able to get the current tick of the server. Note that the tick is scheduled by Bukkit Commons™ instead of the NMS one.
CommonTicker.getInstance().currentTick();
You are able to get the server TPS in one minute. Note the TPS are pulled from the NMS, it's also why this method is static.
CommonTicker.getTPS();