快速开始
一个客户端实用模组,允许你直接从游戏中启动和停止本地 Minecraft 服务器。
功能
- 一键服务器控制 — 多人游戏界面上的启动/停止按钮
- 暂停菜单按钮 — 暂停屏幕上的迷你控制按钮(▶/…/■)
- 世界选择 — 在启动前选择要加载的世界,或者通过输入名称添加新世界
- 锁定与删除 — 锁定世界以防止误点击删除,或在五秒倒计时后删除;已删除的世界连同其下界和末地文件夹一起移入回收站
- 无需 OP 设置 — 模组会在启动服务器前将你注册到
ops.json 中,但仅当尚未注册任何用户时才会执行此操作
- 干净关闭 — 停止按钮会发送
/stop 命令,从而保存世界数据而不是直接杀死进程
- 自动添加 localhost — 自动将 localhost 添加到你的服务器列表中
- 确认对话框 — 可选的服务器停止前确认提示
- 每个加载器一个文件 — 单个 jar 包即可覆盖 Fabric 上 1.20.1 至 26.x 版本,以及 NeoForge 上 1.21.1 至 26.x 版本
工作原理
- 将模组放入你的
mods 文件夹
- 打开多人游戏界面 — 你会看到一个“启动服务器”按钮
- 选择一个世界,模组会将该世界设置写入
server.properties,并在游戏目录中运行你的服务器启动脚本(.bat 或 .sh)
- 服务器运行后,按钮变为“停止服务器”
- 在世界列表中,锁定按钮可保护世界免于被删除 — 再次按下以解锁
- 垃圾桶按钮启动五秒倒计时,以进度条形式显示;在五秒内再次按下可取消操作,时间耗尽后世界将被移入回收站
要求
同时支持 Windows (.bat) 和 Linux / Mac (.sh) 启动脚本;本模组在 Windows 上进行开发和测试。
Quick Start
A client-side utility mod that lets you launch and stop your local Minecraft server directly from the game.
Features
- One-click server control — Start/stop button on the multiplayer screen
- Pause menu button — Mini control button (▶/…/■) on the pause screen
- World selection — Pick which world the server loads before starting it, or add a new one by typing a name
- Lock and delete — Lock a world so it cannot be deleted by a misclick, or delete one after a five second countdown; deleted worlds go to the Recycle Bin together with their nether and end folders
- No OP setup — The mod registers you in
ops.json before starting the server, but only when nobody is registered yet
- Clean shutdown — The stop button sends
/stop, so the world is saved instead of the process being killed
- Auto localhost — Automatically adds localhost to your server list
- Confirmation dialog — Optional confirmation before stopping the server
- One file per loader — One jar covers Minecraft 1.20.1 through 26.x on Fabric, and 1.21.1 through 26.x on NeoForge
How it works
- Place the mod in your
mods folder
- Open the multiplayer screen — you'll see a "Start Server" button
- Pick a world, and the mod sets it in
server.properties and runs your server start script (.bat or .sh) in the game directory
- Once the server is running, the button changes to "Stop Server"
- In the world list, the lock button keeps a world safe from deletion — press it again to unlock
- The trash button starts a five second countdown, shown as a gauge; press it again within those five seconds to call it off, and the world goes to the Recycle Bin when it runs out
Requirements
- Fabric Loader, or NeoForge
Windows (.bat) and Linux / Mac (.sh) start scripts are both supported; Windows is what the mod is developed and tested on.
Quick Start
マルチプレイ画面からワンクリックでローカルサーバーを起動・停止できるクライアント専用MODです。
機能
- ワンクリック操作 — マルチプレイ画面にサーバー起動/停止ボタンを追加
- ポーズ画面対応 — ミニ操作ボタン(▶/…/■)を表示
- ワールド選択 — 起動するワールドを選んでからサーバーを起動。名前を入力して新規追加も可能
- ロックと削除 — ロックしたワールドは誤クリックで消えません。削除は5秒のカウントダウン後に、ネザー・エンドのフォルダごと「ごみ箱へ移動」します
- OP設定不要 — サーバー起動前に自分を
ops.jsonへ自動登録します(まだ誰もOPがいない場合だけ)
- 正常終了 — 停止ボタンは
/stopを送るので、プロセスを殺すのではなくワールドを保存して終了します
- localhost自動登録 — サーバーリストにlocalhostを自動追加
- 確認ダイアログ — サーバー停止時の確認ON/OFF切替
- ローダーごとに1ファイル — Fabric版は1.20.1〜26.x、NeoForge版は1.21.1〜26.xを1つのjarでカバー
使い方
- MODを
mods フォルダに入れる
- マルチプレイ画面を開くと「サーバー起動」ボタンが表示される
- ワールドを選ぶと
server.propertiesに設定し、ゲームディレクトリ内の起動スクリプトを自動検出して実行
- 起動完了後、ボタンが「サーバー停止」に切り替わる
- ワールド一覧のロックボタンを押すと、そのワールドは削除できなくなる(もう一度押すと解除)
- ごみ箱ボタンを押すと5秒のカウントダウンがゲージで表示され、5秒以内にもう一度押せば中止。時間切れでワールドはごみ箱へ移動する
必要環境
- Fabric Loader、または NeoForge
起動スクリプトは Windows (.bat) と Linux / Mac (.sh) の両方に対応していますが、開発・動作確認はWindowsで行っています。
评论 0
登录后参与评分
还没有评论,来抢沙发吧