If is_closed is true, players will be prevented from joining the lobby. Does not shutdown the lobby.
is_closed
true
Use a bare-bones client and the command you need to make an API call.
import { MatchmakerServiceClient, SetLobbyClosedCommand } from "@rivet-gg/matchmaker"; // ES Modules import // const { MatchmakerServiceClient, SetLobbyClosedCommand } = require("@rivet-gg/matchmaker"); // CommonJS import const client = new MatchmakerServiceClient(config); const command = new SetLobbyClosedCommand(input); const response = await client.send(command);
SetLobbyClosedCommandInput for command's input shape.
input
SetLobbyClosedCommandOutput for command's response shape.
response
config for MatchmakerServiceClient's config shape.
config
If
is_closedistrue, players will be prevented from joining the lobby. Does not shutdown the lobby.Use a bare-bones client and the command you need to make an API call.
import { MatchmakerServiceClient, SetLobbyClosedCommand } from "@rivet-gg/matchmaker"; // ES Modules import // const { MatchmakerServiceClient, SetLobbyClosedCommand } = require("@rivet-gg/matchmaker"); // CommonJS import const client = new MatchmakerServiceClient(config); const command = new SetLobbyClosedCommand(input); const response = await client.send(command);SetLobbyClosedCommandInput for command's
inputshape.SetLobbyClosedCommandOutput for command's
responseshape.config for MatchmakerServiceClient's
configshape.