This commit is contained in:
1 parent
21a61068fb
commit
60278b9e71
38 files changed
+3452
No files matched your search
@@ -101,6 +101,15 @@ export class RconClient {
|
||||
forwardUser(userId: number, roomId: number) {
|
||||
return this.send("forwarduser", { user_id: userId, room_id: roomId });
|
||||
}
|
||||
kickAll(roomId: number) {
|
||||
return this.send("kickall", { room_id: roomId });
|
||||
}
|
||||
hotelAlert(message: string) {
|
||||
return this.send("hotelalert", { message });
|
||||
}
|
||||
staffAlert(message: string) {
|
||||
return this.send("staffalert", { message });
|
||||
}
|
||||
executeCommand(userId: number, command: string) {
|
||||
return this.send("executecommand", { user_id: userId, command });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user