Usage
Usage
To use checkpoints in your world, you must have the checkpoints themselves, and things, which set the players' last checkpoint to a target checkpoint. I call these things checkers (name may will change). First, for create checkpoints, use the /acp set [cp_name] command. While you set your checkpoint you view will be saved as well, so don't forgot to select the view point before enter the command. If you did it well it will say "Checkpoint <name> saved". Second step: we must create checkers. In this alpha version, checkers can be only pressure plates. To set a checker, lay down a wood or stone pressure plate somewhere. Stand on it, and use the /acp add point [cp_name] command, where the [cp_name] is the name of which checkpoint will assigned to the player who activated the pressure plate. If you finished with this, stand on the plate again. If all the things work well, it will print you "Checkpoint set". It means, if you enter the command /checkpoint or /acp, then you will be teleported to the last checkpoint.
If you created you level with checkpoints and checkers, you must save it, otherway every server restart you must set up all the checkpoints again. The informations will be saved on server restart (/reload), on server exit (/stop) and if you use the /acp save command. (You can save to non-default files with use of /acp save [fileName], and load them with /acp load [fileName]. Good way to create fast back-ups.)
Future functions:
I'm planning to add more features, for example InstantTeleport checkers or checkpoints. They will automaticly teleport you to the checkpoint. Useful when making a level far away, and when player stand on the InstantTeleport checker, will be teleported there. At the far-away level's end there will be another InstantTeleport checker to teleport back. My idea goes next, I hope it will be possible to set the player's gamemode to adventure or survior when enter the level, and make it back to the original when finish the level. Even add a command /acp leave to be able to leave the level without complete it. But these are just plans. Another plan is to make the plugin compatibly with worldGuard regions. So regions will also be able to be used as checkpoint checkers. When a player enters a region, checkpoint will set.
Comments