Improved #139
This commit is contained in:
parent
4349b829be
commit
37932bd09b
@ -3604,8 +3604,13 @@ public class Player : Actor, IMessageConsumer, IUpdateable
|
||||
|
||||
System.Threading.Tasks.Task.Delay(3).Wait();
|
||||
RevealActorsToPlayer();
|
||||
|
||||
if (!_motdSent && LoginServer.LoginServerConfig.Instance.MotdEnabled)
|
||||
{
|
||||
if (GameServerConfig.Instance.MotdWhenWorldLoads)
|
||||
_motdSent = true;
|
||||
InGameClient.BnetClient.SendMotd();
|
||||
}
|
||||
//
|
||||
}
|
||||
|
||||
|
||||
@ -66,6 +66,15 @@ namespace DiIiS_NA.GameServer
|
||||
set => Set(nameof(AfkDisconnect), value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Always send motd when world loads for player.
|
||||
/// </summary>
|
||||
public bool MotdWhenWorldLoads
|
||||
{
|
||||
get => GetBoolean(nameof(MotdWhenWorldLoads), true);
|
||||
set => Set(nameof(MotdWhenWorldLoads), value);
|
||||
}
|
||||
|
||||
#region Game Mods
|
||||
|
||||
/// <summary>
|
||||
|
||||
Loading…
Reference in New Issue
user.block.title