About Banned Players Entity Cleaner
xBannedPlayersEntityCleaner
xBannedPlayersEntityCleaner is a an efficient Rust plugin designed to automatically clean up all entities owned by players when they are banned. This helps maintain server performance and prevents clutter caused by banned users’ structures, deployables, and other entities.
It also includes a manual cleanup command that allows admins with proper permission to trigger entity removal for specific players when needed.
Features
-
Automatically removes entities owned by banned players.
-
Optional manual cleanup command with permission control.
-
Adjustable cleanup speed and batch size to minimize lag.
-
Silent or visible destruction modes.
-
Efficient entity queue system for large-scale cleanups.
Console Command
xbannedplayersentitycleaner.clean <steamid64 or playername> - Manually trigger cleanup for a specific player.
Permission
xbannedplayersentitycleaner.use - Allows a user to manually trigger the cleanup command.
Config
{ "SilentMode": true, "EntitiesPerCleanupInterval": 100, "CleanupInterval": 0.2, "LogToConsole": true }
SilentMode → If enabled (true), entities are destroyed quietly without gibs or visual effects.
EntitiesPerCleanupInterval → Number of entities processed per cleanup cycle (CleanupInterval)
CleanupInterval → Time in seconds between each cleanup batch execution.
LogToConsole → Enables or disables console logging for cleanup events and summaries.
