Full description
Essential Server Optimizer is a lightweight, safety-first performance add-on for Minecraft Bedrock servers. It doesn’t change gameplay or delete things blindly. It only steps in when your server crosses limits you can see and configure, and it protects anything valuable.
Features
Smart item cleanup
- Only removes dropped items when a dimension goes above a threshold (default 400 items). Below that, nothing is touched.
- Removes the oldest items first, and never ones that appeared recently (default: items must be at least 2 minutes old).
- Never removes items near players (default: within 16 blocks).
- Has a per-pass removal cap so cleanup never causes a lag spike.
- Optionally announces cleanups in chat.
Protected items, never removed
- Named, enchanted, or lore items
- Tools and armor (anything with durability)
- Elytra, totems, nether stars, dragon eggs and heads, shulker boxes, netherite, diamonds, beacons, tridents, enchanted golden apples, maps, books, and more
- Any extra item ID you add yourself with
/scriptevent opt:protect
Entity limits
- Cap any entity type (including entities from other add-ons) per dimension. Empty by default.
- Never touches players, named or tamed entities, ridden entities, entities with inventories, or anything tagged
opt:keep.
Performance monitor
- Estimates server tick rate and measures how long the optimizer’s own tasks take.
- Warns operators (or players tagged
opt_admin) when estimated TPS stays low or a task runs slow. Warnings have a cooldown so they don’t spam. - The TPS figure is an estimate from script timing, not a native server metric. The add-on says so in its own status output.
Batched scheduler
- One scheduler runs everything, and at most one heavy task runs per pass, so the optimizer doesn’t add lag itself.
Admin commands
Use /scriptevent opt:<command>. These are limited to operators and command blocks.
| Command | What it does |
|---|---|
opt:help |
Shows all commands |
opt:status |
Shows measured vs estimated diagnostics |
opt:entities |
Runs a one-off live entity count |
opt:features |
Lists systems and settings |
opt:toggle <scheduler|monitor|itemCleanup|entityLimits> |
Turns a system on or off |
opt:set <setting> <number> |
Changes a setting, e.g. opt:set itemThreshold 600 |
opt:announce <on|off> |
Turns cleanup chat messages on or off |
opt:limit <namespace:entity> <max|off> |
Caps an entity type per dimension |
opt:protect <text> |
Never removes items whose ID contains the text |
opt:cleanup |
Runs a cleanup on the next pass |
opt:reset |
Restores safe defaults |
Settings are saved in the world and survive restarts. All values are range-checked, so a typo can’t set something dangerous.
Installation
- Import the
.mcaddonfile. - Add the Behavior Pack to your world or server.
- Join as an operator and run
/scriptevent opt:help.
Compatibility
- Designed for Bedrock Dedicated Server and also works on realms and local worlds that support the Script API.
- It doesn’t add items, blocks, or entities, so conflicts with other add-ons are unlikely.
- If another add-on also removes dropped items, run only one cleanup system.