Class ServerInfo
Stores extended information about a world. Stored as a json string inside the strange world cloud data.
Inheritance
System.Object
ServerInfo
Assembly: Eco.Shared.dll
Syntax
public class ServerInfo : Object
Constructors
ServerInfo()
Declaration
Properties
Access
Access mode of server: "public", "hidden", or "private".
Declaration
public string Access { get; set; }
Property Value
Type |
Description |
System.String |
|
ActiveAndOnlinePlayers
Declaration
public int ActiveAndOnlinePlayers { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
AdminOnline
Declaration
public bool AdminOnline { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Animals
Declaration
public int Animals { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Category
Declaration
public ServerCategory Category { get; set; }
Property Value
CollaborationLevel
Declaration
public CollaborationLevel CollaborationLevel { get; set; }
Property Value
DaysRunning
Declaration
public int DaysRunning { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
DaysUntilMeteor
Declaration
public int DaysUntilMeteor { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Description
Declaration
public string Description { get; set; }
Property Value
Type |
Description |
System.String |
|
DetailedDescription
Declaration
public string DetailedDescription { get; set; }
Property Value
Type |
Description |
System.String |
|
DiscordAddress
Declaration
public string DiscordAddress { get; set; }
Property Value
Type |
Description |
System.String |
|
DistributionStationItems
Declaration
public string DistributionStationItems { get; set; }
Property Value
Type |
Description |
System.String |
|
EconomyDesc
Declaration
public string EconomyDesc { get; set; }
Property Value
Type |
Description |
System.String |
|
ExhaustionActive
Declaration
public bool ExhaustionActive { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ExhaustionAfterHours
Declaration
public float ExhaustionAfterHours { get; set; }
Property Value
Type |
Description |
System.Single |
|
ExhaustionAllowPlaytimeSaving
Declaration
public bool ExhaustionAllowPlaytimeSaving { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ExhaustionBonusHoursOnExhaustionEnabled
Declaration
public float ExhaustionBonusHoursOnExhaustionEnabled { get; set; }
Property Value
Type |
Description |
System.Single |
|
ExhaustionBonusRetroactiveHoursAfterStart
Declaration
public bool ExhaustionBonusRetroactiveHoursAfterStart { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ExhaustionHoursGainPerWeekday
Declaration
public Dictionary<int, float> ExhaustionHoursGainPerWeekday { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Int32, System.Single> |
|
ExhaustionMaxSavedHours
Declaration
public float ExhaustionMaxSavedHours { get; set; }
Property Value
Type |
Description |
System.Single |
|
External
Declaration
public bool External { get; set; }
Property Value
Type |
Description |
System.Boolean |
Set by master server if this server is available directly by external IP address
|
GameSpeed
Declaration
public GameSpeed GameSpeed { get; set; }
Property Value
HasMeteor
Declaration
public bool HasMeteor { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
HasPassword
Declaration
public bool HasPassword { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsLAN
Declaration
public bool IsLAN { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsPaused
Declaration
public bool IsPaused { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Language
Declaration
public string Language { get; set; }
Property Value
Type |
Description |
System.String |
|
Laws
Declaration
public int Laws { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
OnlinePlayers
Declaration
public int OnlinePlayers { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
OnlinePlayersNames
Declaration
public string[] OnlinePlayersNames { get; set; }
Property Value
Type |
Description |
System.String[] |
|
PeakActivePlayers
Declaration
public int PeakActivePlayers { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Plants
Declaration
public int Plants { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Playtimes
Declaration
public string Playtimes { get; set; }
Property Value
Type |
Description |
System.String |
|
PremiumItemsBlocked
Declaration
public bool PremiumItemsBlocked { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
PremiumItemUseRestrictions
Declaration
public bool PremiumItemUseRestrictions { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
RelayAddress
Declaration
public string RelayAddress { get; set; }
Property Value
Type |
Description |
System.String |
Optional relay address, may be set by server to inform clients how to connect to this server if connect in usual way (direct/NAT Punch Through) doesn't work.
|
ServerAchievementsDict
Declaration
public Dictionary<string, string> ServerAchievementsDict { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.String> |
|
ShelfLifeMultiplier
Declaration
public float ShelfLifeMultiplier { get; set; }
Property Value
Type |
Description |
System.Single |
|
SimulationLevel
Declaration
public SimulationLevel SimulationLevel { get; set; }
Property Value
SkillSpecialization
Declaration
public string SkillSpecialization { get; set; }
Property Value
Type |
Description |
System.String |
|
TotalCulture
Declaration
public float TotalCulture { get; set; }
Property Value
Type |
Description |
System.Single |
|
TotalPlayers
Declaration
public int TotalPlayers { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Version
Declaration
public string Version { get; set; }
Property Value
Type |
Description |
System.String |
|
WebPort
Declaration
public int WebPort { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
WorldSize
Declaration
public string WorldSize { get; set; }
Property Value
Type |
Description |
System.String |
|
Extension Methods