Function Timer - NyaaCat/NyaaUtils GitHub Wiki
Timer
Create Racing Games with Timer.
This function requires WorldEdit.
Command
/nu timer create [timername]
Create a new timer called timername.
/nu timer addcheckpoint [timername]
Add a new checkpoint to timername.
/nu timer togglebroadcast [timername]
Toggle whether timername should broadcast realtime player stats.
/nu timer info [timername]
Check information of timername.
/nu timer remove [timername]
Remove timername timer.
/nu timer enable [timername]
Enable timername.
/nu timer disable [timername]
Disable timername
Permission
nu.createtimer
Manage Timers.
Config
File timer.yml. DO NOT EDIT unless you know what you are doing.
Usage
/nu timer create example- Create a timer calledexample.- Select a region using WorldEdit. You may select a larger region, just in case that player can't be detected - e.g., on the ship, or flying too fast.
/nu timer addcheckpoint example- Add this region as checkpoint toexample.- Loop from 2 - 3, until all checkpoints added. Note: the first checkpoint will used as start point, and the last will be used as finish point. So every timer should have at least 2 checkpoints, otherwise it won't work.
- Enable the timer using
/nu timer enable example.