diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs
index 19ccd9ed..6e37f61b 100755
--- a/TShockAPI/Commands.cs
+++ b/TShockAPI/Commands.cs
@@ -69,6 +69,10 @@ namespace TShockAPI
/// Gets or sets the help text of this command.
///
public string HelpText { get; set; }
+ ///
+ /// Gets or sets an extended description of this command.
+ ///
+ public string[] HelpDesc { get; set; }
///
/// Gets the name of the command.
///
@@ -118,6 +122,7 @@ namespace TShockAPI
CommandDelegate = cmd;
DoLog = true;
HelpText = "No help available.";
+ HelpDesc = null;
Names = new List(names);
Permissions = new List();
}
@@ -3608,7 +3613,15 @@ namespace TShockAPI
}
args.Player.SendSuccessMessage("/{0} help: ", command.Name);
- args.Player.SendInfoMessage(command.HelpText);
+ if (command.HelpDesc == null)
+ {
+ args.Player.SendInfoMessage(command.HelpText);
+ return;
+ }
+ foreach (string line in command.HelpDesc)
+ {
+ args.Player.SendInfoMessage(line);
+ }
}
}