mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-22 16:17:00 +03:00
# Description I didn't make 2 PRs because the queue kinda depends on Discord auth and I didn't wanna spend the time splitting them up. The queue puts everyone except admins/whitelisted/previously in-game players into a queue after the soft max players is reached, hard cap still denies new connections (and queues) from everyone. Priority queuing is simple to add and I'll do that when I make donator benefits or whatever similar system. --- <details><summary><h1>Media</h1></summary> <p> Too big to embed and I don't wanna compress it :) https://youtu.be/NBqN6Piv94w </p> </details> --- # Changelog 🆑 - add: Added a queue for players so you don't need to spam reconnect and hope you join when someone leaves.
29 lines
1.6 KiB
XML
29 lines
1.6 KiB
XML
<Control xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:parallax="clr-namespace:Content.Client.Parallax"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
|
|
<parallax:ParallaxControl />
|
|
<Control HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<PanelContainer StyleClasses="AngleRect" />
|
|
<BoxContainer Orientation="Vertical">
|
|
<BoxContainer Orientation="Horizontal">
|
|
<Label Margin="8 0 0 0" Text="{Loc 'discord-auth-title'}"
|
|
StyleClasses="LabelHeading" VAlign="Center" />
|
|
<Button Name="QuitButton" Text="{Loc 'discord-auth-quit-btn'}"
|
|
HorizontalAlignment="Right" HorizontalExpand="True" />
|
|
</BoxContainer>
|
|
<controls:HighDivider />
|
|
<BoxContainer Orientation="Vertical" Margin="50 20 50 20">
|
|
<Label Text="{Loc 'discord-auth-info'}" Align="Center" />
|
|
<Label Text="{Loc 'discord-auth-warn'}" Margin="0 5 0 0" Align="Center" StyleClasses="LabelSubText" />
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" VerticalAlignment="Bottom" Margin="10 0 0 0">
|
|
<Label Text="{Loc 'discord-auth-link'}" Align="Center" />
|
|
<Label Text=" " />
|
|
<LineEdit Name="UrlEdit" HorizontalExpand="True" Editable="False"></LineEdit>
|
|
</BoxContainer>
|
|
<Button Name="OpenUrlButton" Text="{Loc 'discord-auth-browser-btn'}" HorizontalExpand="True" StyleClasses="OpenRight" />
|
|
</BoxContainer>
|
|
</Control>
|
|
</Control>
|