跳到正文

Simple Jail

作者:Caltinor

Lightweight player management mod for servers

收藏

截图

介绍

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

Simple Jail adds a very simple player management system for servers.

 

Using commands, players can be assigned the following punishments:

DETAINED: unable to leave the jail area or break blocks but able to speak and inventory is stashed away
SILENCED: unable to speak in chat but able to play the game otherwise
SOLITARY: unable to leave the jail area or break blocks, unable to speak, and inventory is stashed away

The commands are as follows: 

“/setjail <leash> <name>” which sets the jail location to your current position.  The leash determines how far players can be from this position before being teleported back. If a name is provided it will create or update the jail of that name.  Otherwise the default jail is assumed.

 

“/jail <player> <punishment> <duration> <duration interval> <jail name>”  Intervals: MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS

 

“/release <player>”    Released players are sent to the world spawn

 

Technical notes:

Spawn points do not need to be confined.  You could technically jail players in the center of your spawn town.  If they travel too far away from the jail point, they will be teleported back.  This is useful if they happen to have teleport items.  They will be unable to use commands while silenced or in solitary.

 

Note this mod does work serverside only with one caveat.  Clients (vanilla or modded) will receive chat notifications from the jailer that are meaningless.  (eg. “msg.jail.success”)  This is due to them not having the translations on their end.  All functions work perfectly regardless.  This mod was tested using vanilla clients.  If you want translations to work without the client having the mod, be sure to add the translation keys to a resourcepack which you know they will use.

 

Planned updates 

 

Login blocking: Certain features of mods may give benefits to logging in. This would be a new judgement which prevents them from connecting until their release time

 

 

 

 

常见问题

Simple Jail 支持哪些 Minecraft 版本?

Simple Jail 支持 Minecraft Java 版 1.16–1.19.2,共 12 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Simple Jail 怎么安装?

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

评论

登录后评论和评分

Caltinor 的其他作品

查看全部 →