checkpoints.listAll
Returns every checkpoint your gamemode made, whoever can see it.
Renamed in 0.28 from checkpoints.all; see renamed names.
Signature
Section titled “Signature”checkpoints.listAll(): readonly Checkpoint[]Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”A list of Checkpoint records. It does not change; call it again for a newer one.
Example
Section titled “Example”import { checkpoints, server } from "nativemp";
server.log(`${checkpoints.listAll().length} checkpoints`);Related
Section titled “Related”checkpoints.create: make onecheckpoints.update: change itcheckpoints.destroy: remove itcheckpoints.getById: one of them