Add Space Engineers server support
All checks were successful
Deploy GSM / deploy (push) Successful in 34s
All checks were successful
Deploy GSM / deploy (push) Successful in 34s
Integrates Space Engineers dedicated server (docker+wine on 192.168.2.78) into GSM: - config.json entry with docker runtime and log-based player detection - getSpaceEngineersPlayers() parses docker logs for connect/disconnect events - Extends type-check sites in rcon, autoshutdown, discordBot, servers routes - Frontend ServerCard/ServerDetail logo + address wiring Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,8 @@ const serverDisplay = {
|
||||
palworld: { name: 'Palworld', icon: '🦎', color: 0x00D4AA, address: 'palworld.zeasy.dev:8211' },
|
||||
terraria: { name: 'Terraria', icon: '⚔️', color: 0x05C46B, address: 'terraria.zeasy.dev:7777' },
|
||||
openttd: { name: 'OpenTTD', icon: '🚂', color: 0x1E90FF, address: 'openttd.zeasy.dev:3979' },
|
||||
hytale: { name: 'Hytale', icon: '🏰', color: 0x00BFFF, address: 'hytale.zeasy.dev:5520' }
|
||||
hytale: { name: 'Hytale', icon: '🏰', color: 0x00BFFF, address: 'hytale.zeasy.dev:5520' },
|
||||
spaceengineers: { name: 'Space Engineers', icon: '🚀', color: 0xFFA500, address: 'spaceengineers.zeasy.dev:27016' }
|
||||
};
|
||||
|
||||
function loadConfig() {
|
||||
@@ -376,7 +377,7 @@ async function fetchServerStatuses() {
|
||||
let players = { online: 0, max: null };
|
||||
let playerList = { players: [] };
|
||||
|
||||
if (running && (server.rconPassword || server.type === 'hytale' || server.type === 'terraria')) {
|
||||
if (running && (server.rconPassword || server.type === 'hytale' || server.type === 'terraria' || server.type === 'spaceengineers')) {
|
||||
try {
|
||||
players = await getPlayers(server);
|
||||
playerList = await getPlayerList(server);
|
||||
|
||||
Reference in New Issue
Block a user