JoinJail
JoinJail 旨在创建一种类似受密码保护的服务器。
我们发现,在离线模式下运行 Minecraft 服务器会导致白名单功能无法正常工作。因此我制作了这款模组。
该模组会在距离出生点非常非常远的地方生成一个基岩牢房/拘留区。离开牢房的唯一方法是使用设定的密码。如果玩家在牢房内死亡,他们将在牢房外重生,但在重生后的第一个游戏刻(tick)内会被重新传送回牢房。
用法
如果你加入了安装了此模组的服务器,则必须输入设定的密码。操作命令如下:
/joinjail <password>
/joinjail 是命令,其后应跟随设定的密码。如果密码正确,你将被加入白名单,此后即可随时加入服务器。
命令
- /joinjail setPassword
- /joinjail ban <player> <reason>
- 以给定理由封禁指定玩家。(可使用常规的 /pardon 命令撤销封禁)
配置
在 Minecraft 的 config 文件夹中会生成 JoinJail 文件夹。其中包含白名单和密码文件:
- whitelistfile.txt
- password.txt
JoinJail
JoinJail was made to create a sort of password protected server.
We found that running a Minecraft server in offline mode made our whitelist not work properly. So I made this mod.
This mod generates a bedrock jail / holding place very very very far away from spawn. The only way to leave the jail is by using the set password. If a user dies in the jail they will spawn outside the jail but the first tick after spawning they will be back in the jail.
Usage
If you join a server with this mod you are required to enter the set password, this is done with the command:
/joinjail <password>
/joinjail is the command and should be followed by the set password. If correct, you will be added to the whitelist and you can now always join.
Commands
- /joinjail setPassword
- This will set a new password
- /joinjail ban <player> <reason>
- This will ban the selected player with the given reason. (This can be undone with the regular /pardon command)
Config
In the Minecraft config folder there will be the JoinJail folder. In here you will have the whitelist and password files
- whitelistfile.txt
- this list contains the list of players whitelisted
- password.txt
- this file contains the password that is needed to join the server.
评论 0
登录后参与评分
还没有评论,来抢沙发吧