diff --git a/TShockAPI/StatTracker.cs b/TShockAPI/StatTracker.cs
index 1e4124b6..b59d5cbc 100644
--- a/TShockAPI/StatTracker.cs
+++ b/TShockAPI/StatTracker.cs
@@ -177,6 +177,12 @@ namespace TShockAPI
}
return plugins;
}
+
+ ///
+ /// Returns the amount of free RAM, in megabytes.
+ ///
+ /// Whether or not this program is being executed in a Mono runtime
+ /// Free RAM memory amount, in megabytes
public long GetFreeSystemRam(bool mono)
{
if (mono)
@@ -209,6 +215,11 @@ namespace TShockAPI
return pc.RawValue;
}
}
+ ///
+ /// Returns the total amount of installed RAM, in gigabytes.
+ ///
+ /// Whether or not this program is being executed in a Mono runtime
+ /// Total RAM memory amount, in gigabytes
public long GetTotalSystemRam(bool isMono)
{
if (totalMem != 0)