Skip to content

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.

The ticking counter

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();

The server TPS

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();
Clone this wiki locally