MapLock ?️ ?
一款专为 Minecraft 服务器设计的轻量级地图保护插件。它可防止他人未经授权复制你的地图艺术品,并支持自定义经济费用和多种语言设置。
✨ 功能特性
- 地图锁定系统:防止已锁定的地图在合成台或制图台中被复制。
- 多语言支持:内置繁体中文 (
zh_tw)、简体中文 (zh_cn) 和英文 (en) 支持。
- 经济集成:支持 Vault 经济桥接;可为地图锁定设置自定义处理费用。
- 自定义物品消耗:要求消耗特定物品(支持自定义名称和描述检查)以进行地图锁定。
- 管理工具:提供详细的地图信息查询和管理员强制解锁功能。
- 细粒度权限控制:每个命令和特权都有对应的权限节点,便于管理。
- Tab 补全:所有命令均支持完整的自动补全,提供更流畅的用户体验。
地图锁定

地图信息

防止地图复制

?️ 命令与权限
| 命令 |
描述 |
默认权限 |
权限节点 |
/map help |
显示帮助菜单 |
所有人 |
maplock.help |
/map lock |
锁定主手中的地图 |
所有人 |
maplock.lock |
/map unlock |
解锁你拥有的地图 |
所有人 |
maplock.unlock |
/map admin info |
查看地图所有者和锁定日期 |
OP |
maplock.admin.info |
/map admin forceunlock |
强制解锁任意地图 |
OP |
maplock.admin.forceunlock |
/map admin reload |
重新加载配置文件和语言文件 |
OP |
maplock.admin.reload |
? 额外特权
maplock.admin.bypass: 允许用户绕过“禁用世界”限制,并免费锁定地图(无需经济或物品费用)。
? 安装步骤
- 将
MapLock.jar 放入服务器的 plugins 文件夹中。
- (可选)如果使用经济功能,请确保已安装 Vault 和兼容的经济插件(例如 CMI, EssentialsX)。
- 重启服务器。
- 在
plugins/MapLock/config.yml 中调整你的设置。
⚙️ 配置预览 (config.yml)
# 语言设置 (支持: en, zh_tw, zh_cn)
language: "en"
# 禁用 MapLock 功能的维度列表
disabled-worlds:
- "disabledworlds1"
- "disabledworlds2"
# 锁定费用 (需要 Vault 和一个有效的经济插件)
economy:
enabled: false
cost: 0.0
# 基于物品的锁定成本
item-cost:
enabled: false
material: "DIAMOND"
amount: 1
# 通知消息中显示的名称(例如,当玩家物品不足时)
display-name: "Map Lock Voucher"
# === 高级物品验证 ===
# 插件是否应严格检查物品的 Name 和 Lore?
# 如果设置为 false,则仅检查材质类型(例如 DIAMOND)。
strict-meta-check: true
# 物品必须完全匹配此显示名称(支持 & 颜色代码。留空 "" 以禁用)
required-name: "&bMap Lock Voucher"
# 物品必须包含以下描述(Supports & color codes. Leave as [] to disable)
required-lore:
- "&7A special voucher"
- "&7used to protect your map art."
❓ 常见问题解答
Q:更新后为什么命令提示显示“Missing”?
A:这通常是由于旧版语言文件导致的。请删除 plugins/MapLock/lang/ 文件夹并运行 /map admin reload 以生成最新的文件。
Q:为什么我设置了费用,但地图锁定却是免费的?
A:请确保 economy.enabled 设置为 true,并且已安装 Vault 以及正常工作的经济提供商。如果经济系统不可用,插件可能会出于安全考虑阻止锁定操作。
Q:我可以使地图锁定免费吗?
A:可以,在 config.yml 中将 cost 设置为 0.0,或者直接设置 economy.enabled 为 false。
? 贡献指南
如果你有想法或发现了 Bug,欢迎贡献:
- 报告问题:通过 GitHub Issues 页面提交 Bug。
- 功能请求:建议新功能(例如:画框保护、数据库支持)。
- 本地化:非常欢迎通过 Pull Request 提交除中文和英文之外的其他语言翻译!
⚖️ 授权 (License)
本项目采用 MIT 授权协议。
MapLock ?️ ?
A lightweight map protection plugin designed for Minecraft servers. It prevents unauthorized cloning of your map art and supports custom economic costs and multi-language settings.
- Tested Versions: 1.8.8 ~ 26.1.2
✨ Features
- Map Locking System: Prevents locked maps from being cloned in Crafting Tables or Cartography Tables.
- Multilingual Support: Built-in support for Traditional Chinese (
zh_tw), Simplified Chinese (zh_cn), and English (en).
- Economy Integration: Supports Vault economy bridge; set custom processing fees for locking maps.
- Custom Item Consumption: Require specific items (supports custom Name and Lore checks) to be consumed for map locking.
- Admin Tools: Provides detailed map info queries and administrative force-unlock features.
- Granular Permissions: Every command and privilege has a corresponding permission node for easy management.
- Tab Completion: Full auto-complete support for all commands for a smoother user experience.
Map Lock

