Changeset 405 for binary-improvements2/CommandExtensions
- Timestamp:
- Feb 22, 2023, 5:48:07 PM (21 months ago)
- Location:
- binary-improvements2/CommandExtensions/src/Commands
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/CommandExtensions/src/Commands/Exception.cs
r391 r405 6 6 [UsedImplicitly] 7 7 public class ConsoleCmdException : ConsoleCmdAbstract { 8 p ublic override string[] GetCommands () {8 protected override string[] getCommands () { 9 9 return new[] { "exception" }; 10 10 } … … 19 19 } 20 20 21 p ublic override string GetDescription () {21 protected override string getDescription () { 22 22 return "Throw an exception / log messages"; 23 23 } -
binary-improvements2/CommandExtensions/src/Commands/Give.cs
r402 r405 6 6 [UsedImplicitly] 7 7 public class Give : ConsoleCmdAbstract { 8 p ublic override string GetDescription () {8 protected override string getDescription () { 9 9 return "give an item to a player (entity id or name)"; 10 10 } 11 11 12 p ublic override string GetHelp () {12 protected override string getHelp () { 13 13 return "Give an item to a player by dropping it in front of that player\n" + 14 14 "Usage:\n" + … … 21 21 } 22 22 23 p ublic override string[] GetCommands () {23 protected override string[] getCommands () { 24 24 return new[] {"give", string.Empty}; 25 25 } -
binary-improvements2/CommandExtensions/src/Commands/ListItems.cs
r402 r405 6 6 [UsedImplicitly] 7 7 public class ListItems : ConsoleCmdAbstract { 8 p ublic override string GetDescription () {8 protected override string getDescription () { 9 9 return "lists all items that contain the given substring"; 10 10 } 11 11 12 p ublic override string[] GetCommands () {12 protected override string[] getCommands () { 13 13 return new[] {"listitems", "li"}; 14 14 } 15 15 16 p ublic override string GetHelp () {16 protected override string getHelp () { 17 17 return "List all available item names\n" + 18 18 "Usage:\n" + -
binary-improvements2/CommandExtensions/src/Commands/ListKnownPlayers.cs
r404 r405 6 6 [UsedImplicitly] 7 7 public class ListKnownPlayers : ConsoleCmdAbstract { 8 p ublic override string GetDescription () {8 protected override string getDescription () { 9 9 return "lists all players that were ever online"; 10 10 } 11 11 12 p ublic override string GetHelp () {12 protected override string getHelp () { 13 13 return "Usage:\n" + 14 14 " 1. listknownplayers\n" + … … 22 22 } 23 23 24 p ublic override string[] GetCommands () {24 protected override string[] getCommands () { 25 25 return new[] {"listknownplayers", "lkp"}; 26 26 } -
binary-improvements2/CommandExtensions/src/Commands/ListLandProtection.cs
r402 r405 8 8 [UsedImplicitly] 9 9 public class ListLandProtection : ConsoleCmdAbstract { 10 p ublic override string GetDescription () {10 protected override string getDescription () { 11 11 return "lists all land protection blocks and owners"; 12 12 } 13 13 14 p ublic override string GetHelp () {14 protected override string getHelp () { 15 15 return "Usage:\n" + 16 16 " 1. listlandprotection summary\n" + … … 23 23 } 24 24 25 p ublic override string[] GetCommands () {25 protected override string[] getCommands () { 26 26 return new[] {"listlandprotection", "llp"}; 27 27 } -
binary-improvements2/CommandExtensions/src/Commands/RemoveLandProtection.cs
r402 r405 8 8 [UsedImplicitly] 9 9 public class RemoveLandProtection : ConsoleCmdAbstract { 10 p ublic override string GetDescription () {10 protected override string getDescription () { 11 11 return "removes the association of a land protection block to the owner"; 12 12 } 13 13 14 p ublic override string GetHelp () {14 protected override string getHelp () { 15 15 return "Usage:" + 16 16 " 1. removelandprotection <userid>\n" + … … 22 22 } 23 23 24 p ublic override string[] GetCommands () {24 protected override string[] getCommands () { 25 25 return new[] {"removelandprotection", "rlp"}; 26 26 } -
binary-improvements2/CommandExtensions/src/Commands/Reply.cs
r391 r405 5 5 [UsedImplicitly] 6 6 public class Reply : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "send a message to the player who last sent you a PM"; 9 9 } 10 10 11 p ublic override string GetHelp () {11 protected override string getHelp () { 12 12 return "Usage:\n" + 13 13 " reply <message>\n" + … … 15 15 } 16 16 17 p ublic override string[] GetCommands () {17 protected override string[] getCommands () { 18 18 return new[] {"reply", "re"}; 19 19 } -
binary-improvements2/CommandExtensions/src/Commands/SayToPlayer.cs
r391 r405 5 5 [UsedImplicitly] 6 6 public class SayToPlayer : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "send a message to a single player"; 9 9 } 10 10 11 p ublic override string GetHelp () {11 protected override string getHelp () { 12 12 return "Usage:\n" + 13 13 " pm <player name / steam id / entity id> <message>\n" + … … 15 15 } 16 16 17 p ublic override string[] GetCommands () {17 protected override string[] getCommands () { 18 18 return new[] {"sayplayer", "pm"}; 19 19 } -
binary-improvements2/CommandExtensions/src/Commands/ShowInventory.cs
r402 r405 6 6 [UsedImplicitly] 7 7 public class ShowInventory : ConsoleCmdAbstract { 8 p ublic override string GetDescription () {8 protected override string getDescription () { 9 9 return "list inventory of a given player"; 10 10 } 11 11 12 p ublic override string GetHelp () {12 protected override string getHelp () { 13 13 return "Usage:\n" + 14 14 " showinventory <user id / player name / entity id> [tag]\n" + … … 21 21 } 22 22 23 p ublic override string[] GetCommands () {23 protected override string[] getCommands () { 24 24 return new[] {"showinventory", "si"}; 25 25 } -
binary-improvements2/CommandExtensions/src/Commands/TestLogSpam.cs
r402 r405 7 7 [UsedImplicitly] 8 8 public class TestLogSpam : ConsoleCmdAbstract { 9 p ublic override string[] GetCommands () {9 protected override string[] getCommands () { 10 10 return new[] { "tls" }; 11 11 } … … 15 15 public override bool IsExecuteOnClient => true; 16 16 17 p ublic override string GetDescription () {17 protected override string getDescription () { 18 18 return "Spams the log with until stopped"; 19 19 } 20 20 21 p ublic override string GetHelp () {21 protected override string getHelp () { 22 22 return @" 23 23 |Usage:
Note:
See TracChangeset
for help on using the changeset viewer.