#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
19
Scripts/Commands/ShardTime.cs
Normal file
19
Scripts/Commands/ShardTime.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Commands
|
||||
{
|
||||
public class ShardTime
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register( "Time", AccessLevel.Player, new CommandEventHandler( Time_OnCommand ) );
|
||||
}
|
||||
|
||||
[Usage( "Time" )]
|
||||
[Description( "Returns the server's local time." )]
|
||||
private static void Time_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendMessage( DateTime.UtcNow.ToString() );
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue