Auto-Lan
信息:
- 本模组的代码灵感来源于 Custom-LAN
*需要 Cloth Config Api
功能:
- 自定义更多内置服务器设置(在线模式、最大玩家数、MOTD)
- 在 MOTD 中使用和号(
&)来代替节符号(§)和变量(例如${username}、${world}),以实现 格式代码 效果 - 在游戏中途更改设置(包括端口),并在不退出世界的情况下停止服务器
- 全局保存设置或按世界单独保存(加载时自动应用,按世界设置的优先级高于全局设置,全局设置的优先级高于系统默认值)
- 通过
/op和/deop命令分别更改谁可以使用作弊功能,并允许在不开放局域网的情况下单人游戏中使用作弊(替代“允许作弊”按钮) - 使用
/ban、/ban-ip、/banlist、/pardon和/pardon-ip管理封禁,并通过/whitelist管理白名单玩家(使用/whitelist on/off启用/禁用白名单) - 无需端口转发即可通过隧道将你的服务器暴露到局域网之外(目前仅支持 ngrok)
命令:
/publish [port] [onlineMode] [maxPlayers] [defaultGameMode] [tunnel] [motd]
/publish [perworld|global|system] [port] [onlineMode] [maxPlayers] [defaultGameMode] [tunnel] [motd]
/publish stop
全局设置存储在 .minecraft/config/autolan.toml 中,而按世界单独的设置则存储在各世界目录下的 data/autolan.dat 中。
所使用的文件也是按世界区分的,与专用服务器相同——即 banned-players.json、banned-ips.json、whitelist.json——不过白名单是否启用的状态存储在 data/autolan.dat 中。
Auto-Lan
Info:
- This mod's codes are inspired by Custom-LAN
*Requires Cloth Config Api
Functions:
- Customize more of your integrated server (Online Mode, Max Players, MOTD)
- Use ampersands (
&) for formatting codes instead of section signs (§) and variables (e.g.${username},${world}) in the MOTD - Change the settings mid-game (including the port) and stop the server without quitting the world
- Save the settings globally or per-world (they are loaded automatically with per-world settings taking priority over the global ones, which take priority over the system defaults)
- Change who can use cheats individually using the
/opand/deopcommands and cheat in singleplayer without opening to LAN (replaces the Allow Cheats button) - Manage bans with
/ban,/ban-ip,/banlist,/pardonand/pardon-ip, and whitelist players with/whitelist(use/whitelist on/offto enable/disable) - Expose your server outside your LAN without port forwarding using tunnels (currently only ngrok is supported)
Commands:
/publish [port] [onlineMode] [maxPlayers] [defaultGameMode] [tunnel] [motd]
/publish [perworld|global|system] [port] [onlineMode] [maxPlayers] [defaultGameMode] [tunnel] [motd]
/publish stop
The global settings are stored in .minecraft/config/autolan.toml, while the per-world ones are stored in data/autolan.dat in the respective world's directory.
The files used are also per-world and the same as on dedicated servers—banned-players.json, banned-ips.json, whitelist.json—though whether the whitelist is enabled is stored in data/autolan.dat.
下载 Auto-Lan
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto-Lan
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto-Lan
下载 Auto-Lan
下载 Auto-Lan
下载 Auto-Lan
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto-Lan
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Auto-Lan
移植到 1.21.7 和 1.21.8
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