Changeset 420 for binary-improvements/AllocsCommands
- Timestamp:
- Mar 28, 2023, 5:11:02 PM (21 months ago)
- Location:
- binary-improvements/AllocsCommands
- Files:
-
- 6 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/AllocsCommands/AllocsCommands.csproj
r373 r420 62 62 <Compile Include="API.cs" /> 63 63 <Compile Include="AssemblyInfo.cs" /> 64 <Compile Include="Commands\Give.cs" />65 64 <Compile Include="Commands\ListKnownPlayers.cs" /> 66 65 <Compile Include="Commands\ListLandProtection.cs" /> 67 66 <Compile Include="Commands\RemoveLandProtection.cs" /> 68 <Compile Include="Commands\Reply.cs" />69 <Compile Include="Commands\SayToPlayer.cs" />70 67 <Compile Include="Commands\ShowInventory.cs" /> 71 <Compile Include="PrivateMessageConnections.cs" />72 <Compile Include="Chat.cs" />73 <Compile Include="Commands\ListItems.cs" />74 68 </ItemGroup> 75 69 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> -
binary-improvements/AllocsCommands/Commands/ListKnownPlayers.cs
r369 r420 4 4 namespace AllocsFixes.CustomCommands { 5 5 public class ListKnownPlayers : ConsoleCmdAbstract { 6 p ublic override string GetDescription () {6 protected override string getDescription () { 7 7 return "lists all players that were ever online"; 8 8 } 9 9 10 p ublic override string GetHelp () {10 protected override string getHelp () { 11 11 return "Usage:\n" + 12 12 " 1. listknownplayers\n" + … … 20 20 } 21 21 22 p ublic override string[] GetCommands () {22 protected override string[] getCommands () { 23 23 return new[] {"listknownplayers", "lkp"}; 24 24 } … … 61 61 if ( 62 62 (!onlineOnly || p.IsOnline) 63 && (!notBannedOnly || !admTools. IsBanned (kvp.Key, out _, out _))63 && (!notBannedOnly || !admTools.Blacklist.IsBanned (kvp.Key, out _, out _)) 64 64 && (nameFilter.Length == 0 || p.Name.ContainsCaseInsensitive (nameFilter)) 65 65 ) { -
binary-improvements/AllocsCommands/Commands/ListLandProtection.cs
r371 r420 5 5 namespace AllocsFixes.CustomCommands { 6 6 public class ListLandProtection : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "lists all land protection blocks and owners"; 9 9 } 10 10 11 p ublic override string GetHelp () {11 protected override string getHelp () { 12 12 return "Usage:\n" + 13 13 " 1. listlandprotection summary\n" + … … 20 20 } 21 21 22 p ublic override string[] GetCommands () {22 protected override string[] getCommands () { 23 23 return new[] {"listlandprotection", "llp"}; 24 24 } -
binary-improvements/AllocsCommands/Commands/RemoveLandProtection.cs
r369 r420 5 5 namespace AllocsFixes.CustomCommands { 6 6 public class RemoveLandProtection : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "removes the association of a land protection block to the owner"; 9 9 } 10 10 11 p ublic override string GetHelp () {11 protected override string getHelp () { 12 12 return "Usage:" + 13 13 " 1. removelandprotection <userid>\n" + … … 19 19 } 20 20 21 p ublic override string[] GetCommands () {21 protected override string[] getCommands () { 22 22 return new[] {"removelandprotection", "rlp"}; 23 23 } -
binary-improvements/AllocsCommands/Commands/ShowInventory.cs
r369 r420 5 5 namespace AllocsFixes.CustomCommands { 6 6 public class ShowInventory : ConsoleCmdAbstract { 7 p ublic override string GetDescription () {7 protected override string getDescription () { 8 8 return "list inventory of a given player"; 9 9 } 10 10 11 p ublic override string GetHelp () {11 protected override string getHelp () { 12 12 return "Usage:\n" + 13 13 " showinventory <user id / player name / entity id> [tag]\n" + … … 20 20 } 21 21 22 p ublic override string[] GetCommands () {22 protected override string[] getCommands () { 23 23 return new[] {"showinventory", "si"}; 24 24 }
Note:
See TracChangeset
for help on using the changeset viewer.