appchat04rel64.dll
The appchat04rel64.dll
plugin extends the Squirrel scripting environment by adding a function and a callback for web communication. It includes WebSocket server functionality and integrates with Squirrel scripts to handle web messages.
SendWebMessage(string message)
Description: Sends a text message to the WebSocket server.
Parameters:
message
(string): The text message to be sent.Returns: Always returns 1
, indicating successful execution.
local result = SendWebMessage("Hello, WebSocket!");
rcon_password password
wsport 8080
wsannounce 1
appchat04rel64.dll
in the appropriate plugin directory for your Squirrel environment.SendWebMessage
function always returns 1
, regardless of the actual sending result. Error handling should be done on the WebSocket server side if needed.This document provides an overview of the available commands for administrators to control web clients in the game. These commands allow admins to manage and interact with connected clients by their client IDs.
/kickc (client-id)
Description: Kicks the specified client from the server.
Usage: /kickc (client-id)
Parameters:
client-id
: The unique identifier of the client to be kicked./kickc 23
- This command kicks the client with ID 23 from the server.
/banc (client-id)
Description: Bans the specified client, preventing them from rejoining the server.
Usage: /banc (client-id)
Parameters:
client-id
: The unique identifier of the client to be banned./banc 45
- This command bans the client with ID 45 from the server.
/fndc (client-id)
Description: Finds and displays the IP address and port number of the specified client.
Usage: /fndc (client-id)
Parameters:
client-id
: The unique identifier of the client whose IP and port details are needed./fndc 12
- This command retrieves and displays the IP and port of the client with ID 12.
client-id
must be valid and currently connected for the command to succeed.rcon04rel64.dll
The rcon04rel64.dll
plugin lets u login as server admin by adding it to server.cfg