Container Anti Bug

Quick rating

Community listing page, reviews here may not be monitored by the author.

Container Anti Bug

No reviews yet

A mod that only needs to be installed on the server, which reduces the risk of item duplication exploits by disabling the interface of invalid containers and limiting multiple players from opening containers at the same time.

Mod Loaders
Minecraft

About

Description

# Container Anti Bug

Container Anti Bug is a server-side mod that provides protection against item duplication issues caused by some container mods when interfaces do not close promptly or multi-player operations are unsynchronized. Players do not need to install it on their clients.

## Main Features
- **Prevent invalid interfaces from continuing to retrieve items**: When a protected container block is destroyed, blown up, or replaced, the interface currently using that container is closed; when a player operates a container, it will also check again whether the block is still valid.
- **Limit multiple players opening simultaneously**: It can specify that only one regular player is allowed to open the same container at a time until that player closes the interface.
- **Player whitelist**: Players on the whitelist can bypass the above two restrictions.
- **Block-specific configuration**: Supports block ID lists and block configuration tables; the configuration table can set the two protections individually for each block and override the corresponding settings in the list.
- **Hot reload and block inspection**: Use `/cab reload` or `/containerantibug reload` to reload the configuration; aim at a block and run `/cab inspect` to view its block ID and protection status. Command prompts and feedback support both Chinese and English.

On first startup, `config/containerantibug.toml` will be generated. **By default, protection is not enabled for any blocks**. Please add the container block IDs you want to protect to the configuration and then execute the reload command. The above commands require administrator permissions.

The mod supports ordinary containers and some block containers that open using custom methods. The menu implementations of different mods may vary; it is recommended to test multi-player operations and block destruction on the target containers before using it on a live server.