Added command aliases:

- /i
- /who, /online
Closes #63
Closes #62

Kill isn't possible.
Closes #66
This commit is contained in:
Shank 2011-06-11 00:43:14 -06:00
parent f3d8a0cc80
commit c690a2d2fc
3 changed files with 6 additions and 3 deletions

View file

@ -205,6 +205,9 @@ namespace TShockAPI
commands.Add(new Command("me", "", ThirdPerson)); commands.Add(new Command("me", "", ThirdPerson));
commands.Add(new Command("p", "", PartyChat)); commands.Add(new Command("p", "", PartyChat));
commands.Add(new Command("butcher", "cheat", Butcher)); commands.Add(new Command("butcher", "cheat", Butcher));
commands.Add(new Command("i", "cheat", Item));
commands.Add(new Command("online", "", Playing));
commands.Add(new Command("who", "", Playing));
if (ConfigurationManager.distributationAgent != "terraria-online") if (ConfigurationManager.distributationAgent != "terraria-online")
{ {
commands.Add(new Command("kill", "kill", Kill)); commands.Add(new Command("kill", "kill", Kill));

View file

@ -19,9 +19,9 @@ namespace TShockAPI
public static string saveDir = "./tshock/"; public static string saveDir = "./tshock/";
public static Version VersionNum = new Version(2, 0, 0, 8); public static Version VersionNum = new Version(2, 1, 0, 0);
public static string VersionCodename = "RSaC (Red Sucks at Coding)"; public static string VersionCodename = "Versioning fails";
private static bool[] BlacklistTiles; private static bool[] BlacklistTiles;

View file

@ -60,7 +60,7 @@
</EmbeddedResource> </EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="Resources\TShockAPI.dll" /> <Folder Include="Resources\" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.