Map Info

Prevent map copying

?️ Commands & Permissions
| Command |
Description |
Default |
Permission Node |
/map help |
Show the help menu |
Everyone |
maplock.help |
/map lock |
Lock the map in your main hand |
Everyone |
maplock.lock |
/map unlock |
Unlock a map that you own |
Everyone |
maplock.unlock |
/map admin info |
Check map owner and lock date |
OP |
maplock.admin.info |
/map admin forceunlock |
Forcefully unlock any map |
OP |
maplock.admin.forceunlock |
/map admin reload |
Reload config and language files |
OP |
maplock.admin.reload |
? Extra Privileges
maplock.admin.bypass: Allows the user to bypass "Disabled World" restrictions and lock maps for free (no economy/item cost).
? Installation
- Place
MapLock.jar into your server's plugins folder.
- (Optional) If using economy features, ensure Vault and a compatible economy plugin (e.g., CMI, EssentialsX) are installed.
- Restart the server.
- Adjust your settings in
plugins/MapLock/config.yml.
⚙️ Configuration Preview (config.yml)
# Language setting (Supported: en, zh_tw, zh_cn)
language: "en"
# List of worlds where MapLock features are disabled
disabled-worlds:
- "disabledworlds1"
- "disabledworlds2"
# Locking fee (Requires Vault and a functional economy plugin)
economy:
enabled: false
cost: 0.0
# Item-based locking cost
item-cost:
enabled: false
material: "DIAMOND"
amount: 1
# Name shown in notification messages (e.g., when a player has insufficient items)
display-name: "Map Lock Voucher"
# === Advanced Item Verification ===
# Should the plugin strictly check the item's Name and Lore?
# If set to false, only the material type (e.g., DIAMOND) will be checked.
strict-meta-check: true
# The item must match this display name exactly (Supports & color codes. Leave as "" to disable)
required-name: "&bMap Lock Voucher"
# The item must contain the following Lore (Supports & color codes. Leave as [] to disable)
required-lore:
- "&7A special voucher"
- "&7used to protect your map art."
❓ FAQ
Q: Why do command hints show "Missing" after an update?
A: This is usually due to legacy language files. Please delete the plugins/MapLock/lang/ folder and run /map admin reload to regenerate the latest files.
Q: Why is map locking free even though I set a cost?
A: Ensure economy.enabled is set to true and Vault is installed with a working economy provider. If the economy system is unavailable, the plugin may block locking actions for safety.
Q: Can I make map locking free?
A: Yes, set cost to 0.0 in config.yml or simply set economy.enabled to false.
? Contributing
If you have ideas or find bugs, feel free to contribute:
- Report Issues: Submit bugs via the GitHub Issues page.
- Feature Requests: Suggest new ideas (e.g., Item Frame protection, Database support).
- Localization: Translations for languages other than Chinese and English are highly welcome via Pull Requests!
⚖️ 授權 (License)
本專案採用 MIT 授權協議。
评论 0
登录后参与评分
还没有评论,来抢沙发吧