You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 429f588
Browse filesBrowse the repository at this point in the historyBrowse files
Connect a computer: pick the scripts on the page, install starts them (#196)
The Status dialog's Connect a computer has a box per script; the command
names the ticked ones, so gcm install asks nothing. Install no longer asks
whether to start the scripts on boot (always yes) and reboots 3 seconds
after it's done, except when the server check failed or a value was left
blank, so the explanation stays on screen. Disabled range buttons now look
disabled.
Co-authored-by: Maselkov <25772111+Maselkov@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: server/index.html
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -509,14 +509,16 @@ <h2>This base is private</h2>
509
509
<divid="agentsList" class="agents-list"></div>
510
510
<divclass="status-heading connect-heading">Connect a computer</div>
511
511
<divclass="connect-computer">
512
-
<divclass="modal-note">On an OpenComputers computer with an Internet Card, run this command: copy it and paste it into the computer with the middle mouse button or Insert.</div>
512
+
<divclass="modal-note">On an OpenComputers computer with an Internet Card, run this command: pick the scripts it installs, copy it and paste it into the computer with the middle mouse button or Insert.</div>
<divid="connectLocalNote" class="agent-line agent-command failed" style="display:none;">OpenComputers blocks local addresses like this one unless the Minecraft server's config allows them: see <ahref="https://github.com/Maselkov/gtnh-craft-monitor#scripts-cant-reach-the-server" target="_blank" rel="noopener">Scripts can't reach the server</a>.</div>
<divclass="agent-line">It downloads the installer, which asks which scripts to install, checks that the computer reaches this server with the API key, and saves both.</div>
521
+
<divclass="agent-line">It downloads the installer, which installs the scripts, checks that the computer reaches this server with the API key and saves both, starts the scripts on every boot, and reboots to start them. If the server check fails it says why and doesn't reboot.</div>
520
522
<divclass="agent-buttons">
521
523
<buttonclass="range-btn" id="connectKeyBtn" data-action="toggle-connect-key">Show API key</button>
522
524
<buttonclass="range-btn" id="connectAddressBtn" data-action="edit-connect-address" title="If the Minecraft server reaches this server at another address than the one in the command">Use a different address</button>
0 commit comments