Changeset 405
- Timestamp:
- Feb 22, 2023, 5:48:07 PM (22 months ago)
- Location:
- binary-improvements2
- Files:
-
- 17 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: -
binary-improvements2/MapRendering/src/Commands/EnableRendering.cs
r402 r405 5 5 [UsedImplicitly] 6 6 public class EnableRendering : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "enable/disable live map rendering"; 9 9 } 10 10 11 p ublic override string[] GetCommands () {11 protected override string[] getCommands () { 12 12 return new[] {"enablerendering"}; 13 13 } -
binary-improvements2/MapRendering/src/Commands/RenderMap.cs
r391 r405 5 5 [UsedImplicitly] 6 6 public class RenderMap : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "render the current map to a file"; 9 9 } 10 10 11 p ublic override string[] GetCommands () {11 protected override string[] getCommands () { 12 12 return new[] {"rendermap"}; 13 13 } -
binary-improvements2/WebServer/src/Commands/CreateWebUser.cs
r404 r405 11 11 private static readonly Regex validNameTokenMatcher = new Regex (@"^\w+$"); 12 12 13 p ublic override string[] GetCommands () {14 return new[] {"createwebuser "};13 protected override string[] getCommands () { 14 return new[] {"createwebusermanual"}; 15 15 } 16 16 17 p ublic override string GetDescription () {18 return "Create a web dashboard user account ";17 protected override string getDescription () { 18 return "Create a web dashboard user account - manual for testing"; 19 19 } 20 20 21 p ublic override string GetHelp () {21 protected override string getHelp () { 22 22 return ""; // TODO 23 23 } 24 24 25 public override int DefaultPermissionLevel => 1000;26 25 public override bool IsExecuteOnClient => true; 27 26 -
binary-improvements2/WebServer/src/Commands/EnableOpenIDDebug.cs
r402 r405 5 5 [UsedImplicitly] 6 6 public class EnableOpenIDDebug : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "enable/disable OpenID debugging"; 9 9 } 10 10 11 p ublic override string[] GetCommands () {11 protected override string[] getCommands () { 12 12 return new[] {"openiddebug"}; 13 13 } -
binary-improvements2/WebServer/src/Commands/WebPermissionsCmd.cs
r404 r405 6 6 [UsedImplicitly] 7 7 public class WebPermissionsCmd : ConsoleCmdAbstract { 8 p ublic override string[] GetCommands () {8 protected override string[] getCommands () { 9 9 return new[] {"webpermission"}; 10 10 } 11 11 12 p ublic override string GetDescription () {12 protected override string getDescription () { 13 13 return "Manage web permission levels"; 14 14 } 15 15 16 p ublic override string GetHelp () {16 protected override string getHelp () { 17 17 return "Set/get permission levels required to access a given web functionality. Default\n" + 18 18 "level required for functions that are not explicitly specified is 0.\n" + -
binary-improvements2/WebServer/src/Commands/WebTokens.cs
r404 r405 9 9 private static readonly Regex validNameTokenMatcher = new Regex (@"^\w+$"); 10 10 11 p ublic override string[] GetCommands () {11 protected override string[] getCommands () { 12 12 return new[] {"webtokens"}; 13 13 } 14 14 15 p ublic override string GetDescription () {15 protected override string getDescription () { 16 16 return "Manage web tokens"; 17 17 } 18 18 19 p ublic override string GetHelp () {19 protected override string getHelp () { 20 20 return "Set/get webtoken permission levels. A level of 0 is maximum permission.\n" + 21 21 "Usage:\n" + -
binary-improvements2/WebServer/src/FileCache/InvalidateCachesCmd.cs
r402 r405 5 5 [UsedImplicitly] 6 6 public class InvalidateCachesCmd : ConsoleCmdAbstract { 7 p ublic override string[] GetCommands () {7 protected override string[] getCommands () { 8 8 return new[] {"invalidatecaches"}; 9 9 } 10 10 11 p ublic override string GetDescription () {11 protected override string getDescription () { 12 12 return "Invalidate contents of web file caches"; 13 13 } 14 14 15 p ublic override string GetHelp () {15 protected override string getHelp () { 16 16 return "TODO"; 17 17 }
Note:
See TracChangeset
for help on using the changeset viewer.