Hooks
Hooks provided by the Map Cleaner module for managing automatic map and item cleanup.
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
ItemCleanupEntityRemoved
đ Purpose
Called when an item entity is removed during item cleanup.
â° When Called
For each item entity that is removed during the cleanup cycle.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
item |
Entity | The item entity being removed |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
MapCleanupEntityRemoved
đ Purpose
Called when an entity is removed during map cleanup.
â° When Called
For each entity that is removed during the map cleanup cycle.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
ent |
Entity | The entity being removed |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
PostItemCleanup
đ Purpose
Called after item cleanup has completed.
â° When Called
After all items have been removed.
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
PostItemCleanupWarning
đ Purpose
Called after item cleanup warning messages are sent.
â° When Called
After warning messages are sent to all players (60 seconds before cleanup).
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
PostMapCleanup
đ Purpose
Called after map cleanup has completed.
â° When Called
After all entities have been removed.
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
PostMapCleanupWarning
đ Purpose
Called after map cleanup warning messages are sent.
â° When Called
After warning messages are sent to all players (60 seconds before cleanup).
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
PreItemCleanup
đ Purpose
Called before item cleanup begins.
â° When Called
Before items start being removed.
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
PreItemCleanupWarning
đ Purpose
Called before item cleanup warning messages are sent.
â° When Called
Before warning messages are sent to players (60 seconds before cleanup).
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
PreMapCleanup
đ Purpose
Called before map cleanup begins.
â° When Called
Before entities start being removed.
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Map Cleaner module adds periodic cleaning of map debris, a configurable interval, reduced server lag, a whitelist for protected entities, and manual cleanup commands.. It provides comprehensive hook integration for customizing managing automatic map and item cleanup and extending functionality.
PreMapCleanupWarning
đ Purpose
Called before map cleanup warning messages are sent.
â° When Called
Before warning messages are sent to players (60 seconds before cleanup).
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server