Files
GeyserWebsite/src/pages/download.tsx
T

213 lines
11 KiB
TypeScript
Raw Normal View History

2024-03-03 14:46:48 -08:00
import React from 'react';
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
2024-04-08 12:33:40 -07:00
import { faTowerCell, faFileZipper } from '@fortawesome/free-solid-svg-icons';
2024-03-03 14:46:48 -08:00
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import HeroBanner from '@site/src/components/HeroBanner';
2024-07-14 14:16:21 -07:00
import HeroBackground from '@site/static/img/site/split-background.webp';
2024-03-03 14:46:48 -08:00
import PaperSpigotIcon from '@site/static/img/icons/paper.png';
import VelocityIcon from '@site/static/img/icons/velocity.png';
import WaterfallBungeeCordIcon from '@site/static/img/icons/waterfall.svg';
import FabricIcon from '@site/static/img/icons/fabric.png';
import NeoForgeIcon from '@site/static/img/icons/neoforge.png';
import ViaProxyIcon from '@site/static/img/icons/viaproxy.png';
import StandaloneIcon from '@site/static/img/icons/geyser.png';
import PlatformIcon from '@site/src/components/PlatformIcon';
import { ProjectDownload } from '@site/src/components/ProjectDownload';
import { Collapsibles, Collapsible } from '@site/src/components/Collapsibles';
import Layout from '@theme/Layout';
import Translate from '@docusaurus/Translate';
const DownloadPage: React.FC = () => (
<>
<HeroBanner
2024-03-03 21:09:13 -08:00
title={<Translate id='pages.download.title'>Download</Translate>}
subheading={<Translate id='pages.download.subheading'>Download the latest versions of our various projects.</Translate>}
2024-03-03 14:46:48 -08:00
backgroundImage={HeroBackground}
/>
2024-04-08 12:19:14 -07:00
<Tabs queryString="project">
2024-03-03 14:46:48 -08:00
<TabItem value="geyser" label="Geyser" default>
<ProjectDownload
projectId="geyser"
2024-03-03 21:09:13 -08:00
description={<Translate id='pages.download.description.geyser'>A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.</Translate>}
2024-07-17 19:40:08 +01:00
setup="/wiki/geyser/setup"
2024-03-03 14:46:48 -08:00
downloadsInfo={{
bungeecord: <PlatformIcon svg={WaterfallBungeeCordIcon} text="BungeeCord" />,
fabric: <PlatformIcon img={FabricIcon} text="Fabric" />,
neoforge: <PlatformIcon img={NeoForgeIcon} text="NeoForge" />,
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper" />,
standalone: <PlatformIcon img={StandaloneIcon} text="Standalone" />,
velocity: <PlatformIcon img={VelocityIcon} text="Velocity" />,
viaproxy: <PlatformIcon img={ViaProxyIcon} text="ViaProxy" />,
}}
/>
</TabItem>
<TabItem value="floodgate" label="Floodgate">
<ProjectDownload
projectId="floodgate"
2024-03-03 21:09:13 -08:00
description={<Translate id='pages.download.description.floodgate'>Hybrid mode plugin to allow for connections from Geyser to join online mode servers.</Translate>}
2024-07-17 19:40:08 +01:00
setup="/wiki/floodgate/setup"
2024-03-03 14:46:48 -08:00
downloadsInfo={{
bungee: <PlatformIcon svg={WaterfallBungeeCordIcon} text="BungeeCord" />,
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper" />,
velocity: <PlatformIcon img={VelocityIcon} text="Velocity" />,
2024-07-30 11:12:37 +01:00
fabric: <PlatformIcon img={FabricIcon} text="Fabric" />,
2024-09-11 01:57:17 +08:00
neoforge: <PlatformIcon img={NeoForgeIcon} text="NeoForge" />
2024-07-30 11:12:37 +01:00
}}
additionalDownloads={{
fabric: {
url: "https://modrinth.com/mod/floodgate",
file: "floodgate-fabric.jar"
2024-09-11 01:57:17 +08:00
},
neoforge: {
url: "https://modrinth.com/mod/floodgate",
file: "floodgate-neoforge.jar"
2024-07-30 11:12:37 +01:00
}
2024-03-03 14:46:48 -08:00
}}
/>
</TabItem>
<TabItem value="other-projects" label="Other Projects">
<Collapsibles>
<Collapsible
title='GeyserOptionalPack'
2024-03-03 21:09:13 -08:00
subtitle={<Translate id='pages.download.description.geyseroptionalpack'>An optional Bedrock resource pack to extend Geyser functionality.</Translate>}
id='geyseroptionalpack'
2024-03-03 14:46:48 -08:00
inner={
<ProjectDownload
projectId="geyseroptionalpack"
2024-07-17 19:40:08 +01:00
setup='/wiki/other/geyseroptionalpack'
downloadsInfo={{
2024-07-15 15:15:39 +01:00
geyseroptionalpack: <><FontAwesomeIcon icon={faFileZipper} /> GeyserOptionalPack</>,
}}
gridColumns={1}
/>
}
/>
2024-09-11 01:57:17 +08:00
<Collapsible
title='ThirdPartyCosmetics'
subtitle={<Translate id='pages.download.description.thirdpartycosmetics'>An extension that adds support for loading ears and other third party cosmetics on java players</Translate>}
id='thirdpartycosmetics'
inner={
<ProjectDownload
projectId="thirdpartycosmetics"
2024-07-17 19:40:08 +01:00
setup='/wiki/other/thirdpartycosmetics'
2024-03-03 14:46:48 -08:00
downloadsInfo={{
2024-07-15 15:15:39 +01:00
thirdpartycosmetics: <><FontAwesomeIcon icon={faFileZipper} /> ThirdPartyCosmetics</>,
2024-03-03 14:46:48 -08:00
}}
gridColumns={1}
/>
}
/>
2024-07-15 15:15:39 +01:00
<Collapsible
2024-09-11 01:57:17 +08:00
title='Hurricane'
subtitle={<Translate id='pages.download.description.hurricane'>A plugin with various workarounds for Geyser players that modify the server in order to achieve their goal.</Translate>}
id='hurricane'
2024-04-08 12:19:14 -07:00
inner={
<ProjectDownload
2024-09-11 01:57:17 +08:00
projectId="hurricane"
setup='/wiki/other/hurricane'
2024-04-08 12:19:14 -07:00
downloadsInfo={{
2024-09-11 01:57:17 +08:00
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper" />,
2024-04-08 12:19:14 -07:00
}}
gridColumns={1}
/>
}
2024-07-15 15:15:39 +01:00
/>
2024-09-09 10:32:14 +01:00
<Collapsible
2024-09-11 01:57:17 +08:00
title='GeyserConnect'
subtitle={<Translate id='pages.download.description.geyserconnect'>A Geyser extension allowing players to connect to different Java or Geyser servers.</Translate>}
id='geyserconnect'
2024-09-09 10:32:14 +01:00
inner={
<ProjectDownload
2024-09-11 01:57:17 +08:00
projectId="geyserconnect"
setup='/wiki/other/geyserconnect'
2024-09-09 10:32:14 +01:00
downloadsInfo={{
2024-09-11 01:57:17 +08:00
geyserconnect: <><FontAwesomeIcon icon={faTowerCell} /> GeyserConnect</>,
}}
gridColumns={1}
/>
}
/>
<Collapsible
title='Rainbow'
subtitle={<Translate id='pages.download.description.rainbow'>A Minecraft mod to generate Geyser item mappings and bedrock resourcepacks for use with Geyser's custom item API (v2). </Translate>}
id='rainbow'
tags={['Beta']}
inner={
<ProjectDownload
projectId="rainbow"
setup='/wiki/other/rainbow'
downloadsInfo={{
rainbow: <PlatformIcon img={FabricIcon} text="Fabric" />,
}}
gridColumns={1}
/>
}
/>
<Collapsible
2024-09-11 01:57:17 +08:00
title='Hydraulic'
subtitle={<Translate id='pages.download.description.hydraulic'>A companion mod to Geyser which allows for Bedrock players to join modded Minecraft: Java Edition servers.</Translate>}
id='hydraulic'
tags={['Beta']}
inner={
<ProjectDownload
projectId="hydraulic"
setup='/wiki/other/hydraulic'
downloadsInfo={{
fabric: <PlatformIcon img={FabricIcon} text="Fabric" />,
neoforge: <PlatformIcon img={NeoForgeIcon} text="NeoForge" />,
2024-09-09 10:32:14 +01:00
}}
gridColumns={1}
warning={ // Remove when Item API V2 is merged!
<>
<Translate id='pages.download.warning.hydraulic'>
A preview version of Geyser is required to run Hydraulic, you can download the Item API V2 preview below:
</Translate>
<p>
<a href="https://download.geysermc.org/v2/projects/geyserpreview/versions/pr.5189/builds/latest/downloads/fabric">Fabric</a>
<span>, </span>
<a href="https://download.geysermc.org/v2/projects/geyserpreview/versions/pr.5189/builds/latest/downloads/neoforge">NeoForge</a>
</p>
</>
}
2024-09-09 10:32:14 +01:00
/>
}
/>
<Collapsible
title='Thunder'
subtitle={<Translate id='pages.download.description.thunder'>A java application to convert simple Java Edition resource packs to Bedrock Edition ones.</Translate>}
id='thunder'
tags={['Beta']}
inner={
<ProjectDownload
projectId="thunder"
setup='/wiki/other/thunder'
downloadsInfo={{
thunder: <><FontAwesomeIcon icon={faFileZipper} /> Thunder</>,
}}
gridColumns={1}
/>
}
/>
2024-03-03 14:46:48 -08:00
</Collapsibles>
</TabItem>
</Tabs>
</>
);
export default function Download(): JSX.Element {
return (
<Layout
2024-03-24 22:55:16 -07:00
title={`Download`}
2024-03-03 14:46:48 -08:00
description="Download the latest versions of our various projects."
>
<main>
<div className="container container--fluid margin-vert--lg">
<DownloadPage />
</div>
</main>
</Layout>
)
}