From 6608d5ec6d86c1a87acca1c0fe111203193bd94b Mon Sep 17 00:00:00 2001 From: Bolton <48883340+BoltonDev@users.noreply.github.com> Date: Sun, 2 Jun 2024 15:43:19 +0200 Subject: [PATCH] fix: missing member (#2593) --- Exiled.CreditTags/Commands/ShowCreditTag.cs | 3 +++ Exiled.Events/Commands/Config/Merge.cs | 3 +++ Exiled.Events/Commands/Config/Split.cs | 3 +++ Exiled.Events/Commands/PluginManager/Disable.cs | 3 +++ Exiled.Events/Commands/PluginManager/Enable.cs | 3 +++ Exiled.Events/Commands/PluginManager/Patches.cs | 3 +++ Exiled.Events/Commands/PluginManager/Show.cs | 3 +++ Exiled.Events/Commands/Reload/All.cs | 3 +++ Exiled.Events/Commands/Reload/Configs.cs | 3 +++ Exiled.Events/Commands/Reload/GamePlay.cs | 3 +++ Exiled.Events/Commands/Reload/Permissions.cs | 3 +++ Exiled.Events/Commands/Reload/Plugins.cs | 3 +++ Exiled.Events/Commands/Reload/RemoteAdmin.cs | 3 +++ Exiled.Events/Commands/Reload/Translations.cs | 3 +++ Exiled.Example/Commands/ParentCommandExample.cs | 3 +++ Exiled.Example/Commands/Test.cs | 3 +++ Exiled.Permissions/Commands/Permissions/Add.cs | 3 +++ Exiled.Permissions/Commands/Permissions/Group/Add.cs | 3 +++ Exiled.Permissions/Commands/Permissions/Group/Remove.cs | 3 +++ Exiled.Permissions/Commands/Permissions/Reload.cs | 3 +++ Exiled.Permissions/Commands/Permissions/Remove.cs | 3 +++ 21 files changed, 63 insertions(+) diff --git a/Exiled.CreditTags/Commands/ShowCreditTag.cs b/Exiled.CreditTags/Commands/ShowCreditTag.cs index 3c73b73ab3..d683393f81 100644 --- a/Exiled.CreditTags/Commands/ShowCreditTag.cs +++ b/Exiled.CreditTags/Commands/ShowCreditTag.cs @@ -28,6 +28,9 @@ public class ShowCreditTag : ICommand /// public string Description { get; } = "Shows your EXILED Credits tag, if available."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/Config/Merge.cs b/Exiled.Events/Commands/Config/Merge.cs index dc90cad8ec..131d57e3c8 100644 --- a/Exiled.Events/Commands/Config/Merge.cs +++ b/Exiled.Events/Commands/Config/Merge.cs @@ -36,6 +36,9 @@ public class Merge : ICommand /// public string Description { get; } = "Merges your configs into the default config distribution."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/Config/Split.cs b/Exiled.Events/Commands/Config/Split.cs index ab2f1a577c..5217db97d6 100644 --- a/Exiled.Events/Commands/Config/Split.cs +++ b/Exiled.Events/Commands/Config/Split.cs @@ -36,6 +36,9 @@ public class Split : ICommand /// public string Description { get; } = "Splits your configs into the separated config distribution."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/PluginManager/Disable.cs b/Exiled.Events/Commands/PluginManager/Disable.cs index 998a81cdfb..2e952411cb 100644 --- a/Exiled.Events/Commands/PluginManager/Disable.cs +++ b/Exiled.Events/Commands/PluginManager/Disable.cs @@ -33,6 +33,9 @@ public sealed class Disable : ICommand /// public string Description { get; } = "Disable a plugin."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/PluginManager/Enable.cs b/Exiled.Events/Commands/PluginManager/Enable.cs index 5c0201b647..acca2aaa02 100644 --- a/Exiled.Events/Commands/PluginManager/Enable.cs +++ b/Exiled.Events/Commands/PluginManager/Enable.cs @@ -37,6 +37,9 @@ public sealed class Enable : ICommand /// public string Description { get; } = "Enable a plugin"; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/PluginManager/Patches.cs b/Exiled.Events/Commands/PluginManager/Patches.cs index 9543e73aab..54e9300556 100644 --- a/Exiled.Events/Commands/PluginManager/Patches.cs +++ b/Exiled.Events/Commands/PluginManager/Patches.cs @@ -39,6 +39,9 @@ public sealed class Patches : ICommand /// public string Description { get; } = "Returns information about all patches (whether they are patched or not)"; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/PluginManager/Show.cs b/Exiled.Events/Commands/PluginManager/Show.cs index b703d44fcd..52055228ba 100644 --- a/Exiled.Events/Commands/PluginManager/Show.cs +++ b/Exiled.Events/Commands/PluginManager/Show.cs @@ -40,6 +40,9 @@ public sealed class Show : ICommand /// public string Description { get; } = "Get all plugins, names, authors and versions"; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/Reload/All.cs b/Exiled.Events/Commands/Reload/All.cs index 124114e7e5..766766edc7 100644 --- a/Exiled.Events/Commands/Reload/All.cs +++ b/Exiled.Events/Commands/Reload/All.cs @@ -30,6 +30,9 @@ public class All : ICommand /// public string Description { get; } = "Reload all configs and plugins."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/Reload/Configs.cs b/Exiled.Events/Commands/Reload/Configs.cs index 81ab11e792..0548620eb2 100644 --- a/Exiled.Events/Commands/Reload/Configs.cs +++ b/Exiled.Events/Commands/Reload/Configs.cs @@ -36,6 +36,9 @@ public class Configs : ICommand /// public string Description { get; } = "Reload plugin configs."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/Reload/GamePlay.cs b/Exiled.Events/Commands/Reload/GamePlay.cs index babd4c5bd2..d8259a319b 100644 --- a/Exiled.Events/Commands/Reload/GamePlay.cs +++ b/Exiled.Events/Commands/Reload/GamePlay.cs @@ -34,6 +34,9 @@ public class GamePlay : ICommand /// public string Description { get; } = "Reloads gameplay configs."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/Reload/Permissions.cs b/Exiled.Events/Commands/Reload/Permissions.cs index 1f3943a82e..86570f8d95 100644 --- a/Exiled.Events/Commands/Reload/Permissions.cs +++ b/Exiled.Events/Commands/Reload/Permissions.cs @@ -33,6 +33,9 @@ public class Permissions : ICommand /// public string Description { get; } = "Reload permissions."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/Reload/Plugins.cs b/Exiled.Events/Commands/Reload/Plugins.cs index 1a1c144722..b04e053f29 100644 --- a/Exiled.Events/Commands/Reload/Plugins.cs +++ b/Exiled.Events/Commands/Reload/Plugins.cs @@ -35,6 +35,9 @@ public class Plugins : ICommand /// public string Description { get; } = "Reloads all plugins."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/Reload/RemoteAdmin.cs b/Exiled.Events/Commands/Reload/RemoteAdmin.cs index 4777a7e4b0..e0d4d023a3 100644 --- a/Exiled.Events/Commands/Reload/RemoteAdmin.cs +++ b/Exiled.Events/Commands/Reload/RemoteAdmin.cs @@ -34,6 +34,9 @@ public class RemoteAdmin : ICommand /// public string Description { get; } = "Reloads remote admin configs."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Events/Commands/Reload/Translations.cs b/Exiled.Events/Commands/Reload/Translations.cs index 68d6f66986..1d0e1c8fc5 100644 --- a/Exiled.Events/Commands/Reload/Translations.cs +++ b/Exiled.Events/Commands/Reload/Translations.cs @@ -36,6 +36,9 @@ public class Translations : ICommand /// public string Description { get; } = "Reload plugin translations."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Example/Commands/ParentCommandExample.cs b/Exiled.Example/Commands/ParentCommandExample.cs index cbfc0d5b49..983ea4f5a7 100644 --- a/Exiled.Example/Commands/ParentCommandExample.cs +++ b/Exiled.Example/Commands/ParentCommandExample.cs @@ -76,6 +76,9 @@ public class ParentTest : ICommand /// public string Description { get; } = "YOUR DESC"; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Example/Commands/Test.cs b/Exiled.Example/Commands/Test.cs index 4bc2780538..f4cf7eeb45 100644 --- a/Exiled.Example/Commands/Test.cs +++ b/Exiled.Example/Commands/Test.cs @@ -29,6 +29,9 @@ public class Test : ICommand /// public string Description { get; } = "A simple test command."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Permissions/Commands/Permissions/Add.cs b/Exiled.Permissions/Commands/Permissions/Add.cs index 945c1148a5..3a8b0848b1 100644 --- a/Exiled.Permissions/Commands/Permissions/Add.cs +++ b/Exiled.Permissions/Commands/Permissions/Add.cs @@ -27,6 +27,9 @@ public class Add : ICommand /// public string Description { get; } = "Adds a permission to a group"; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Permissions/Commands/Permissions/Group/Add.cs b/Exiled.Permissions/Commands/Permissions/Group/Add.cs index 094a1af545..bbb1f13576 100644 --- a/Exiled.Permissions/Commands/Permissions/Group/Add.cs +++ b/Exiled.Permissions/Commands/Permissions/Group/Add.cs @@ -27,6 +27,9 @@ public class Add : ICommand /// public string Description { get; } = "Adds a group to a permission."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Permissions/Commands/Permissions/Group/Remove.cs b/Exiled.Permissions/Commands/Permissions/Group/Remove.cs index 78e99a6fac..aedf04a1eb 100644 --- a/Exiled.Permissions/Commands/Permissions/Group/Remove.cs +++ b/Exiled.Permissions/Commands/Permissions/Group/Remove.cs @@ -27,6 +27,9 @@ public class Remove : ICommand /// public string Description { get; } = "Removes a group from permission."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Permissions/Commands/Permissions/Reload.cs b/Exiled.Permissions/Commands/Permissions/Reload.cs index 75b5e6beda..be571984cf 100644 --- a/Exiled.Permissions/Commands/Permissions/Reload.cs +++ b/Exiled.Permissions/Commands/Permissions/Reload.cs @@ -27,6 +27,9 @@ public class Reload : ICommand /// public string Description { get; } = "Reloads all permissions"; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.Permissions/Commands/Permissions/Remove.cs b/Exiled.Permissions/Commands/Permissions/Remove.cs index 2c066cc6de..14bc4f6887 100644 --- a/Exiled.Permissions/Commands/Permissions/Remove.cs +++ b/Exiled.Permissions/Commands/Permissions/Remove.cs @@ -27,6 +27,9 @@ public class Remove : ICommand /// public string Description { get; } = "Adds a permission to a group"; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) {