among-js
among-js copied to clipboard
Server kicks for room being full on connection
import { AmongUsSocket } from "@among-js/sus";
import { matchmakingServers } from "@among-js/data";
async function main() {
new AmongUsSocket("OvalTest").connect(22023, matchmakingServers.EU[0]);
}
main();
Output:
Disconnecting by request:
The game you tried to join is full.
Check with the host to see if you can join next round.