跳到正文

Lockdown: Item & Effect Control

作者:FrostMatrix

Comprehensive server-side control over item possession, status effect capping, and progression levels. Great for RPG modpacks.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🔒 Lockdown

Lockdown is a lightweight, strictly server-side utility mod for NeoForge 1.21.1 designed to give server owners and modpack creators absolute authority over items, progression, and status effects.

Whether you’re building an RPG modpack, running a server with progression stages, or patching overpowered potion mechanics, Lockdown offers modular, zero-bloat control right out of the box.


⚡ Key Features at a Glance

  • 🖥️ 100% Server-Side: Clients do not need to install the mod to join!
  • 📈 Scoreboard Progression: Gate items or entire mods behind custom scoreboard levels.
  • 🚫 Item Bans & Confiscation: Destroy blacklisted items instantly or gently prevent players from equipping/using them.
  • 🧪 Status Effect Banning & Capping: Completely disallow unwanted effects or cap their amplifier (e.g., allow Strength I, but nerf Strength II).
  • 🎯 Source Whitelisting (Bypass): Forbid an effect generally, but permit it if applied by specific potions or items.
  • 🎒 Backpack Detection: Optional deep inspection for Sophisticated Backpacks.

📦 Module 1: ItemLocker

Take charge of how items are acquired and used:

  • Prohibited Items: Destroys banned items as soon as they hit a player’s inventory. Violators are automatically logged into lockdownban.json.
  • Blocked Items: Possession prevention — players cannot even pick up, hold, or take the item into their inventory, but unlike prohibited items, it is not destroyed.
  • Scoreboard Level Gating:
    • Lock individual items to a required scoreboard score.
    • Lock entire mods at once (e.g., all items from mekanism require Level 10), with support for item-by-item exclusions.
  • NBT Locks: Restrict item instances dynamically via custom NBT tags.

🧪 Module 2: EffectLocker

Rebalance potions and status effects without breaking gameplay immersion:

  • Banning: Block any effect from registering on players.
  • Amplifier Capping: Limit maximum effect strength (0 to 255). No more game-breaking custom potion amplifiers.
  • Item-Based Bypass: Allow restricted effects only when triggered by specific items (e.g., allow Weakness exclusively from vanilla splash potions).
  • Graceful Handling: Players still drink potions and eat food naturally (animations and resource consumption work normally); only the resulting status effect registration is intercepted.

🎒 Mod Compatibility

  • Sophisticated Backpacks: Lockdown includes optional built-in support. If present, prohibited items hidden inside player backpacks will still be detected and confiscated. If not present, the mod runs cleanly without errors or bloat.

🛠️ Quick Commands Overview

All commands require Operator Permission Level 4 (/op).

  • /lockdown item prohibitedList addFromHand | removeFromHand | list
  • /lockdown item blockedList addFromHand | removeFromHand | list
  • /lockdown item level item addFromHand <level>
  • /lockdown item level mod addFromHand <level>
  • /lockdown effect ban <effect>
  • /lockdown effect cap <effect> <level>
  • /lockdown effect bypass add <effect> <item>
  • /lockdown scoreboard set <objective_name>

(Check our GitHub README for detailed config guides, placeholders, and full command syntax.)


📄 License & Modpacks

Lockdown is distributed under the MIT License. You are completely free to use it in any public or private modpack!

常见问题

Lockdown: Item & Effect Control 支持哪些 Minecraft 版本?

Lockdown: Item & Effect Control 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Lockdown: Item & Effect Control 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

FrostMatrix 的其他作品

查看全部 →