Ignore:
Timestamp:
Mar 28, 2023, 5:11:02 PM (20 months ago)
Author:
alloc
Message:

A21 preparations.
NOT COMPATIBLE WITH A20 ANYMORE!

Location:
binary-improvements/AllocsCommands
Files:
6 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/AllocsCommands/AllocsCommands.csproj

    r373 r420  
    6262    <Compile Include="API.cs" />
    6363    <Compile Include="AssemblyInfo.cs" />
    64     <Compile Include="Commands\Give.cs" />
    6564    <Compile Include="Commands\ListKnownPlayers.cs" />
    6665    <Compile Include="Commands\ListLandProtection.cs" />
    6766    <Compile Include="Commands\RemoveLandProtection.cs" />
    68     <Compile Include="Commands\Reply.cs" />
    69     <Compile Include="Commands\SayToPlayer.cs" />
    7067    <Compile Include="Commands\ShowInventory.cs" />
    71     <Compile Include="PrivateMessageConnections.cs" />
    72     <Compile Include="Chat.cs" />
    73     <Compile Include="Commands\ListItems.cs" />
    7468  </ItemGroup>
    7569  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  • binary-improvements/AllocsCommands/Commands/ListKnownPlayers.cs

    r369 r420  
    44namespace AllocsFixes.CustomCommands {
    55        public class ListKnownPlayers : ConsoleCmdAbstract {
    6                 public override string GetDescription () {
     6                protected override string getDescription () {
    77                        return "lists all players that were ever online";
    88                }
    99
    10                 public override string GetHelp () {
     10                protected override string getHelp () {
    1111                        return "Usage:\n" +
    1212                               "  1. listknownplayers\n" +
     
    2020                }
    2121
    22                 public override string[] GetCommands () {
     22                protected override string[] getCommands () {
    2323                        return new[] {"listknownplayers", "lkp"};
    2424                }
     
    6161                                        if (
    6262                                                (!onlineOnly || p.IsOnline)
    63                                                 && (!notBannedOnly || !admTools.IsBanned (kvp.Key, out _, out _))
     63                                                && (!notBannedOnly || !admTools.Blacklist.IsBanned (kvp.Key, out _, out _))
    6464                                                && (nameFilter.Length == 0 || p.Name.ContainsCaseInsensitive (nameFilter))
    6565                                        ) {
  • binary-improvements/AllocsCommands/Commands/ListLandProtection.cs

    r371 r420  
    55namespace AllocsFixes.CustomCommands {
    66        public class ListLandProtection : ConsoleCmdAbstract {
    7                 public override string GetDescription () {
     7                protected override string getDescription () {
    88                        return "lists all land protection blocks and owners";
    99                }
    1010
    11                 public override string GetHelp () {
     11                protected override string getHelp () {
    1212                        return "Usage:\n" +
    1313                               "  1. listlandprotection summary\n" +
     
    2020                }
    2121
    22                 public override string[] GetCommands () {
     22                protected override string[] getCommands () {
    2323                        return new[] {"listlandprotection", "llp"};
    2424                }
  • binary-improvements/AllocsCommands/Commands/RemoveLandProtection.cs

    r369 r420  
    55namespace AllocsFixes.CustomCommands {
    66        public class RemoveLandProtection : ConsoleCmdAbstract {
    7                 public override string GetDescription () {
     7                protected override string getDescription () {
    88                        return "removes the association of a land protection block to the owner";
    99                }
    1010
    11                 public override string GetHelp () {
     11                protected override string getHelp () {
    1212                        return "Usage:" +
    1313                               "  1. removelandprotection <userid>\n" +
     
    1919                }
    2020
    21                 public override string[] GetCommands () {
     21                protected override string[] getCommands () {
    2222                        return new[] {"removelandprotection", "rlp"};
    2323                }
  • binary-improvements/AllocsCommands/Commands/ShowInventory.cs

    r369 r420  
    55namespace AllocsFixes.CustomCommands {
    66        public class ShowInventory : ConsoleCmdAbstract {
    7                 public override string GetDescription () {
     7                protected override string getDescription () {
    88                        return "list inventory of a given player";
    99                }
    1010
    11                 public override string GetHelp () {
     11                protected override string getHelp () {
    1212                        return "Usage:\n" +
    1313                               "   showinventory <user id / player name / entity id> [tag]\n" +
     
    2020                }
    2121
    22                 public override string[] GetCommands () {
     22                protected override string[] getCommands () {
    2323                        return new[] {"showinventory", "si"};
    2424                }
Note: See TracChangeset for help on using the changeset viewer.