RemoteServer class ​
No description available
Functions ​
mnscript
bool RemoteServer.CanExecuteMNScript()
- Gets whether this server can execute MNScript.
mnscript
bool RemoteServer.DirectoryExists(string)
- Returns whether the remote directory exists.
mnscript
bool RemoteServer.FileExists(string, string)
- Returns whether the remote file exists in the directory.
- Returns the size of the remote file in bytes.
- Returns an array of files in the given directory.
mnscript
string[] RemoteServer.FindFolders(string)
- Returns an array of folders in the given remote directory.
mnscript
number RemoteServer.GetClockSpeed()
- Gets the clock speed of this server.
mnscript
string[] RemoteServer.GetConnectedIPs()
- Gets the IPs connected via SSH to this server.
mnscript
number RemoteServer.GetDiskCapacity()
- Returns the capacity of the server's disk in bytes.
- Gets the primary IP for this server.
- Gets the list of IPs on this server.
- Gets the MAC address for this server.
- Gets the RAM of this server.
- Gets the name assigned to this server in the Maxnet database.
mnscript
number RemoteServer.GetUsedCapacity()
- Returns the used capacity of the server's disk in bytes.
mnscript
bool RemoteServer.IsSteamIDAuthorized(string)
- Gets whether the SteamID is authorized to use the server.