• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscapheguic翻訳omegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

Administrator's Toolkit VS plugin


Commit MetaInfo

Revisionfaf2253b768c680617fde3479cf437a02844a7ed (tree)
Zeit2020-05-12 09:42:13
Autormelchior <melchior@user...>
Commitermelchior

Log Message

Changed Join message (player count shown)

Ändern Zusammenfassung

Diff

--- a/AdminToolkit/Commands/RulesCommand.cs
+++ b/AdminToolkit/Commands/RulesCommand.cs
@@ -178,7 +178,7 @@ namespace AdminToolkit
178178 double.TryParse(elapsedDayStr, out elapsedDays))
179179 {
180180 elapsedDays = ServerAPI.World.Calendar.TotalDays - elapsedDays;
181- byPlayer.SendMessage(GlobalConstants.CurrentChatGroup, $"Meantime... {elapsedDays.ToString("F1")} days have passed. ", EnumChatType.OthersMessage);
181+ byPlayer.SendMessage(GlobalConstants.CurrentChatGroup, $"Meantime... {elapsedDays:F1} days have passed. {ServerAPI.World.AllOnlinePlayers.Length} Players online.", EnumChatType.OthersMessage);
182182 } else
183183 {
184184 byPlayer.SendMessage(GlobalConstants.CurrentChatGroup, $"In the year; {ServerAPI.World.Calendar.PrettyDate( )}", EnumChatType.OthersMessage);