Easy Multiplayer Checkpoints

Easy Multiplayer Checkpoints

0 Downloads

THIS IS A FORGE ONLY MOD, IF YOU ARE LOOKING FOR FABRIC, THAT DOESN'T EXIST YET.

MAIN FEATURE:
The mod adds a new keybind for checkpoint (By default: C). With this keybind, when pressed, you teleport to your latest checkpoint. Checkpoints are created by pressing [Shift + (Checkpoint key; C by default)] and it creates a new checkpoint at your position. If there is no checkpoint to teleport to yet, when you try to teleport, a new checkpoint is created. Also if you try to create a checkpoint at your latest checkpoint you delete that checkpoint. 

Tip: If you want to easily remove a checkpoint that you can't get to, by pressing [shift + c] twice, you will create a new checkpoint at your position and delete it.

The mod also supports multiplayer so every player has their own independent checkpoints. And when a player dies, he also teleports to his latest checkpoint.

The mod adds 3 new commands:
/undocp
It reverts your previous checkpoint to the checkpoint before that one, which is especially useful if you miss clicked and created a new checkpoint by error.

/delcp [player/s]
It deletes the checkpoints of the player executing the command, so that it has no checkpoints. If you want to delete de checkpoints of another player/s (For example by using a command block), you can specify the players to which you want to delete the checkpoints with the second optional argument

/newcp [player/s]
It creates a new checkpoint for the player executing the command. If you also want to create a checkpoint for any other player/s, you can specify the players with the second optional argument, like /delcp

The mod also adds 2 new gamerules:
/gamerule tpCheckpoint [true/false] (By default: true)
When true, when you press the new key, you teleport to the latest checkpoint as well as by dying; but if false , you can only tp to the latest checkpoint by dying

/gamerule safeCheckpoint [true/false] (By default: false)
When true, when you tp to your checkpoint, it prevents any damage from happening from the teleport. (So if for example you were falling from a distance, when you tp you would take some falling damage, which would be prevented with this gamerule) If false, the teleport works normally.

This mod can be extremely useful for maps like parkour maps where you keep falling and you need to restart from the beginning. It can also have other uses and can be used by map makers by using the built-in commands and gamerules.

If you have any other ideas of things this mod should add, feel free to ask for it in the comments. Also feel free to ask for any questions or requests. I you want me to make this for another version / loader you can ask for it, but it may not happen. Any other feedback would also be very appreciated.

This mod was possible thanks to the mod creation platform MCreator.