InvConfig
Disable any inventory slot in the player's inventory.
InvConfig
InvConfig is a mod that allows you to disable any slot in players' inventories on a per-player basis. This mod is forked from Sophka/Nuparu00's TinyInv.
This mod is still in beta.
Features
Unlike TinyInv, which allows you to specify only the number of slots to enable or disable, InvConfig allows you to configure which slots you want to enable or disable.
Usage
By default, this mod does not do anything. To disable slots, change the values in `invconfig-server.toml`. The default `invconfig-server.toml` can be found here, or in `saves/SAVENAME/serverconfig` of your Minecraft instance folder, where `SAVENAME` is the name of your world.
To disable a slot, find that slot's line in the config and change the value to `false`. Hotbar and inventory slots follow the name format `slot_X`, where `X` is the slot index of the slot. `slot_0` through `slot_8` are the 9 hotbar slots, and `slot_9` through `slot_35` are the 27 inventory slots. All other slots have self-explanatory names, such as `offhand_slot`, `chest_slot`, and `crafting_top_right_slot`.
Legal
This mod is forked from Sophka/Nuparu00's TinyInv, which is modifyable and redistributable under the MIT License it is released with. You can view TinyInv's license here. You can view InvConfig's license here.