Improve readability of supported hosting providers (#110)

This commit is contained in:
Luke authored and GitHub committed 2025-12-14 22:05:39 +00:00
1 parent 5069b9c7ee
commit 6ad3927d91
2 files changed
+34 -20

No files matched your search

+26 -14
View File
@@ -14,25 +14,37 @@ export const Provider = ({ type }) => {
const hostingProviders: HostingProvider[] = providersData[type as ProviderType]
return (
<div>
<ul>{hostingProviders.map((provider: HostingProvider) => (
<li>
<a href={provider.url}>{provider.name}</a>
{provider.description != null ? (
<ReactMarkdown children={`&nbsp;&hyphen; ${provider.description}`} components={{ p: noP }} />
) : (
''
)}
</li>
))}</ul>
</div>
<table>
<thead>
<tr>
<th>Provider</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{hostingProviders.map((provider: HostingProvider) => (
<tr>
<td>
<a href={provider.url}>{provider.name}</a>
</td>
<td>
{provider.description != null ? (
<ReactMarkdown children={`&nbsp;&hyphen; ${provider.description}`} components={{ p: noP }} />
) : (
''
)}
</td>
</tr>
))}
</tbody>
</table>
)
}
export const ProviderSelector = () => {
const providers: HostingProvider[] = [
...Object.values(providersData.built_in),
...Object.values(providersData.support),
...Object.values(providersData.support),
...Object.values(providersData.no_support)
].flat().sort((a, b) => a.name.localeCompare(b.name));
@@ -43,7 +55,7 @@ export const ProviderSelector = () => {
message: "If your hosting provider is not listed, try enabling the `clone-remote-port` option in the config. Then, restart the server, and try connecting with the same IP and port as on Java Edition. <br> If this does not work, ask your server hosting provider for a UDP port, and use that. For VPS/KVM servers please follow the self-hosting steps."
})
} as HostingProvider);
const [selectedProvider, setSelectedProvider] = useState(null);
+8 -6
View File
@@ -7,12 +7,6 @@ import { Provider } from "@site/src/components/Provider";
:::caution
This list is incomplete. Please open a [PR](https://github.com/GeyserMC/GeyserWebsite/pulls) or contact us on [Discord](https://discord.gg/geysermc) if the information is incorrect, or you want to add a new hosting provider!
:::
:::caution
These providers are not verified by the Geyser team, and the server providers below are reported as working by members of the community.
:::
@@ -29,6 +23,14 @@ The below information is for the plugin versions of Geyser unless otherwise spec
:::
<br/>
:::info PLEASE NOTE
This list is incomplete. Please open a [PR](https://github.com/GeyserMC/GeyserWebsite/pulls) or contact us on [Discord](https://discord.gg/geysermc) if the information is incorrect, or you want to add a new hosting provider!
:::
## Built-in Geyser \{#built-in-geyser}
<Provider type="built_in" />