Constructor
new Console(server)
- Source:
Properties:
Name | Type | Description |
---|---|---|
Server |
object | The Server object this belongs to. |
Parameters:
Name | Type | Description |
---|---|---|
server |
object | The server this belongs to. |
Methods
command(command)
- Source:
Runs a command as if it were executed on the server console (or RCON). SourceMod API Reference
Parameters:
Name | Type | Description |
---|---|---|
command |
string | The command to be ran. |
print(message)
- Source:
Prints a message to the server's console. SourceMod API Reference
Parameters:
Name | Type | Description |
---|---|---|
message |
string | The message to be printed. |