mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-19 11:25:56 +00:00
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>
11 lines
361 B
Rust
11 lines
361 B
Rust
fn main() {
|
|
let root = std::env::args().nth(1).expect("server folder");
|
|
let root = std::path::Path::new(&root);
|
|
println!("{:?}", coa_core::population::query(root));
|
|
let h = coa_core::population::hardware();
|
|
println!("{h:?}");
|
|
for s in coa_core::population::sizes(&h) {
|
|
println!("{} {} {:?}", s.title, s.bots, s.warning);
|
|
}
|
|
}
|