mirror of
https://github.com/sebastian-heinz/Arrowgene.DragonsDogmaOnline
synced 2026-08-03 11:12:41 -04:00
* Adds packet structures, handlers, and server support for Player Mail, Blacklists, Group Chats and Message Sets. Implements rudimentary GM features via chat command. Adds support for IP Bans and muted players. Simplifies how login stamps are handled. Cleans up and modernizes some old packet handlers. * Rebase. Fix CommandRoute and AccountRoute. Cleanup and response to PR comments. Rearrange some of the schedule_next stuff in the DB creation schema for clarity.
13 lines
591 B
C#
13 lines
591 B
C#
public class ChatCommand : IChatCommand
|
|
{
|
|
public override AccountStateType AccountState => AccountStateType.GameMaster;
|
|
public override string CommandName => "version";
|
|
public override string HelpText => "usage: `/version` - Provides information about the running server version";
|
|
|
|
public override void Execute(DdonGameServer server, string[] command, GameClient client, ChatMessage message, List<ChatResponse> responses)
|
|
{
|
|
responses.Add(ChatResponse.ServerChat(client, Util.GetVersion("GameServer")));
|
|
}
|
|
}
|
|
|
|
return new ChatCommand();
|