Container limiter

Container limiter

A plugin that lets you limit/ban items from every container including ender chests and bundles.

59 downloads 0 followers

ContainerLimit

Limit or ban specific items in ender chests, chests, shulker boxes, bundles and every other container.

Stop players from hoarding elytras in their ender chest, stashing totems in bundles, or storing banned items anywhere you don't want them. Every container type gets its own limits, and the plugin blocks the usual ways around them.

โœจ Features

  • ๐Ÿ“ฆ Separate limits for each container type: ender chests, chests, barrels, shulker boxes, hoppers, furnaces and more
  • ๐ŸŽ’ Bundle limits: control what can go inside bundles
  • ๐Ÿšซ Limit or ban: set a maximum per container, or 0 to block an item completely
  • โœ‹ Partial placing: if too many items are put in, as many as fit go in and the rest stays with the player
  • ๐ŸŽจ Item groups: one entry covers every wool color, every shulker box, every bedโ€ฆ
  • ๐Ÿ”Œ Custom items from other plugins: recognised by their hidden plugin tag, so renaming them doesn't get around the limit
  • ๐Ÿ” /climit hand: shows the tags on a held custom item as ready-to-paste config lines
  • ๐Ÿ”„ Reload with checks: mistakes in the config are shown in chat instead of failing silently

๐Ÿ›ก๏ธ Hard to get around

The plugin covers every way items can get into a container:

  • Normal clicks, shift-clicks, dragging, number keys and the offhand key
  • Banned items hidden inside shulker boxes and bundles, even bundles inside bundles
  • Hoppers and droppers pushing items in, and hoppers picking items up off the ground
  • Placing pre-filled shulker boxes, by hand or by a dispenser
  • Merging two chests into a double chest that would go over the limit
  • Ender chests opened with commands (/ec, /invsee, โ€ฆ)

โš™๏ธ Configuration

containers:
  ENDER_CHEST:
    ELYTRA: 1                  # max 1 per ender chest
    TOTEM_OF_UNDYING: 0        # banned
  CHEST:
    WOOL: 64                   # 64 wool in total, any colors
  SHULKER_BOX:
    '*SHULKER_BOX': 0          # wildcard
  BUNDLE:
    ENDER_PEARL: 8             # max 8 pearls per bundle
    'custom:someplugin:item_id=example': 0   # custom item

Full setup guide: see the GitHub page.

๐Ÿ“œ Commands & Permissions

Command Description
/climit reload Reload the config
/climit list Show all limits
/climit hand Show custom item tags on your held item
Permission Description
containerlimit.admin Use the commands (default: op)
containerlimit.bypass Ignore all limits
containerlimit.bypass.<type> Ignore limits for one container type, e.g. containerlimit.bypass.chest

โœ… Compatibility

Minecraft 1.18 โ€“ 1.21.x ยท Spigot, Paper, Purpur ยท Java 17+ ยท Server-side only

No gallery available for this project.

Version Minecraft Loader Download

Container limiter 2.1.0

2.1.0

1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11
bukkit, paper, purpur, spigot
Download

Container limiter 2.0.0

2.0.0

1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11
paper, purpur, spigot
Download