MediaWiki:Common.js: различия между версиями
Kerisar (обсуждение | вклад) мНет описания правки |
Kerisar (обсуждение | вклад) мНет описания правки |
||
| Строка 1: | Строка 1: | ||
const currentURL = window.location.href; | const currentURL = window.location.href; | ||
const serversStatus = [{ | const serversStatus = [{ | ||
name: "main", | name: "server-main", | ||
connect: "https://game2.station14.ru/main/server/status", | connect: "https://game2.station14.ru/main/server/status", | ||
serverconnect: "game2.station14.ru/main/server" | serverconnect: "game2.station14.ru/main/server" | ||
}, { | }, { | ||
name: "nova", | name: "server-nova", | ||
connect: "https://game2.station14.ru/nova/server/status", | connect: "https://game2.station14.ru/nova/server/status", | ||
serverconnect: "game2.station14.ru/nova/server" | serverconnect: "game2.station14.ru/nova/server" | ||
}, { | }, { | ||
name: "athara", | name: "server-athara", | ||
connect: "https://game2.station14.ru/athara/server/status", | connect: "https://game2.station14.ru/athara/server/status", | ||
serverconnect: "game2.station14.ru/athara/server" | serverconnect: "game2.station14.ru/athara/server" | ||
}, { | }, { | ||
name: "solaris", | name: "server-solaris", | ||
connect: "https://game2.station14.ru/solaris/server/status", | connect: "https://game2.station14.ru/solaris/server/status", | ||
serverconnect: "game2.station14.ru/solaris/server" | serverconnect: "game2.station14.ru/solaris/server" | ||
}, { | }, { | ||
name: "echo", | name: "server-echo", | ||
connect: "https://game2.station14.ru/echo/server/status", | connect: "https://game2.station14.ru/echo/server/status", | ||
serverconnect: "game2.station14.ru/echo/server" | serverconnect: "game2.station14.ru/echo/server" | ||
}, { | }, { | ||
name: "elysium", | name: "server-elysium", | ||
connect: "https://game2.station14.ru/elysium/server/status", | connect: "https://game2.station14.ru/elysium/server/status", | ||
serverconnect: "game2.station14.ru/elysium/server" | serverconnect: "game2.station14.ru/elysium/server" | ||
}, { | }, { | ||
name: "nebula", | name: "server-nebula", | ||
connect: "https://game2.station14.ru/nebula/server/status", | connect: "https://game2.station14.ru/nebula/server/status", | ||
serverconnect: "game2.station14.ru/nebula/server" | serverconnect: "game2.station14.ru/nebula/server" | ||
}, { | }, { | ||
name: "wl", | name: "server-wl", | ||
connect: "https://game2.station14.ru/wl/server/status", | connect: "https://game2.station14.ru/wl/server/status", | ||
serverconnect: "game2.station14.ru/wl/server" | serverconnect: "game2.station14.ru/wl/server" | ||
}, { | }, { | ||
name: "frontier", | name: "server-frontier", | ||
connect: "https://api.codetabs.com/v1/proxy/?quest=https://arles.station14.ru/frontier-main/server/status", | connect: "https://api.codetabs.com/v1/proxy/?quest=https://arles.station14.ru/frontier-main/server/status", | ||
serverconnect: "arles.station14.ru/frontier-main/server" | serverconnect: "arles.station14.ru/frontier-main/server" | ||
}, { | }, { | ||
name: "fallout", | name: "server-fallout", | ||
connect: "https://api.codetabs.com/v1/proxy/?quest=http://188.92.78.98:1221/status", | connect: "https://api.codetabs.com/v1/proxy/?quest=http://188.92.78.98:1221/status", | ||
serverconnect: "188.92.78.98:1221" | serverconnect: "188.92.78.98:1221" | ||
}, { | }, { | ||
name: "marines", | name: "server-marines", | ||
connect: "https://game1.station14.ru/marines-main/server/status", | connect: "https://game1.station14.ru/marines-main/server/status", | ||
serverconnect: "game1.station14.ru/marines-main/server" | serverconnect: "game1.station14.ru/marines-main/server" | ||
}, { | }, { | ||
name: "stalker", | name: "server-stalker", | ||
connect: "https://api.codetabs.com/v1/proxy/?quest=https://game.stalkers14.xyz/status", | connect: "https://api.codetabs.com/v1/proxy/?quest=https://game.stalkers14.xyz/status", | ||
serverconnect: "game.stalkers14.xyz" | serverconnect: "game.stalkers14.xyz" | ||