minetest.clear_objects

From Minetest Developer Wiki
Jump to: navigation, search

Contents

Syntax

minetest.clear_objects([options])

Description

Deletes all objects in the environment.

Parameters

1: An optional table containing the field mode

Example

minetest.log("action", "Clearing objects, this may take a while and you will experience timeouts.")
minetest.clear_objects({mode="full"})
minetest.log("action", "Clearing objects in quick mode.")
minetest.clear_objects({mode="quick"})
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox