Skip to content
Prev Previous commit
Fix: More Formatting
  • Loading branch information
LordTylus committed Mar 9, 2024
commit 14dc8fb748765031e276b34ff8453d2fd7e448a8
6 changes: 3 additions & 3 deletions Essentials/Commands/EcoModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void EcoGive(string player, long amount, bool onlyOnline = false, bool ex
changedIdentities++;
}

Context.Respond($"{amount:#,##0} credits given to {changedIdentities} account(s)");
Context.Respond($"{amount:#,##0} credits given to {changedIdentities:#,##0} account(s)");
}

[Command("take", "Take a specified anount of credits from a users account. Use '*' to affect all players")]
Expand All @@ -61,7 +61,7 @@ public void EcoTake(string player, long amount, bool onlyOnline = false, bool ex
changedIdentities++;
}

Context.Respond($"{amount:#,##0} credits taken from {changedIdentities} account(s)");
Context.Respond($"{amount:#,##0} credits taken from {changedIdentities:#,##0} account(s)");
}

[Command("set", "Set a users account to a specifed balance. Use '*' to affect all players")]
Expand All @@ -88,7 +88,7 @@ public void EcoSet(string player, long amount, bool onlyOnline = false, bool exc
changedIdentities++;
}

Context.Respond($"Balance(s) set to {amount:#,##0} on {changedIdentities} accounts");
Context.Respond($"Balance(s) set to {amount:#,##0} on {changedIdentities:#,##0} accounts");
}

[Command("reset", "Reset the credits in a users account to 10,000. Use '*' to affect all players")]
Expand Down