LockMap
作者:Cicada535
A lightweight server-side mod that allows you to lock map items and prevent any modifications
截图
介绍
中文介绍正在准备中,下面暂时显示原文。
LockMap
A lightweight server-side mod for that allows you to lock map items and prevent any modifications.
No client installation required – works fully on the server.
Features
- Lock maps to prevent:
- Copying in the Cartography Table
- Copying in the Crafting Table
- Renaming in the Anvil
- Unlock maps to restore normal behavior
- Optional map info (owner and date) shown in item lore
- Works per-map using simple commands
- Server-side only
Config
(/config/lockmap.json file)
{
"showOwner": true,
"showDate": true,
"dateFormat": "dd.MM.yyyy",
"timeFormat": "HH:mm:ss"
}
Commands
/map lockLocks the map in your main hand/map unlockUnlocks the map in your main hand/map config update in-handUpdates the lore only for the map in hand/map config update allUpdates all blocked maps, but with one important limitation – only the following maps are updated:- in players’ inventories
- in players’ Ender chests
Requirements:
- You must hold a filled map (except
/map config update all) - Requires permission level 2 (OP)
How It Works
When a map is locked:
- Special data is written into the item
- The mod blocks interactions that would modify the map
- (Optional) adds lore with:
- Owner name
- Lock date
When unlocked:
- All restrictions are removed
Installation
- Install Fabric Loader
- Install Fabric API
- Place the mod
.jarinto your servermodsfolder - Start the server
Compatibility
- Minecraft: 1.21.10
- Fabric Loader: 0.16.0+
- Server-side only (when the mod is installed on the server, do NOT need to install it on the client; however, even if the mod is installed on the client, it will work as usual without the server)
Notes
- Only affects filled maps
- Each map is handled individually
- Safe to use on existing worlds
License
CC BY-NC-ND 4.0
常见问题
LockMap 支持哪些 Minecraft 版本?
LockMap 支持 Minecraft Java 版 1.21.10,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
LockMap 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分