⚠️ 这是 n3mmuss 制作的 Jail Logic 的非官方分支。
原项目似乎已停止维护,因此这个分支旨在让模组在较新的 Minecraft 版本中保持可用,并包含一些可选的改进。
原项目的源代码采用 CC0 许可证发布。
本分支以 MIT License 重新分发,以便为未来的维护明确归属和贡献条款。
如果原作者发布了此分支所针对版本的更新,并包含了此处提供的修复内容,则本分支将不再进行更新。
请勿向原开发者报告问题,请在此处报告。
Jail Mod (Fabric)
Jail Mod 是一个服务端模组,允许你将玩家关押在虚拟监狱中,阻止他们与世界的互动,直到他们被释放。它也可以在单人世界中使用,当启用命令时,主机可以使用牢狱命令。

主要功能
- 临时监禁:你可以将玩家关押特定时间,在此期间他们将无法与方块、实体和物品(如桶装岩浆或水)进行交互。

- 自动或手动释放:玩家将在设定时间后自动释放,或者管理员可以手动释放他们。
- 监禁理由:需要时可添加理由。如果省略,默认为
Unknown reason(未知原因)。

- 查看剩余时间的命令:被监禁的玩家可以使用命令查看距离释放还有多久。

- BanHammer 风格的牢狱消息:玩家名字显示为红色,工作人员名字为金色,理由和时长为黄色。牢狱公告包含理由和刑期时长。
- 牢狱列表:工作人员可以通过
/jail list 查看被监禁的玩家、剩余时间、理由以及是谁将他们关押的。
- 离线释放:通过名称或 UUID 释放离线玩家。他们的牢狱状态会立即清除,并在下次加入时恢复其保存的状态。
- Discord Webhook(可选):将监禁和解禁事件发送到 Discord webhook。BanHammer webhook 复用在专用服务器上默认启用,在客户端/单人模式下默认禁用。
- BanHammer 风格的 Discord 模板:支持
config/jailmod/discord-messages.json 中类似 BanHammer 的格式,并自动修补新字段。
- Mod Menu 设置和帮助:编辑客户端默认值和世界覆盖的权限角色、牢狱和释放位置以及 Discord 选项。安装 Mod Menu 和 Cloth Config 后,可以打开配置文件或搜索内置的帮助标签页。
使用方法:
-
建造一座监狱(一个封闭的结构)。
-
使用 /jail set x y z(例如 /jail set 0 60 0)设置牢狱位置,或者站在所需的方块上运行 /jail set。
-
使用 /jail reload 重新加载配置。
-
将某人关进监狱,指定时长和可选的理由,例如 /jail imprison playerexample 2m Griefing。如果省略理由,它将默认为 Unknown reason。
-
使用 /jail unjail playerexample 或 /unjail playerexample 提前释放玩家。你也可以使用玩家的 UUID;离线玩家将在下次加入时被释放。
要求
- Minecraft 26.3
- Java 25
- Fabric Loader
- Fabric API
安装
- 将模组的
.jar 文件放入 Minecraft 服务器的 mods 文件夹中。
- 启动服务器以生成配置文件。对于单人模式,将模组安装在 Minecraft 实例的
mods 文件夹中。Mod Menu 和 Cloth Config 是可选的,它们用于启用游戏内设置界面。
可用命令
1. /jail imprison player duration [reason]
- 描述:将玩家关押指定的时长。理由是可选的,默认为
Unknown reason。
- 使用者:仅限管理员或服务器操作员。
- 语法:
/jail imprison player_name duration [reason]
- 时长单位:
s, m, h, d, w/wk, mo/mth, y/yr,以及复数形式 wks/yrs 和完整名称 second(s), minute(s), hour(s), day(s), week(s), month(s) 和 year(s)。单位直接附加在数字后面(例如 10seconds)。裸数字或未知后缀被视为秒。一个月按 30 天计算,一年按 365 天计算。
- 示例:
/jail imprison Steve 300 Griefing, /jail imprison Steve 10m, 和 /jail imprison Steve 2years Breaking blocks。第二个示例使用了默认理由。
2. /jail unjail <player name|UUID>
- 描述:在时间到期前手动释放被监禁的玩家。目标可以是在线或离线状态,可通过名称或 UUID 指定。离线玩家在下一次加入时其保存的状态将被恢复。
- 使用者:仅限管理员或服务器操作员。
- 语法:
/jail unjail <player_name|uuid>
- 别名:
/unjail <player_name|uuid>
- 示例:
/jail unjail Steve 或 /jail unjail 069a79f4-44e9-4726-a5be-fca90e38aaf5
3. /jail info
- 描述:允许被监禁的玩家查看剩余释放时间及被监禁的原因。
- 使用者:仅限被监禁的玩家。
- 示例:
/jail info显示非零单位的剩余时长、是谁监禁了该玩家以及原因;例如:“你被 Alex 监禁了 10 分钟。原因:恶意破坏。”
4. /jail list
- 描述:列出被监禁的玩家及其剩余刑期、原因和监禁他们的管理人员。包含离线的被监禁玩家。
- 使用者:仅限管理员或服务器操作员。
- 示例:
/jail list
5. /jail reload
- 描述:在不重启服务器的情况下重新加载配置、语言消息和
discord-messages.json。
- 使用者:仅限管理员或服务器操作员。
- 示例:
/jail reload此命令重新加载模组的配置,如果配置文件已修改,则非常有用。
6. /jail set
- 描述:设置被监禁玩家的出生点。如果不提供坐标,则使用执行命令玩家当前的方块位置。
- 使用者:操作员始终可以使用此命令。当启用
allow_admin_role_set_jail_position 时,配置的管理员角色标签也可以使用此命令。
- 语法:
/jail set 或 /jail set x y z
- 示例:
/jail set 使用你当前的方块位置;/jail set 0 60 0 显式设置位置。控制台用户必须提供坐标。
监禁期间的交互限制
当玩家被监禁时,他们无法执行以下操作:
- 使用方块,如门、拉杆或按钮。
- 与实体互动,如村民或动物。
- 使用岩浆桶或水桶。
- 破坏或放置方块。
自动释放
- 当设定时间结束时,玩家将从监狱中自动释放。
- 在被监禁期间,玩家可以使用
/jail info 命令查看剩余时间。
配置文件
config/jailmod/config.json
此文件会自动生成并更新。在专用服务器上,它是该服务器的活动配置。在单人游戏中,它存储用于新世界的客户端默认值;每个世界可以在其 serverconfig/jailmod/config.json 文件中拥有单独的覆盖设置。Mod Menu 会分别显示客户端默认值和当前世界的设置,并在未打开任何世界时禁用世界设置。配置屏幕还提供了打开相关配置文件的可搜索帮助选项卡按钮。监狱记录按世界存储在 serverconfig/jailmod/jail_data.json 中;专用服务器使用 config/jailmod/jail_data.json。
admin_roles:授予管理员命令访问权限的标签逗号分隔列表,例如 admin,moderator。op 代表服务器操作员。
allow_admin_role_set_jail_position:默认为 false。启用后,配置的管理员角色标签可以使用 /jail set;操作员始终可以使用此命令。
use_previous_position:如果设置为 true,玩家将在被监禁前的位置释放。如果设置为 false,他们将在特定位置释放。
return_to_last_location:如果为 true,释放的玩家将被传送回他们被监禁的确切位置。
release_position:如果未使用其他位置(出生点/上次位置),则用于释放玩家的备用坐标,当 use_previous_position 设置为 false 或 return_to_last_location 设置为 false 时生效。
jail_position:玩家在监狱中被关押时的坐标 x, y, z。
discord_webhook_url:可选的 Discord Webhook,用于监狱/解除监禁嵌入消息。留空以在世界设置启用时使用 BanHammer 的 Webhook。
use_banhammer_webhook:如果 true 且 discord_webhook_url 为空,Jail Mod 可能会重用 BanHammer 的服务器端 Webhook。它在专用服务器上默认为 true,在客户端/单人游戏默认值为 false。它未在 Mod Menu 界面中暴露。
示例配置:
此示例适用于专用服务器。客户端/单人游戏默认值中 use_banhammer_webhook 为 false。
{
"_config_guide": "JailMod 配置指南: \n- admin_roles: 授予 /jail 访问权限的角色或标签的逗号分隔列表。使用 \u0027op\u0027 包括服务器操作员。\n- use_previous_position: 如果为 true,释放的玩家将被传送回其原始出生点(如果 return_to_last_location 为 false 或不可用)。\n- return_to_last_location: 如果为 true,释放的玩家将被传送回他们被监禁的确切位置。\n- jail_position: 玩家在监狱中被关押时的坐标。\n- release_position: 如果未使用其他位置(出生点/上次位置),则用于释放玩家的备用坐标。",
"admin_roles": "op",
"allow_admin_role_set_jail_position": false,
"use_previous_position": true,
"return_to_last_location": true,
"discord_webhook_url": "",
"use_banhammer_webhook": true,
"release_position": {
"x": 100,
"y": 65,
"z": 100
},
"jail_position": {
"x": 20,
"y": 64,
"z": 142
}
}
config/jailmod/discord-messages.json
此文件控制 BanHammer 样式的 Discord Webhook 消息模板,并且是自动生成/自动修补的。
sendJailMessage: 启用监狱网络钩子(webhook)通知。
jailMessage: 监狱事件的模板。
sendUnjailMessage 和 unjailMessage: 手动解除监狱事件的模板。
sendAutoUnjailMessage 和 autoUnjailMessage: 自动解除监狱事件的模板。
执行 /jail reload 也会重新加载此文件。
config/jailmod/language.txt
此文件包含在游戏中显示的消息,可根据服务器的语气或风格进行自定义。如果该文件不存在,它将使用默认消息自动生成。以下是一些可以修改的消息:
jail_player: 玩家被关入监狱时收到的消息。使用 {time}、{reason} 和 {actor} 占位符。
示例:"You have been jailed by {actor} for {time}! Reason: {reason}"
jail_broadcast: 类似 BanHammer 的公开监狱公告。{player} 为红色,{actor} 为金色,{reason} 和 {time} 为黄色,其他文本为白色。
示例:"Player: {player} has been jailed by {actor}! Reason: {reason}. Expires in {time}"
unjail_player_manual: 玩家被手动从监狱释放时收到的消息。
示例:"You have been manually released from jail!"
unjail_broadcast_manual: 当玩家被手动从监狱释放时,向服务器所有玩家广播的消息。
示例:"{player} has been manually released from jail!"
unjail_player_auto: 时间到期后,玩家被自动从监狱释放时收到的消息。
示例:"You have been released after serving your sentence."
unjail_broadcast_auto: 当玩家因服刑期满被自动从监狱释放时,向服务器所有玩家广播的消息。
示例:"{player} has been released after serving their sentence."
block_interaction_denied: 告知玩家在监狱中无法与方块交互的消息。
示例:"You cannot interact with blocks while in jail!"
entity_interaction_denied: 告知玩家在监狱中无法与实体交互的消息。
示例:"You cannot interact with entities while in jail!"
bucket_use_denied: 告知玩家在监狱中无法使用岩浆桶或水桶的消息。
示例:"You cannot use lava or water buckets while in jail!"
item_use_denied: 告知玩家在监狱中无法使用物品的消息。
示例:"You cannot use items while in jail!"
block_break_denied: 告知玩家在监狱中无法破坏方块的消息。
示例:"You cannot break blocks while in jail!"
jail_time_added_player 和 jail_time_added_broadcast: 增加监狱时间的消息。{added} 和 {time} 是格式化后的持续时间,因此不要在它们后面添加单位标签。
jail_info_message: 执行 /jail info 时显示的消息。{time} 仅包含非零的年、月、日、小时、分钟和秒;{actor} 是将其关入监狱或最近延长刑期的人;{reason} 是原因。
示例:"You are jailed for {time} by {actor}. Reason: {reason}"
not_in_jail_message: 如果玩家不在监狱中并尝试使用 /jail info 时显示的消息。
示例:"You are not in jail!"
默认 language.txt 示例:
jail_player=You have been jailed by {actor} for {time}! Reason: {reason}
jail_broadcast=Player: {player} has been jailed by {actor}! Reason: {reason}. Expires in {time}
unjail_player_manual=You have been manually released from jail!
unjail_broadcast_manual={player} has been manually released from jail!
unjail_player_auto=You have been released after serving your sentence.
unjail_broadcast_auto={player} has been released after serving their sentence.
block_interaction_denied=You cannot interact with blocks while in jail!
entity_interaction_denied=You cannot interact with entities while in jail!
bucket_use_denied=You cannot use lava or water buckets while in jail!
item_use_denied=You cannot use items while in jail!
block_break_denied=You cannot break blocks while in jail!
jail_time_added_player=Your jail time has been extended by {actor}. Added {added}. Remaining: {time}. Reason: {reason}
jail_time_added_broadcast={player}'s jail time has been extended by {actor}. Added {added}. Remaining: {time}. Reason: {reason}
jail_info_message=You are jailed for {time} by {actor}. Reason: {reason}
not_in_jail_message=You are not in jail!
使用技巧
更改配置或语言消息后,请使用 /jail reload。在需要时添加明确的原因;如果省略,则默认为 Unknown reason。旧版 language 文件会自动更新,并且在迁移过程中会移除 {time} 或 {added} 后面的单位标签。
使用示例
设置监狱出生点位置:
/jail set 0 60 0
因不公平行为将玩家关入监狱:
/jail imprison Alex 600 Offending another player
这将把 Alex 关入监狱 10 分钟,原因为“Offending another player”。
检查监狱时间:
/jail info
被关入监狱的玩家可以使用此命令来检查剩余的时间。
⚠️ This is an unofficial fork of Jail Logic by n3mmuss.
The original project appears inactive, so this fork exists to keep the mod usable on newer Minecraft versions, with some optional improvements.
The original project’s source code is released under the CC0 license.
This fork is redistributed under the MIT License to clearly define attribution and contribution terms for future maintenance.
If the original author releases updates for the versions this fork targets and includes the fixes provided here, this fork will no longer be updated.
Please do not report issues to the original developer. Report them here instead.
Jail Mod (Fabric)
The Jail Mod is a server-side mod that allows you to imprison players in a virtual prison, preventing them from interacting with the world until they are released. It also works in singleplayer worlds, where the host can use jail commands when commands are enabled.

