Download Limit my inventory! — Minecraft Mods — MetaMods

Limit my inventory!

Active

Downloads

2

Last update

2 years ago

Versions

1.19.2
Server
Forge
Game mechanics
Utils

Limit my inventory!

This modification allows setting limits on the maximum stack size of items in the player's inventory.

Configuration and Usage

To configure restrictions, you need to add the appropriate code to the configuration file. Example configuration script:

// .minecraft/kubejs/server_scripts/script.js
LimitMyInventoryEvents.setInventoryMaxStackSize(event => {
    event.setInventoryMaxStackSize("minecraft:stone", 1);
})

In this example, a restriction is set on stone - now it can only be carried one item per stack.

Installation Features

The modification requires installation exclusively on the server side. Client versions of the game can connect to the server without the need to install this mod.

Project members
Dreaming-Codes

Dreaming-Codes

Developer

DreamingCodes

DreamingCodes

Created: 9 Jun 2023

ID: 20406