diff --git a/src/admin/player-restrictions/views/html/player-restrictions.page.tsx b/src/admin/player-restrictions/views/html/player-restrictions.page.tsx index 16c15ee5d..75804cddd 100644 --- a/src/admin/player-restrictions/views/html/player-restrictions.page.tsx +++ b/src/admin/player-restrictions/views/html/player-restrictions.page.tsx @@ -1,3 +1,4 @@ +import type { Children } from '@kitajs/html' import { configuration } from '../../../../configuration' import { Switch } from '../../../../html/components/switch' import { queue } from '../../../../queue-auto' @@ -8,25 +9,40 @@ import { GameClassSkillInput } from '../../../../html/components/game-class-skil export async function PlayerRestrictionsPage() { return ( -
-
+ +
+
+ +
+
+ +
+
-

- -

-
+

+ +

) } +function Section(props: { title: string; children: Children }) { + return ( +
+

{props.title}

+
{props.children}
+
+ ) +} + async function RequireEtf2lAccount() { const etf2lAccountRequired = await configuration.get('players.etf2l_account_required') return ( @@ -135,7 +151,8 @@ async function PlayerSkillThreshold() { />

- Players will be able to join queue only on classes that meet the given criteria. + Players can join the queue on a given class only if their skill rating for that class is + at or above this value.

@@ -213,8 +230,8 @@ async function DefaultPlayerSkill() { ))}

- If a player starts a game without skill assigned for them, the game balance system will - use this fallback value. + Fallback skill rating for a player who has no skill set for a class yet — used both for + team balancing and for the skill-threshold check.