Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command missing member #2600

Merged
merged 2 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Exiled.CreditTags/Commands/ShowCreditTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public class ShowCreditTag : ICommand
/// <inheritdoc/>
public string Description { get; } = "Shows your EXILED Credits tag, if available.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomItems/Commands/Give.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ private Give()
/// <inheritdoc/>
public string Description { get; } = "Gives a custom item.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomItems/Commands/Info.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ private Info()
/// <inheritdoc/>
public string Description { get; } = "Gets more information about the specified custom item.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomItems/Commands/List/Registered.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ private Registered()
/// <inheritdoc/>
public string[] Aliases { get; } = { "r", "reg" };

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public string Description { get; } = "Gets a list of registered custom items.";

Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomItems/Commands/List/Tracked.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ private Tracked()
/// <inheritdoc/>
public string Description { get; } = "Gets a list of custom items actually inside of players' inventories.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomItems/Commands/Spawn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ private Spawn()
/// <inheritdoc/>
public string Description { get; } = "Spawn an item at the specified Spawn Location, coordinates, or at the designated player's feet.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomRoles/Commands/Give.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ private Give()
/// <inheritdoc/>
public string Description { get; } = "Gives the specified custom role to the indicated player(s).";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomRoles/Commands/Info.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ private Info()
/// <inheritdoc/>
public string Description { get; } = "Gets more information about the specified custom role.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomRoles/Commands/List/Abilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ internal sealed class Abilities : ICommand
/// <inheritdoc />
public string Description => "Lists all abilities on the server.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomRoles/Commands/List/Registered.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ private Registered()
/// <inheritdoc/>
public string Description { get; } = "Gets a list of registered custom roles.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.CustomRoles/Commands/UseAbility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public class UseAbility : ICommand
/// <inheritdoc/>
public string Description { get; } = "Use your custom roles special ability, if available.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/Config/Merge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public class Merge : ICommand
/// <inheritdoc/>
public string Description { get; } = "Merges your configs into the default config distribution.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/Config/Split.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public class Split : ICommand
/// <inheritdoc/>
public string Description { get; } = "Splits your configs into the separated config distribution.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/PluginManager/Disable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public sealed class Disable : ICommand
/// <inheritdoc/>
public string Description { get; } = "Disable a plugin.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/PluginManager/Enable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public sealed class Enable : ICommand
/// <inheritdoc/>
public string Description { get; } = "Enable a plugin";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/PluginManager/Patches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ public sealed class Patches : ICommand
/// <inheritdoc/>
public string Description { get; } = "Returns information about all patches (whether they are patched or not)";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/PluginManager/Show.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public sealed class Show : ICommand
/// <inheritdoc/>
public string Description { get; } = "Get all plugins, names, authors and versions";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/Reload/All.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public class All : ICommand
/// <inheritdoc/>
public string Description { get; } = "Reload all configs and plugins.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/Reload/Configs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public class Configs : ICommand
/// <inheritdoc/>
public string Description { get; } = "Reload plugin configs.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/Reload/GamePlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public class GamePlay : ICommand
/// <inheritdoc/>
public string Description { get; } = "Reloads gameplay configs.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/Reload/Permissions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public class Permissions : ICommand
/// <inheritdoc/>
public string Description { get; } = "Reload permissions.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/Reload/Plugins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public class Plugins : ICommand
/// <inheritdoc/>
public string Description { get; } = "Reloads all plugins.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/Reload/RemoteAdmin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public class RemoteAdmin : ICommand
/// <inheritdoc/>
public string Description { get; } = "Reloads remote admin configs.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Events/Commands/Reload/Translations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public class Translations : ICommand
/// <inheritdoc/>
public string Description { get; } = "Reload plugin translations.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Example/Commands/ParentCommandExample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ public class ParentTest : ICommand
/// <inheritdoc />
public string Description { get; } = "YOUR DESC";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Example/Commands/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public class Test : ICommand
/// <inheritdoc/>
public string Description { get; } = "A simple test command.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Permissions/Commands/Permissions/Add.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public class Add : ICommand
/// <inheritdoc/>
public string Description { get; } = "Adds a permission to a group";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Permissions/Commands/Permissions/Group/Add.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public class Add : ICommand
/// <inheritdoc/>
public string Description { get; } = "Adds a group to a permission.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Permissions/Commands/Permissions/Group/Remove.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public class Remove : ICommand
/// <inheritdoc/>
public string Description { get; } = "Removes a group from permission.";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Permissions/Commands/Permissions/Reload.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public class Reload : ICommand
/// <inheritdoc/>
public string Description { get; } = "Reloads all permissions";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
3 changes: 3 additions & 0 deletions Exiled.Permissions/Commands/Permissions/Remove.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public class Remove : ICommand
/// <inheritdoc/>
public string Description { get; } = "Adds a permission to a group";

/// <inheritdoc />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
Loading