Key Features
- Temporary Imprisonment: You can imprison a player for a specific amount of time, blocking interactions with blocks, entities, and objects, such as buckets of lava or water.

- Automatic or Manual Release: The player is automatically released after the set time, or an admin can release them manually.
- Imprisonment Reason: Add a reason when needed. If omitted, it defaults to
Unknown reason.

- Command to know the remaining time: Imprisoned players can check the time remaining until their release.

- BanHammer-style jail messages: Player names are red, staff names gold, and reasons and durations yellow. Jail announcements include the reason and sentence duration.
- Jail list: Staff can view jailed players, their remaining time, reason, and who jailed them with
/jail list.
- Offline release: Release offline players by name or UUID. Their jail status is cleared immediately, and their saved state is restored when they next join.
- Discord Webhook (optional): Sends jail and unjail events to a Discord webhook. BanHammer webhook reuse defaults to enabled on dedicated servers and disabled in client/singleplayer defaults.
- BanHammer-style Discord templates: Supports
config/jailmod/discord-messages.json in BanHammer-like format with auto patching for new fields.
- Mod Menu settings and help: Edit client defaults and per-world overrides for admin roles, jail and release positions, and Discord options. Open the config files or search the built-in Help tab when Mod Menu and Cloth Config are installed.
How to use:
-
Build a prison (a closed structure).
-
Set the jail position with /jail set x y z (example /jail set 0 60 0) or stand at the desired block and run /jail set.
-
Reload the configuration using /jail reload .
-
Send someone to jail with a duration and optional reason, for example /jail imprison playerexample 2m Griefing. If you omit the reason, it will be Unknown reason.
-
Release a player early with /jail unjail playerexample or /unjail playerexample. You can also use a player's UUID; offline players are released when they next join.
Requirements
- Minecraft 26.3
- Java 25
- Fabric Loader
- Fabric API
Installation
- Place the mod's
.jar file in the mods folder of the Minecraft server.
- Start the server to generate configuration files. For singleplayer, install the mod in the Minecraft instance's
mods folder. Mod Menu and Cloth Config are optional and enable the in-game settings screen.
Available Commands
1. /jail imprison player duration [reason]
- Description: Jails a player for the specified duration. The reason is optional and defaults to
Unknown reason.
- Who can use it: Only admins or server operators.
- Syntax:
/jail imprison player_name duration [reason]
- Duration units:
s, m, h, d, w/wk, mo/mth, y/yr, plus plural wks/yrs and full names second(s), minute(s), hour(s), day(s), week(s), month(s), and year(s). Units attach directly to the number (for example, 10seconds). A bare number or unknown suffix is treated as seconds. Months are 30 days and years are 365 days.
- Examples:
/jail imprison Steve 300 Griefing, /jail imprison Steve 10m, and /jail imprison Steve 2years Breaking blocks. The second example uses the default reason.
2. /jail unjail <player name|UUID>
- Description: Manually releases a jailed player before the time expires. Targets can be online or offline and may be specified by name or UUID. Offline players have their saved state restored when they next join.
- Who can use it: Only admins or server operators.
- Syntax:
/jail unjail <player_name|uuid>
- Alias:
/unjail <player_name|uuid>
- Examples:
/jail unjail Steve or /jail unjail 069a79f4-44e9-4726-a5be-fca90e38aaf5
3. /jail info
- Description: Allows incarcerated players to see the time remaining until release and the reason for their incarceration.
- Who can use it: Only jailed players.
- Example:
/jail infoShows the remaining duration in nonzero units, who jailed the player, and the reason; for example: "You are jailed for 10 minutes by Alex. Reason: Griefing."
4. /jail list
- Description: Lists jailed players with their remaining sentence, reason, and the staff member who jailed them. Offline jailed players are included.
- Who can use it: Only admins or server operators.
- Example:
/jail list
5. /jail reload
- Description: Reloads configuration, language messages, and
discord-messages.json without restarting the server.
- Who can use it: Only admins or server operators.
- Example:
/jail reloadThis command reloads the mod's configuration, useful if the config files have been modified.
6. /jail set
- Description: Sets where jailed players will spawn. With no coordinates, it uses the executing player's current block position.
- Who can use it: Operators can always use it. Configured admin-role tags can use it when
allow_admin_role_set_jail_position is enabled.
- Syntax:
/jail set or /jail set x y z
- Examples:
/jail set uses your current block position; /jail set 0 60 0 sets the position explicitly. Console users must provide coordinates.
Interactions blocked during jail
When a player is jailed, they cannot do the following:
- Use blocks, such as doors, levers, or buttons.
- Interact with entities, such as villagers or animals.
- Use lava or water buckets.
- Break or place blocks.
Automatic release
- Players will be automatically released from jail when the set time is up.
- While jailed, players can check the remaining time using the
/jail info command.
Configuration file
config/jailmod/config.json
This file is automatically generated and updated. On a dedicated server, it is that server's active configuration. In singleplayer, it stores the client defaults used for new worlds; each world can have separate overrides in its serverconfig/jailmod/config.json file. Mod Menu shows Client Defaults and This World settings separately, and disables world settings when no world is open. The config screen also has buttons to open the relevant config file and a searchable Help tab. Jail records are stored per world in serverconfig/jailmod/jail_data.json; dedicated servers use config/jailmod/jail_data.json.
admin_roles: Comma-separated list of tags that grant admin command access, e.g. admin,moderator. op represents server operators.
allow_admin_role_set_jail_position: Defaults to false. When enabled, configured admin-role tags can use /jail set; operators can always use it.
use_previous_position: If set to true, players will be released in the position they were in before being jailed. If set to false, they will be released in a specific position.
return_to_last_location: If true, released players will be teleported back to the exact spot where they were jailed.
release_position: The fallback coordinates for releasing players if no other location (spawn/last) is used, active if use_previous_position is set to false or if return_to_last_location is set to false.
jail_position: The coordinates where players are held while in jail with coordinates x, y, z.
discord_webhook_url: Optional Discord webhook used for jail/un-jail embeds. Leave empty to use BanHammer's webhook when enabled in the world's settings.
use_banhammer_webhook: If true and discord_webhook_url is empty, Jail Mod may reuse BanHammer's server-side webhook. It defaults to true on dedicated servers and false in client/singleplayer defaults. It is not exposed in the Mod Menu screen.
Example configuration:
This example is for a dedicated server. Client/singleplayer defaults use false for use_banhammer_webhook.
{
"_config_guide": "JailMod Configuration Guide: \n- admin_roles: Comma-separated list of roles or tags that grant /jail access. Use \u0027op\u0027 to include server operators.\n- use_previous_position: If true, released players will be teleported to their original spawn point (if return_to_last_location is false or unavailable).\n- return_to_last_location: If true, released players will be teleported back to the exact spot where they were jailed.\n- jail_position: The coordinates where players are held while in jail.\n- release_position: The fallback coordinates for releasing players if no other location (spawn/last) is used.",
"admin_roles": "op",
"allow_admin_role_set_jail_position": false,
"use_previous_position": true,
"return_to_last_location": true,
"discord_webhook_url": "",
"use_banhammer_webhook": true,
"release_position": {
"x": 100,
"y": 65,
"z": 100
},
"jail_position": {
"x": 20,
"y": 64,
"z": 142
}
}
config/jailmod/discord-messages.json
This file controls Discord webhook message templates in a BanHammer-style format and is auto-generated/auto-patched.
sendJailMessage: Enables jail webhook notifications.
jailMessage: Template for jail events.
sendUnjailMessage and unjailMessage: Template for manual unjail events.
sendAutoUnjailMessage and autoUnjailMessage: Template for auto unjail events.
/jail reload reloads this file too.
config/jailmod/language.txt
This file contains the messages that are displayed in-game, customizable to match the tone or style of the server. If the file does not exist, it is automatically generated with default messages. Here are some of the messages you can modify:
jail_player: Message the player receives when they are jailed. Use {time}, {reason}, and {actor} placeholders.
Example: "You have been jailed by {actor} for {time}! Reason: {reason}"
jail_broadcast: BanHammer-style public jail announcement. {player} is red, {actor} gold, {reason} and {time} yellow, and other text white.
Example: "Player: {player} has been jailed by {actor}! Reason: {reason}. Expires in {time}"
unjail_player_manual: Message the player receives when they are manually released from jail.
Example: "You have been manually released from jail!"
unjail_broadcast_manual: Message broadcast to all players on the server when a player is manually released from jail.
Example: "{player} has been manually released from jail!"
unjail_player_auto: Message the player receives when they are automatically released from jail after the time expires.
Example: "You have been released after serving your sentence."
unjail_broadcast_auto: Message broadcast to all players on the server when a player is automatically released from jail after the time expires.
Example: "{player} has been released after serving their sentence."
block_interaction_denied: Message informing the player that they cannot interact with blocks while in jail.
Example: "You cannot interact with blocks while in jail!"
entity_interaction_denied: Message informing the player that they cannot interact with entities while in jail.
Example: "You cannot interact with entities while in jail!"
bucket_use_denied: Message informing the player that they cannot use lava or water buckets while in jail.
Example: "You cannot use lava or water buckets while in jail!"
item_use_denied: Message informing the player that they cannot use items while in jail.
Example: "You cannot use items while in jail!"
block_break_denied: Message informing the player that they cannot break blocks while in jail.
Example: "You cannot break blocks while in jail!"
jail_time_added_player and jail_time_added_broadcast: Messages for added jail time. {added} and {time} are formatted durations, so do not add unit labels after them.
jail_info_message: Message shown by /jail info. {time} contains only nonzero years, months, days, hours, minutes, and seconds; {actor} is who jailed or most recently extended the sentence; {reason} is the reason.
Example: "You are jailed for {time} by {actor}. Reason: {reason}"
not_in_jail_message: Message shown if a player is not in jail and tries to use /jail info.
Example: "You are not in jail!"
Default language.txt example:
jail_player=You have been jailed by {actor} for {time}! Reason: {reason}
jail_broadcast=Player: {player} has been jailed by {actor}! Reason: {reason}. Expires in {time}
unjail_player_manual=You have been manually released from jail!
unjail_broadcast_manual={player} has been manually released from jail!
unjail_player_auto=You have been released after serving your sentence.
unjail_broadcast_auto={player} has been released after serving their sentence.
block_interaction_denied=You cannot interact with blocks while in jail!
entity_interaction_denied=You cannot interact with entities while in jail!
bucket_use_denied=You cannot use lava or water buckets while in jail!
item_use_denied=You cannot use items while in jail!
block_break_denied=You cannot break blocks while in jail!
jail_time_added_player=Your jail time has been extended by {actor}. Added {added}. Remaining: {time}. Reason: {reason}
jail_time_added_broadcast={player}'s jail time has been extended by {actor}. Added {added}. Remaining: {time}. Reason: {reason}
jail_info_message=You are jailed for {time} by {actor}. Reason: {reason}
not_in_jail_message=You are not in jail!
Usage Tips
Use /jail reload after changing configuration or language messages. Add a clear reason when needed; if omitted, it defaults to Unknown reason. Older language files are updated automatically, and unit labels after {time} or {added} are removed during migration.
Usage Examples
Set Jail spawn position:
/jail set 0 60 0
Jailing a player for an unfair action:
/jail imprison Alex 600 Offending another player
This jails Alex for 10 minutes with the reason "Offending another player".
Checking jail time:
/jail info
A jailed player can use this command to check how much time they have left.
评论 0
登录后参与评分
还没有评论,来抢沙发吧