mapEdits.listAll
Lists the stock map edits owned by your gamemode.
Signature
Section titled “Signature”mapEdits.listAll(): readonly ScriptMapEdit[]Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”An array of ScriptMapEdit snapshots.
Example
Section titled “Example”import { mapEdits, server } from "nativemp";
server.log(`Active map edits: ${mapEdits.listAll().length}`);