About TC Stack Limiter
TC Stack Limiter lets you set custom stack limits for items inside the Tool Cupboard (TC).
It’s a great way to control how much stuff players can store in the TC and help keep the game balanced.
Can this plugin do that?
Server operators can manage game balance by adjusting the number of items that can be stored in a TC.
Future
- Change the global stack size of items: by setting a global stack multiplier, you can change the stack size of a particular item.
- Item Stack Limit in Tool Cabinet: Apply a specific maximum stack number to wood, stone, Metal Fragments, and HQMs set in the Cabinet Stack Override. (e.g. if wood: 1000 is set, only a maximum of 1000 pieces of wood can be stacked in the tool cabinet).
- Notification: If enable notification is set to true, items that exceed the stack limit will be automatically returned to the player's inventory and the player will be notified.
- Handling of items exceeding stack limit: If a player attempts to place an item in the tool cabinet that exceeds the limit, the excess will be returned to the player's inventory. If the player's inventory is full, the item will be dropped to the floor.
Compatibility
Loot Table & Stacksize GUI
Admin Commands
"/tcstack list" Displays the current configuration. "/tcstack set <item shortname> <amont>" Sets the TC stack limit for the specified item to 1000. "/tcstack remove <item shortname>" Removes the stack limit (reverts to the normal stack size in the TC). "/tcstack reload" Reloads the configuration.
Config
{ "Cupboard Stack Overrides": { "wood": 1000, "stones": 1000, "metal.ore": 1000, "metal.fragments": 1000, "hq.metal.ore": 100, "metal.refined": 100, "lowgradefuel": 500, "crude.oil": 500, "fat.animal": 1000, "cloth": 1000, "bone.fragments": 1000, "charcoal": 1000, "horsedung": 500, "fertilizer": 1000 }, "Enable Notifications": true, "Priority Mode": "TCFirst", "Enforce TC Limits": true, "Split Excess Stacks": true }
"Cupboard Stack Overrides" Set items to be stack-limited only within the Tool Cupboard (TC). Example: "wood": 0 will make it impossible to store wood in the TC. "Enable Notifications": true When a limit is applied, a chat message will notify the player. "Priority Mode": "TCFirst" - "TCFirst": Extra items will try to move to other slots inside the TC first. - "InventoryFirst": Extra items will try to return to the player’s inventory first. "Enforce TC Limits": true If not set to true, the stack limit is visual only — items won't actually be restricted. "Split Excess Stacks": true If an item exceeds the max stack size, it will be automatically split into multiple stacks and placed in the TC.