This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Function Timer
Phoenix Nemo edited this page Dec 26, 2016
·
1 revision
Create Racing Games with Timer.
This function requires WorldEdit.
/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
nu.createtimer
Manage Timers.
File timer.yml
. DO NOT EDIT unless you know what you are doing.
-
/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
.