[This is preliminary documentation and is subject to change.]

The Server type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
CheckConnectionsInterval
CheckIdlesInterval
Interval at which Server checks for idle players (to kick idlers).
CPUUsageLastMinute
CPUUsageTotal
ExternalIP
External IP address of this machine, as reported by checkip.dyndns.org Same as InternalIP, if dyndns check was not carried out or has failed.
GCInterval
Interval at which Server checks whether forced garbage collection is needed.
InternalIP
Internal IP address that the server's bound to (0.0.0.0 if not explicitly specified by the user).
IsMonitoringCPUUsage
IsRunning
Players
List of online players. This property is volatile and can change when players connect/disconnect, so cache a reference if you need to refer to the same snapshot of the playerlist more than once.
Port
Number of the local listening port.
StartTime
Time when the server started (UTC). Used to check uptime.
Uri
Minecraft.net connection URL. May be null (if heartbeat is disabled, or first heartbeat has not been sent yet).

See Also