Locki

⭐ — (19 endorsements) 📥 1,380 downloads 📌 v0.13.0 📅 2/28/2023
⚪ Last updated 2024

By Ladysnake · game-mechanics

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 6/16/2024 📅 Created: 2/28/2023
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 1.4% endorsement rate — high engagement, a strong quality signal
  • 🏆 #20 of 40 game-mechanics mods in this game by downloads

📋 About This Mod

# Locki !(https://github.com/Ladysnake/Locki/raw/4f2927aba5f23fca8016456e10ef5af001b7f02b/res/demo.png) A (https://quiltmc.org) library handling player inventory locking. Can also be used as a standalone mod, through the `/locki` command. This mod must be installed on both server and client to work properly. ## Overview Locki represents slots using *inventory nodes*. Inventory nodes are structured as a tree, allowing commands or mods to quickly lock or unlock entire sections while retaining controls over finer units. Inventory nodes are represented as a dot-separated path, from least specific ancestor to most specific child node. For example `inventory` describes the entirety of the player's inventory, while `inventory.armor.chest` describes the chestplate slot of the inventory. When an inventory node gets locked, descendant nodes can still be unlocked, allowing you to exclude specific slots from a broad access ban. For example, locking `inventory` then unlocking `inventory.armor.chest` will prevent the player from touching any item in their inventory except their chestplate. ### Commands Locki adds the `/locki` command, allowing server operators and mapmakers to interact with the API through commands. - `/locki lock <node> ` : locks the inventories of one or more players - `<node>` : a full path describing a known *inventory node*. - `` (optional) : If specified, must be either a player's username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional. - `` (optional) : If specified, must be a valid identifier referencing a registered lock. If unspecified, defaults to the generic "command" lock. - `/locki unlock <node> ` : unlocks the inventories of one or more players - `` (optional) : If specified, must be either a player's username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional. - `` (optional) : If specified, must be a valid identifier that was previously used as a lock to affect the players' inventories. If left unspecified, defaults to the generic "command" lock. #### Permissions If you have LuckPerms installed, the above commands can be used by players with the `locki.command.lock` permission. If you only grant `locki.command.lock.self`, players will only be able to use the commands on themselves. ## Developer information For more information on how to add it to your development environment and how to use it, see (https://github.com/Ladysnake/Locki#readme).

!(https://github.com/Ladysnake/Locki/raw/4f2927aba5f23fca8016456e10ef5af001b7f02b/res/demo.png)

A (https://quiltmc.org) library handling player inventory locking. Can also be used as a standalone mod, through the `/locki` command.

This mod must be installed on both server and client to work properly.

## Overview

Locki represents slots using inventory nodes. Inventory nodes are structured as a tree, allowing commands or mods to quickly lock or unlock entire sections while retaining controls over finer units. Inventory nodes are represented as a dot-separated path, from least specific ancestor to most specific child node. For example `inventory` describes the entirety of the player's inventory, while `inventory.armor.chest` describes the chestplate slot of the inventory.

When an inventory node gets locked, descendant nodes can still be unlocked, allowing you to exclude specific slots from a broad access ban. For example, locking `inventory` then unlocking `inventory.armor.chest` will prevent the player from touching any item in their inventory except their chestplate.

### Commands Locki adds the `/locki` command, allowing server operators and mapmakers to interact with the API through commands. - `/locki lock [] []` : locks the inventories of one or more players - `` : a full path describing a known inventory node. - `[]` (optional) : If specified, must be either a player's username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional. - `[]` (optional) : If specified, must be a valid identifier referencing a registered lock. If unspecified, defaults to the generic "command" lock. - `/locki unlock [] []` : unlocks the inventories of one or more players - `[]` (optional) : If specified, must be either a player's username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional. - `[]` (optional) : If specified, must be a valid identifier that was previously used as a lock to affect the players' inventories. If left unspecified, defaults to the generic "command" lock.

#### Permissions If you have LuckPerms installed, the above commands can be used by players with the `locki.command.lock` permission. If you only grant `locki.command.lock.self`, players will only be able to use the commands on themselves.

## Developer information

For more information on how to add it to your development environment and how to use it, see (https://github.com/Ladysnake/Locki#readme).

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
Ladysnake
Version
0.13.0
Downloads
1,380
Endorsements
19
Category
game-mechanics
Created
2/28/2023
Updated
6/16/2024
Game Versions
1.21
Tags
game-mechanics, library

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Locki support?

The author lists 1.21. Other versions may work but are untested by the author.

What is the latest version of Locki?

Version 0.13.0, published 2024-06-16 with 1,380 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More game-mechanics 👤 More by Ladysnake 🔎 Similar Mods 🌐 Best game-mechanics (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods