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.CustomItems/Commands/Give.cs b/Exiled.CustomItems/Commands/Give.cs index cf228ca56c..cec4453e6c 100644 --- a/Exiled.CustomItems/Commands/Give.cs +++ b/Exiled.CustomItems/Commands/Give.cs @@ -42,6 +42,9 @@ private Give() /// public string Description { get; } = "Gives a custom item."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.CustomItems/Commands/Info.cs b/Exiled.CustomItems/Commands/Info.cs index f0de9f1a99..78c4aa73e4 100644 --- a/Exiled.CustomItems/Commands/Info.cs +++ b/Exiled.CustomItems/Commands/Info.cs @@ -40,6 +40,9 @@ private Info() /// public string Description { get; } = "Gets more information about the specified custom item."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.CustomItems/Commands/List/Registered.cs b/Exiled.CustomItems/Commands/List/Registered.cs index d10bc0f0e9..c0fa1215b8 100644 --- a/Exiled.CustomItems/Commands/List/Registered.cs +++ b/Exiled.CustomItems/Commands/List/Registered.cs @@ -35,6 +35,9 @@ private Registered() /// public string[] Aliases { get; } = { "r", "reg" }; + /// + public bool SanitizeResponse { get; } + /// public string Description { get; } = "Gets a list of registered custom items."; diff --git a/Exiled.CustomItems/Commands/List/Tracked.cs b/Exiled.CustomItems/Commands/List/Tracked.cs index ed826f463e..082b94ab2d 100644 --- a/Exiled.CustomItems/Commands/List/Tracked.cs +++ b/Exiled.CustomItems/Commands/List/Tracked.cs @@ -41,6 +41,9 @@ private Tracked() /// public string Description { get; } = "Gets a list of custom items actually inside of players' inventories."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.CustomItems/Commands/Spawn.cs b/Exiled.CustomItems/Commands/Spawn.cs index 99f438e436..3213587b99 100644 --- a/Exiled.CustomItems/Commands/Spawn.cs +++ b/Exiled.CustomItems/Commands/Spawn.cs @@ -42,6 +42,9 @@ private Spawn() /// public string Description { get; } = "Spawn an item at the specified Spawn Location, coordinates, or at the designated player's feet."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.CustomRoles/Commands/Give.cs b/Exiled.CustomRoles/Commands/Give.cs index f69ab08add..3c0919006a 100644 --- a/Exiled.CustomRoles/Commands/Give.cs +++ b/Exiled.CustomRoles/Commands/Give.cs @@ -43,6 +43,9 @@ private Give() /// public string Description { get; } = "Gives the specified custom role to the indicated player(s)."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.CustomRoles/Commands/Info.cs b/Exiled.CustomRoles/Commands/Info.cs index c0e00b38ae..1578996aad 100644 --- a/Exiled.CustomRoles/Commands/Info.cs +++ b/Exiled.CustomRoles/Commands/Info.cs @@ -39,6 +39,9 @@ private Info() /// public string Description { get; } = "Gets more information about the specified custom role."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.CustomRoles/Commands/List/Abilities.cs b/Exiled.CustomRoles/Commands/List/Abilities.cs index 6cf5e8490b..6a274770b6 100644 --- a/Exiled.CustomRoles/Commands/List/Abilities.cs +++ b/Exiled.CustomRoles/Commands/List/Abilities.cs @@ -29,6 +29,9 @@ internal sealed class Abilities : ICommand /// public string Description => "Lists all abilities on the server."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.CustomRoles/Commands/List/Registered.cs b/Exiled.CustomRoles/Commands/List/Registered.cs index e3f6bd39ac..e5b6f7a9fc 100644 --- a/Exiled.CustomRoles/Commands/List/Registered.cs +++ b/Exiled.CustomRoles/Commands/List/Registered.cs @@ -38,6 +38,9 @@ private Registered() /// public string Description { get; } = "Gets a list of registered custom roles."; + /// + public bool SanitizeResponse { get; } + /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { diff --git a/Exiled.CustomRoles/Commands/UseAbility.cs b/Exiled.CustomRoles/Commands/UseAbility.cs index c43e2f3967..dbc4e95abb 100644 --- a/Exiled.CustomRoles/Commands/UseAbility.cs +++ b/Exiled.CustomRoles/Commands/UseAbility.cs @@ -31,6 +31,9 @@ public class UseAbility : ICommand /// public string Description { get; } = "Use your custom roles special ability, 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) {