@if (serverData()) {

#### Room Settings

@if (!isAdmin()) {

You are viewing this server's details without server-management permission.

}
@if (serverData()?.icon) {
} @else { }

Server Image

Synced to members and shown in server discovery.

@if (iconError()) {

{{ iconError() }}

}
@if (canManageIcon()) {
@if (serverData()?.icon) {
}
}
Room Name
Description
@if (isAdmin()) {

Private Room

Require approval to join

} @else {

Private Room

Require approval to join

{{ isPrivate() ? 'Yes' : 'No' }}
}
Max Users (0 = unlimited)
@if (isAdmin()) {

Server Password

@if (hasPassword() && passwordAction() !== 'remove') { Joined members stay whitelisted until they are kicked or banned. } @else { Add an optional password so new members need it to join. }

@if (hasPassword() && passwordAction() !== 'remove') {
} @else if (hasPassword() && passwordAction() === 'remove') {
}
@if (hasPassword() && passwordAction() !== 'remove') { Password protection is currently enabled. } @else if (hasPassword() && passwordAction() === 'remove') { Password protection will be removed when you save. } @else { Password protection is currently disabled. }
{{ hasPassword() ? 'Set New Password' : 'Set Password' }} @if (passwordAction() === 'update') {

The new password will replace the current one when you save.

} @if (passwordError()) {

{{ passwordError() }}

}
} @else {

Server Password

Invite links bypass the password, but bans still apply.

{{ hasPassword() ? 'Enabled' : 'Disabled' }}
}
@if (isAdmin()) {
@if (canDeleteServer()) {

#### Danger Zone

} }
@if (showDeleteConfirm()) {

Are you sure you want to delete this room? This action cannot be undone.

} } @else {
Select a server from the sidebar to manage
}