• 5/20/20 6:15 pm
- 3.2k views • 0 today
- save_alt 76 downloads
- Compatibility
- Minecraft 1.13
- to version
- Minecraft 1.16
- Changes include
- Functions
6
UPDATE: The current file confirms that you're currently being timed to prevent your players from being teleported into the void.
/function gametimer:start_timing will also set_checkpoint and /function gametimer:return_checkpoint won't do anything unless the player is actively being timed.
The unchecked teleport still exists at /function gametimer:do_teleport_unsafe <-- this function WILL teleport you into the void if your waypoint isn't saved. Use return_checkpoint instead, unless you want to troll your friends.
This datapack adds a scoreboard timer that you can use on servers to keep track of mini-games like parkour, dungeon runs, etc. Information on how to set up and manage the timers is in the video.
Note: If you're using the checkpoints, make sure you force your players to set_checkpoint before they ever get a chance to return_checkpoint. It will teleport them into the void otherwise.
Commands:
/function gametimer:init -- initializes the scoreboards
/function gametimer:start_timing -- target player starts being timed
/function gametimer:pause_timing -- target player's time is paused
/function gametimer:reset_time -- target player's time goes back to zero
/function gametimer:set_checkpoint -- checkpoint saved for target player
/function gametimer:return_checkpoint -- target player is teleported back to the last checkpoint
/function gametimer:unload -- all scoreboards and data are reset
/function gametimer:start_timing will also set_checkpoint and /function gametimer:return_checkpoint won't do anything unless the player is actively being timed.
The unchecked teleport still exists at /function gametimer:do_teleport_unsafe <-- this function WILL teleport you into the void if your waypoint isn't saved. Use return_checkpoint instead, unless you want to troll your friends.
This datapack adds a scoreboard timer that you can use on servers to keep track of mini-games like parkour, dungeon runs, etc. Information on how to set up and manage the timers is in the video.
Note: If you're using the checkpoints, make sure you force your players to set_checkpoint before they ever get a chance to return_checkpoint. It will teleport them into the void otherwise.
Commands:
/function gametimer:init -- initializes the scoreboards
/function gametimer:start_timing -- target player starts being timed
/function gametimer:pause_timing -- target player's time is paused
/function gametimer:reset_time -- target player's time goes back to zero
/function gametimer:set_checkpoint -- checkpoint saved for target player
/function gametimer:return_checkpoint -- target player is teleported back to the last checkpoint
/function gametimer:unload -- all scoreboards and data are reset
More like this
4605982
119



Have something to say?
At the very least can you make a function that will pass the data out to another function so that something else can utalize these functions. I'm trying to find a datapack which I can setup checkpoints on a map (no pressure plates) and when complete logs the time on a sign.