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

[Resonance][13.5.1 Update] Delete SanitizeResponse #2734

Merged
merged 3 commits into from
Jul 20, 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: 0 additions & 3 deletions Exiled.CreditTags/Commands/ShowCreditTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ public class ShowCreditTag : ICommand
/// <inheritdoc/>
public string Description { get; } = "Shows your EXILED Credits tag, if available.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
5 changes: 1 addition & 4 deletions Exiled.CustomModules/API/Commands/CustomItem/Give.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Give.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -41,9 +41,6 @@ private Give()
/// <inheritdoc/>
public string Description { get; } = "Gives a custom item.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
5 changes: 1 addition & 4 deletions Exiled.CustomModules/API/Commands/CustomItem/Info.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Info.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -40,9 +40,6 @@ private Info()
/// <inheritdoc/>
public string Description { get; } = "Gets more information about the specified custom item.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Registered.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -35,9 +35,6 @@ private Registered()
/// <inheritdoc/>
public string[] Aliases { get; } = { "r", "reg" };

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

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

Expand Down
5 changes: 1 addition & 4 deletions Exiled.CustomModules/API/Commands/CustomItem/List/Tracked.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Tracked.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -41,9 +41,6 @@ private Tracked()
/// <inheritdoc/>
public string Description { get; } = "Gets a list of custom items actually inside of players' inventories.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
5 changes: 1 addition & 4 deletions Exiled.CustomModules/API/Commands/CustomItem/Spawn.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Spawn.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -41,9 +41,6 @@ private Spawn()
/// <inheritdoc/>
public string Description { get; } = "Spawn an item at the specified Spawn Location, coordinates, or at the designated player's feet.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
5 changes: 1 addition & 4 deletions Exiled.CustomModules/API/Commands/CustomRoles/Give.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Give.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -42,9 +42,6 @@ private Give()
/// <inheritdoc/>
public string Description { get; } = "Gives the specified custom role to the indicated player(s).";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
5 changes: 1 addition & 4 deletions Exiled.CustomModules/API/Commands/CustomRoles/Info.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Info.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -38,9 +38,6 @@ private Info()
/// <inheritdoc/>
public string Description { get; } = "Gets more information about the specified custom role.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Registered.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -37,9 +37,6 @@ private Registered()
/// <inheritdoc/>
public string Description { get; } = "Gets a list of registered custom roles.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
5 changes: 1 addition & 4 deletions Exiled.Events/Commands/ConfigValue/Get.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Get.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -36,9 +36,6 @@ public class Get : ICommand
/// <inheritdoc/>
public string Description { get; } = "Gets a config value";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{
Expand Down
5 changes: 1 addition & 4 deletions Exiled.Events/Commands/ConfigValue/Set.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Set.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -39,9 +39,6 @@ public class Set : ICommand
/// <inheritdoc/>
public string Description { get; } = "Sets a config value";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "pm.disable";

Expand Down
5 changes: 1 addition & 4 deletions Exiled.Events/Commands/PluginManager/DisplaySubscribed.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="DisplaySubscribed.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -35,9 +35,6 @@ public class DisplaySubscribed : IPermissioned, ICommand
/// <inheritdoc/>
public string Description { get; } = "Displays plugins that are subscribed to the event.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

/// <inheritdoc/>
public string Permission { get; } = "pm.subscribed";

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "pm.enable";

Expand Down
5 changes: 1 addition & 4 deletions Exiled.Events/Commands/PluginManager/Install.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Install.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -42,9 +42,6 @@ public class Install : ICommand
/// <inheritdoc/>
public string Description { get; } = "Installs a plugin";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "ee.showpatches";

Expand Down
5 changes: 1 addition & 4 deletions Exiled.Events/Commands/PluginManager/Plugins.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Plugins.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -37,9 +37,6 @@ public class Plugins : IPermissioned, ICommand
/// <inheritdoc/>
public string Description { get; } = "Gets a list of all verified plugins.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
public string Permission { get; } = "pm.plugins";

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "pm.showplugins";

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "ee.reloadconfigs";

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "ee.reloadgameplay";

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "ee.reloadpermissions";

Expand Down
3 changes: 0 additions & 3 deletions Exiled.Events/Commands/Reload/Plugins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ public class Plugins : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Reloads all plugins.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "ee.reloadplugins";

Expand Down
3 changes: 0 additions & 3 deletions Exiled.Events/Commands/Reload/RemoteAdmin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public class RemoteAdmin : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Reloads remote admin configs.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "ee.reloadremoteadmin";

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
public string Permission { get; } = "ee.reloadtranslations";

Expand Down
5 changes: 1 addition & 4 deletions Exiled.Events/Commands/TpsCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="TpsCommand.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down Expand Up @@ -28,9 +28,6 @@ public class TpsCommand : ICommand
/// <inheritdoc />
public string Description { get; } = "Shows the current TPS.";

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = false;

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

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

/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

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