Skip to content

Commit 8c77219

Browse files
refactor: Remove legacy claim-based command restriction warnings from chat command configurations
1 parent 0ae8925 commit 8c77219

3 files changed

Lines changed: 0 additions & 21 deletions

File tree

src/XtremeIdiots.Portal.Web/Views/GameServers/ConfigurationSections/_ChatCommandsConfiguration.cshtml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
<strong>!fu</strong> message payloads now live inside the <code>chatCommands</code> contract. Leaving the
1919
server-specific list empty while using a local override will make the command unavailable on this server.
2020
</p>
21-
<div class="alert alert-warning mt-3 mb-0" role="alert">
22-
Legacy claim-based command restrictions are no longer supported. Saving chat command settings will keep only
23-
tag-based authorization rules.
24-
</div>
2521
</div>
2622
</div>
2723

src/XtremeIdiots.Portal.Web/Views/GameServers/Edit.cshtml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -222,18 +222,6 @@
222222
});
223223
});
224224
225-
// Rotate chevron icon on legacy settings collapse
226-
var legacyToggle = document.querySelector('[data-bs-target="#legacyTogglesBody"]');
227-
if (legacyToggle) {
228-
legacyToggle.addEventListener('click', function () {
229-
var icon = this.querySelector('.collapse-icon');
230-
if (icon) {
231-
icon.classList.toggle('fa-chevron-right');
232-
icon.classList.toggle('fa-chevron-down');
233-
}
234-
});
235-
}
236-
237225
// Toggle dependency enforcement
238226
// AgentEnabled requires FileTransportEnabled AND RconEnabled
239227
// BanFileSyncEnabled requires FileTransportEnabled AND AgentEnabled

src/XtremeIdiots.Portal.Web/Views/GlobalSettings/_ChatCommandsConfiguration.cshtml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
Configure fleet-wide defaults for in-game chat commands. Per-command overrides below can refine the shared
1414
defaults.
1515
</p>
16-
<div class="alert alert-warning" role="alert">
17-
Legacy claim-based command restrictions are no longer supported. Saving chat command settings will keep only
18-
tag-based authorization rules.
19-
</div>
20-
2116
<div class="row">
2217
<div class="col-md-4">
2318
<input type="hidden" name="ChatCommands.DefaultsEnabled" value="false" />

0 commit comments

Comments
 (0)