mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-22 19:25:56 +00:00
Phase 7a: real population (players vs companions), hardware-aware companion sizes, RA bot spawn, Bots page card
Verified: fixture received 'botcmd spawnleveled 12' over RA from the UI and the counts moved; population query also read-only verified against the live server (33 companions online). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
981ee4d4d9
commit
9504e9133b
9 files changed
+351
-3
No files matched your search
@@ -16,6 +16,7 @@ import {
|
||||
import { cn } from "@/lib/utils";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Card } from "@/components/ui/card";
|
||||
import { CompanionsCard } from "@/screens/CompanionsCard";
|
||||
|
||||
const RESTART_LABEL = { runtime: "Applies immediately", world: "Needs a world server restart", full: "Needs a full server restart" } as const;
|
||||
|
||||
@@ -242,6 +243,8 @@ export function SettingsPage(props: { serverId: string; scope: Scope; title: str
|
||||
<h1 className="text-2xl font-semibold">{props.title}</h1>
|
||||
<p className="mt-1 text-muted">{props.question}</p>
|
||||
|
||||
{scope === "bots" && <CompanionsCard serverId={serverId} />}
|
||||
|
||||
{view.drift_keys.length > 0 && (
|
||||
<Card className="mt-5 border-warn/40 p-4" role="status">
|
||||
<p className="font-medium text-warn">{view.drift_keys.length} setting(s) were edited by hand</p>
|
||||
|
||||
Reference in new issue
Block a user