Skip to content

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.
mnscript
number RemoteServer.FileSize(string, string) 
  • Returns the size of the remote file in bytes.
mnscript
string[] RemoteServer.FindFiles(string) 
  • 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.
mnscript
string RemoteServer.GetIP() 
  • Gets the primary IP for this server.
mnscript
string[] RemoteServer.GetIPs() 
  • Gets the list of IPs on this server.
mnscript
string RemoteServer.GetMac() 
  • Gets the MAC address for this server.
mnscript
number RemoteServer.GetMemory() 
  • Gets the RAM of this server.
mnscript
string RemoteServer.GetName() 
  • 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.