Various content updates
- update link in the floodgate linking page (#33) - add floodgate-neoforge - update hurricane page - fix various typos - reorder projects on others download page
This commit is contained in:
1 parent
dc19bf618b
commit
70b70230b1
13 files changed
+103
-95
No files matched your search
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"bedrock": {
|
"bedrock": {
|
||||||
"supported": "1.20.80-1.21.20",
|
"supported": "1.20.80-1.21.23",
|
||||||
"latest": {
|
"latest": {
|
||||||
"id": 712,
|
"id": 712,
|
||||||
"name": "1.21.20"
|
"name": "1.21.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"java": {
|
"java": {
|
||||||
"supported": "1.21"
|
"supported": "1.21/1.21.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -53,32 +53,22 @@ const DownloadPage: React.FC = () => (
|
|||||||
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper" />,
|
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper" />,
|
||||||
velocity: <PlatformIcon img={VelocityIcon} text="Velocity" />,
|
velocity: <PlatformIcon img={VelocityIcon} text="Velocity" />,
|
||||||
fabric: <PlatformIcon img={FabricIcon} text="Fabric" />,
|
fabric: <PlatformIcon img={FabricIcon} text="Fabric" />,
|
||||||
|
neoforge: <PlatformIcon img={NeoForgeIcon} text="NeoForge" />
|
||||||
}}
|
}}
|
||||||
additionalDownloads={{
|
additionalDownloads={{
|
||||||
fabric: {
|
fabric: {
|
||||||
url: "https://modrinth.com/mod/floodgate",
|
url: "https://modrinth.com/mod/floodgate",
|
||||||
file: "floodgate-fabric.jar"
|
file: "floodgate-fabric.jar"
|
||||||
|
},
|
||||||
|
neoforge: {
|
||||||
|
url: "https://modrinth.com/mod/floodgate",
|
||||||
|
file: "floodgate-neoforge.jar"
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="other-projects" label="Other Projects">
|
<TabItem value="other-projects" label="Other Projects">
|
||||||
<Collapsibles>
|
<Collapsibles>
|
||||||
<Collapsible
|
|
||||||
title='GeyserConnect'
|
|
||||||
subtitle={<Translate id='pages.download.description.geyserconnect'>A plugin to allow for Geyser players to connect to your server without needing to use a proxy.</Translate>}
|
|
||||||
id='geyserconnect'
|
|
||||||
inner={
|
|
||||||
<ProjectDownload
|
|
||||||
projectId="geyserconnect"
|
|
||||||
setup='/wiki/other/geyserconnect'
|
|
||||||
downloadsInfo={{
|
|
||||||
geyserconnect: <><FontAwesomeIcon icon={faTowerCell} /> GeyserConnect</>,
|
|
||||||
}}
|
|
||||||
gridColumns={1}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
<Collapsible
|
<Collapsible
|
||||||
title='GeyserOptionalPack'
|
title='GeyserOptionalPack'
|
||||||
subtitle={<Translate id='pages.download.description.geyseroptionalpack'>An optional Bedrock resource pack to extend Geyser functionality.</Translate>}
|
subtitle={<Translate id='pages.download.description.geyseroptionalpack'>An optional Bedrock resource pack to extend Geyser functionality.</Translate>}
|
||||||
@@ -94,7 +84,7 @@ const DownloadPage: React.FC = () => (
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Collapsible
|
<Collapsible
|
||||||
title='ThirdPartyCosmetics'
|
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>}
|
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'
|
id='thirdpartycosmetics'
|
||||||
@@ -109,6 +99,36 @@ const DownloadPage: React.FC = () => (
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<Collapsible
|
||||||
|
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'
|
||||||
|
inner={
|
||||||
|
<ProjectDownload
|
||||||
|
projectId="hurricane"
|
||||||
|
setup='/wiki/other/hurricane'
|
||||||
|
downloadsInfo={{
|
||||||
|
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper" />,
|
||||||
|
}}
|
||||||
|
gridColumns={1}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
<Collapsible
|
||||||
|
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'
|
||||||
|
inner={
|
||||||
|
<ProjectDownload
|
||||||
|
projectId="geyserconnect"
|
||||||
|
setup='/wiki/other/geyserconnect'
|
||||||
|
downloadsInfo={{
|
||||||
|
geyserconnect: <><FontAwesomeIcon icon={faTowerCell} /> GeyserConnect</>,
|
||||||
|
}}
|
||||||
|
gridColumns={1}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
/>
|
||||||
<Collapsible
|
<Collapsible
|
||||||
title='Hydraulic'
|
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>}
|
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>}
|
||||||
@@ -126,21 +146,6 @@ const DownloadPage: React.FC = () => (
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Collapsible
|
|
||||||
title='Hurricane'
|
|
||||||
subtitle={<Translate id='pages.download.description.hurricane'>Various workarounds for Geyser players that modify the server in order to achieve their goal.</Translate>}
|
|
||||||
id='hurricane'
|
|
||||||
inner={
|
|
||||||
<ProjectDownload
|
|
||||||
projectId="hurricane"
|
|
||||||
setup='/wiki/other/hurricane'
|
|
||||||
downloadsInfo={{
|
|
||||||
spigot: <PlatformIcon img={PaperSpigotIcon} text="Spigot/Paper" />,
|
|
||||||
}}
|
|
||||||
gridColumns={1}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
</Collapsibles>
|
</Collapsibles>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Here you can find answers to frequently asked questions about Floodgate - if you
|
|||||||
</A>
|
</A>
|
||||||
</Q>
|
</Q>
|
||||||
<Q>
|
<Q>
|
||||||
How do I get placeholders from PlaceolderAPI for Bedrock players?
|
How do I get placeholders from PlaceholderAPI for Bedrock players?
|
||||||
<A>
|
<A>
|
||||||
If you're using the Spigot version of Floodgate, download the Placeholder plugin [here](https://github.com/rtm516/FloodgatePlaceholders/). Using the placeholders shouldn't require additional setup other than having [PlaceholderAPI](https://www.spigotmc.org/resources/6245/) installed. See the section above on installing Floodgate on backend servers if you wish to use this on BungeeCord.
|
If you're using the Spigot version of Floodgate, download the Placeholder plugin [here](https://github.com/rtm516/FloodgatePlaceholders/). Using the placeholders shouldn't require additional setup other than having [PlaceholderAPI](https://www.spigotmc.org/resources/6245/) installed. See the section above on installing Floodgate on backend servers if you wish to use this on BungeeCord.
|
||||||
</A>
|
</A>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ You can also set up a local linking database on your server. Local linking can w
|
|||||||
|
|
||||||
Note that you only have to follow these steps on your proxy (BungeeCord or Velocity), if you have one.
|
Note that you only have to follow these steps on your proxy (BungeeCord or Velocity), if you have one.
|
||||||
|
|
||||||
1. Download one of the linking databases extensions [here](https://ci.opencollab.dev/job/GeyserMC/job/Floodgate/job/old%252F2.1/).
|
1. Download one of the linking databases extensions [here](https://ci.opencollab.dev/job/GeyserMC/job/Floodgate/job/fix-weird-via-issue/).
|
||||||
If you need help picking the right one: choose `mysql` if you already have a database or want to have a multi-proxy setup. For anything else choose `sqlite`. The full name should be `floodgate-*type*-database.jar`.
|
If you need help picking the right one: choose `mysql` if you already have a database or want to have a multi-proxy setup. For anything else choose `sqlite`. The full name should be `floodgate-*type*-database.jar`.
|
||||||
2. Copy the database extension jar you just downloaded *into* the floodgate 2.0 plugin folder (e.g. `/plugins/floodgate/`).
|
2. Copy the database extension jar you just downloaded *into* the floodgate 2.0 plugin folder (e.g. `/plugins/floodgate/`).
|
||||||
3. Enable `enable-own-linking` in the `player-link` section of Floodgate.
|
3. Enable `enable-own-linking` in the `player-link` section of Floodgate.
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ description: Set up Floodgate to allow Bedrock users to authenticate with their
|
|||||||
import Tabs from "@theme/Tabs";
|
import Tabs from "@theme/Tabs";
|
||||||
import TabItem from "@theme/TabItem";
|
import TabItem from "@theme/TabItem";
|
||||||
|
|
||||||
import Fabric from './setup/fabric.mdx';
|
import ModdedServers from './setup/modded.mdx';
|
||||||
import ProxyServers from './setup/proxy-servers.mdx';
|
import ProxyServers from './setup/proxy-servers.mdx';
|
||||||
import PaperSpigot from './setup/paper-spigot.mdx';
|
import PaperSpigot from './setup/paper-spigot.mdx';
|
||||||
import ViaProxy from './setup/viaproxy.mdx';
|
import ViaProxy from './setup/viaproxy.mdx';
|
||||||
import Standalone from './setup/standalone.mdx';
|
import Standalone from './setup/standalone.mdx';
|
||||||
|
|
||||||
import PlatformIcon from '@site/src/components/PlatformIcon'
|
import PlatformIcon from '@site/src/components/PlatformIcon'
|
||||||
import FabricIcon from '@site/static/img/icons/fabric.png';
|
import ModIcon from '@site/static/img/icons/fabric.png';
|
||||||
import ProxyServersIcon from '@site/static/img/icons/velocity.png';
|
import ProxyServersIcon from '@site/static/img/icons/velocity.png';
|
||||||
import PaperSpigotIcon from '@site/static/img/icons/paper.png';
|
import PaperSpigotIcon from '@site/static/img/icons/paper.png';
|
||||||
import ViaProxyIcon from '@site/static/img/icons/viaproxy.png';
|
import ViaProxyIcon from '@site/static/img/icons/viaproxy.png';
|
||||||
@@ -24,8 +24,8 @@ import StandaloneIcon from '@site/static/img/icons/geyser.png';
|
|||||||
<TabItem value="paper-spigot" label={<PlatformIcon img={PaperSpigotIcon} text="Paper / Spigot"/>} default>
|
<TabItem value="paper-spigot" label={<PlatformIcon img={PaperSpigotIcon} text="Paper / Spigot"/>} default>
|
||||||
<PaperSpigot/>
|
<PaperSpigot/>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="fabric" label={<PlatformIcon img={FabricIcon} text="Fabric"/>}>
|
<TabItem value="modded" label={<PlatformIcon img={ModIcon} text="Modded Servers"/>}>
|
||||||
<Fabric/>
|
<ModdedServers/>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="proxy-servers" label={<PlatformIcon img={ProxyServersIcon} text="Proxy Servers"/>}>
|
<TabItem value="proxy-servers" label={<PlatformIcon img={ProxyServersIcon} text="Proxy Servers"/>}>
|
||||||
<ProxyServers/>
|
<ProxyServers/>
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
title: Floodgate Fabric Setup
|
|
||||||
description: Learn how to set up Floodgate on your Fabric server.
|
|
||||||
hide_title: true
|
|
||||||
---
|
|
||||||
|
|
||||||
1. Download Floodgate-Fabric from the [modrinth page](https://modrinth.com/mod/floodgate).
|
|
||||||
2. Place the Floodgate-Fabric.jar in the `mods` folder, and restart the server. **You also need [FabricAPI](https://modrinth.com/mod/fabric-api) installed.**
|
|
||||||
3. Change `auth-type` in Geyser's config to `floodgate`.
|
|
||||||
4. Restart the server.
|
|
||||||
|
|
||||||
|
|
||||||
:::note Note for Fabric behind a Velocity proxy
|
|
||||||
You will need to configure FabricProxyLite to allow the Fabric server to receive data from Velocity.
|
|
||||||
:::
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
title: Modded Fabric Setup
|
||||||
|
description: Learn how to set up Floodgate on your Fabric / NeoForge server.
|
||||||
|
hide_title: true
|
||||||
|
---
|
||||||
|
|
||||||
|
1. Download the mod from the [modrinth page](https://modrinth.com/mod/floodgate). **Fabric servers also need the [FabricAPI](https://modrinth.com/mod/fabric-api) mod.**
|
||||||
|
2. Place the mod jar in the `mods` folder, and restart the server.
|
||||||
|
3. Change `auth-type` in Geyser's config to `floodgate`.
|
||||||
|
4. Restart the server.
|
||||||
|
|
||||||
|
|
||||||
|
:::note Note for Fabric servers running behind a Velocity proxy
|
||||||
|
You will need to configure FabricProxyLite to allow the Fabric server to receive data from Velocity.
|
||||||
|
:::
|
||||||
+1
-1
@@ -22,7 +22,7 @@ It can be used easily in Geyser Extensions, see [here](/wiki/geyser/extensions)
|
|||||||
|
|
||||||
**Quick overview:**
|
**Quick overview:**
|
||||||
:::info
|
:::info
|
||||||
Note: To see full, detailed documentation, see the <a href="https://repo.opencollab.dev/javadoc/maven-snapshots/org/geysermc/geyser/api/latest">javadocs</a>.
|
Javadocs can be found <a href="https://repo.opencollab.dev/javadoc/maven-snapshots/org/geysermc/geyser/api/latest">here</a>.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
#### [GeyserApi](https://github.com/GeyserMC/Geyser/blob/master/api/src/main/java/org/geysermc/geyser/api/GeyserApi.java): {#geyserapi}
|
#### [GeyserApi](https://github.com/GeyserMC/Geyser/blob/master/api/src/main/java/org/geysermc/geyser/api/GeyserApi.java): {#geyserapi}
|
||||||
|
|||||||
@@ -12,22 +12,20 @@ Despite Minecraft Bedrock and Java being quite close in comparison, there are so
|
|||||||
|
|
||||||
The following things cannot be fixed without changes to Bedrock or the Java protocol in general. As of now, they are not fixable in Geyser.
|
The following things cannot be fixed without changes to Bedrock or the Java protocol in general. As of now, they are not fixable in Geyser.
|
||||||
|
|
||||||
- Custom heads in inventories
|
|
||||||
- Clickable links in chat
|
- Clickable links in chat
|
||||||
- Glowing effect
|
- Glowing effect
|
||||||
- Crafting in the 2x2 menu while in creative mode - with the GeyserOptionalPack, this grid is hidden as it does not exist on Java.
|
- Crafting in the 2x2 menu while in creative mode - with the GeyserOptionalPack, this grid is hidden as it does not exist on Java.
|
||||||
- Distinguishing between left and right clicks in inventories
|
- Distinguishing between left and right clicks in inventories
|
||||||
- Redstone dot blockstates
|
- Redstone dot blockstates
|
||||||
- "Can be placed on/destroyed" tag for *some* blocks - for example, different slab variants that aren't yet split up into separate blocks.
|
|
||||||
- Potion colors implemented using NBT
|
- Potion colors implemented using NBT
|
||||||
- Various command arguments for any command that doesn't use the Minecraft Brigadier library
|
- Various command arguments for any command that doesn't use the Minecraft Brigadier library
|
||||||
- Anything that relies on tab complete or typing in the chat UI (related to the above) - Bedrock sends no packet that indicates they are in this menu
|
- Anything that relies on tab complete or typing in the chat UI (related to the above) - Bedrock sends no packet that indicates they are in this menu
|
||||||
- Unable to see banner layers past 6
|
- Unable to see banner layers past 6
|
||||||
- Movement issues around bamboo due to offset differences between Java and Bedrock: [Hurricane](/wiki/other/hurricane) can work around it.
|
- Movement issues around bamboo due to offset differences between Java and Bedrock. Use [Hurricane](/wiki/other/hurricane) to work around it.
|
||||||
- Custom anvil recipes or custom smithing table ingredients/patterns ([GeyserMC/Geyser#4706](https://github.com/GeyserMC/Geyser/issues/4706))
|
- Custom anvil recipes or custom smithing table ingredients/patterns ([GeyserMC/Geyser#4706](https://github.com/GeyserMC/Geyser/issues/4706))
|
||||||
- Heights lower than -64 or higher than 320 in the overworld with extended height enabled, and heights lower than 0 or higher than 256 in other dimensions ([GeyserMC/Geyser#3804](https://github.com/GeyserMC/Geyser/issues/3804))
|
- Heights lower than -64 or higher than 320 in the overworld with extended height enabled, and heights lower than 0 or higher than 256 in other dimensions ([GeyserMC/Geyser#3804](https://github.com/GeyserMC/Geyser/issues/3804))
|
||||||
- Dolphin's Grace potion effect visuals (effects should still work correctly)
|
- Dolphin's Grace potion effect visuals (effects should still work correctly)
|
||||||
- Invisible item frames
|
- Invisible item frames - however, there are Bedrock edition resource packs making *all* item frames invisible
|
||||||
- Blocks (excluding jack-o-lantern) on entity heads (E.G. armor stands, players)
|
- Blocks (excluding jack-o-lantern) on entity heads (E.G. armor stands, players)
|
||||||
- Some block state changes are controlled client side, and are not influenced by the debug stick - fences for example. ([GeyserMC/Geyser#3125](https://github.com/GeyserMC/Geyser/issues/3125))
|
- Some block state changes are controlled client side, and are not influenced by the debug stick - fences for example. ([GeyserMC/Geyser#3125](https://github.com/GeyserMC/Geyser/issues/3125))
|
||||||
- Custom beacon base blocks ([GeyserMC/Geyser#2301](https://github.com/GeyserMC/Geyser/issues/2301)) - these are hardcoded on Bedrock edition.
|
- Custom beacon base blocks ([GeyserMC/Geyser#2301](https://github.com/GeyserMC/Geyser/issues/2301)) - these are hardcoded on Bedrock edition.
|
||||||
@@ -49,3 +47,9 @@ The following changes **are supported** with the [GeyserOptionalPack](/wiki/othe
|
|||||||
- Spectral arrow texture
|
- Spectral arrow texture
|
||||||
- Scoreboard width that matches Java
|
- Scoreboard width that matches Java
|
||||||
- Inventory UI changes to match Java
|
- Inventory UI changes to match Java
|
||||||
|
|
||||||
|
## Fixable with Hurricane {#fixable-with-hurricane}
|
||||||
|
|
||||||
|
The following issues can be worked around with the [Hurricane](/wiki/other/hurricane) plugin/mod. However, these involve Java server
|
||||||
|
modifications.
|
||||||
|
- Movement issues around bamboo due to offset differences between Java and Bedrock.
|
||||||
+29
-29
@@ -35,33 +35,6 @@ public void onGeyserLoadResourcePacksEvent(GeyserLoadResourcePacksEvent event) {
|
|||||||
If you wish to listen to events in a Spigot/Paper plugin or a Fabric mod, you need to register the Geyser Event Bus as a listener first. Just make sure you implement `EventRegistrar` in the main class of your mod or plugin.
|
If you wish to listen to events in a Spigot/Paper plugin or a Fabric mod, you need to register the Geyser Event Bus as a listener first. Just make sure you implement `EventRegistrar` in the main class of your mod or plugin.
|
||||||
Extensions do not need to do that - they are automatically registered, so a simple @Subscribe annotation is enough.
|
Extensions do not need to do that - they are automatically registered, so a simple @Subscribe annotation is enough.
|
||||||
|
|
||||||
**Fabric mod example:**
|
|
||||||
```java
|
|
||||||
public class ExampleMod implements ModInitializer, EventRegistrar {
|
|
||||||
public static final Logger LOGGER = LoggerFactory.getLogger("modid");
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onInitialize() {
|
|
||||||
ServerLifecycleEvents.SERVER_STARTING.register((server) -> {
|
|
||||||
GeyserApi.api().eventBus().register(this, this); // register your mod & this class instance as a listener
|
|
||||||
});
|
|
||||||
|
|
||||||
LOGGER.info("Geyser is cool!");
|
|
||||||
}
|
|
||||||
|
|
||||||
// here an event, we subscribe as usual with the @Subscribe annotation
|
|
||||||
@Subscribe
|
|
||||||
public void onGeyserPostInitializeEvent(GeyserPostInitializeEvent event) {
|
|
||||||
LOGGER.info("Geyser started!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
:::info
|
|
||||||
Note: We cannot directly register the event bus in the mod initializer, since the Geyser API would not be loaded yet.
|
|
||||||
:::
|
|
||||||
|
|
||||||
Therefore, we register it in the server starting event provided by the Fabric API.
|
|
||||||
|
|
||||||
**Paper/Spigot plugin example:**
|
**Paper/Spigot plugin example:**
|
||||||
|
|
||||||
1. In your plugin.yml, add the following lines:
|
1. In your plugin.yml, add the following lines:
|
||||||
@@ -89,10 +62,37 @@ public class ExamplePlugin extends JavaPlugin implements EventRegistrar {
|
|||||||
```
|
```
|
||||||
3. If you want to provide your event with a consumer, rather than annotating it, you can also manually subscribe your method to the event bus:
|
3. If you want to provide your event with a consumer, rather than annotating it, you can also manually subscribe your method to the event bus:
|
||||||
```java
|
```java
|
||||||
// replace GeyserEvent.class with the event class you want to listen to
|
// add this after you register your event registrar in onEnable
|
||||||
GeyserApi.api().eventBus().subscribe(this, GeyserEvent.class, this::yourMethod);
|
GeyserApi.api().eventBus().subscribe(this, GeyserPostInitializeEvent.class, this::onGeyserPostInitializeEvent);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Fabric mod example:**
|
||||||
|
```java
|
||||||
|
public class ExampleMod implements ModInitializer, EventRegistrar {
|
||||||
|
public static final Logger LOGGER = LoggerFactory.getLogger("modid");
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onInitialize() {
|
||||||
|
ServerLifecycleEvents.SERVER_STARTING.register((server) -> {
|
||||||
|
GeyserApi.api().eventBus().register(this, this); // register your mod & this class instance as a listener
|
||||||
|
});
|
||||||
|
|
||||||
|
LOGGER.info("Geyser is cool!");
|
||||||
|
}
|
||||||
|
|
||||||
|
// here an event, we subscribe as usual with the @Subscribe annotation
|
||||||
|
@Subscribe
|
||||||
|
public void onGeyserPostInitializeEvent(GeyserPostInitializeEvent event) {
|
||||||
|
LOGGER.info("Geyser started!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
:::info
|
||||||
|
Note: We cannot directly register the event bus in the mod initializer, since the Geyser API would not be loaded yet.
|
||||||
|
:::
|
||||||
|
|
||||||
|
Therefore, we register it in the server starting event provided by the Fabric API.
|
||||||
|
|
||||||
## Event Priority {#event-priority}
|
## Event Priority {#event-priority}
|
||||||
Events can have a priority, which is used to determine the order in which the listeners are called. The default priority is NORMAL.
|
Events can have a priority, which is used to determine the order in which the listeners are called. The default priority is NORMAL.
|
||||||
To (optionally) set the priority of your event listener, you can add the priority to the `@Subscribe` annotation:
|
To (optionally) set the priority of your event listener, you can add the priority to the `@Subscribe` annotation:
|
||||||
|
|||||||
@@ -41,5 +41,5 @@ Geyser only works with **server-side** mods. Mods that require a client-side ins
|
|||||||
5. Verify whether connections are possible by running `geyser connectiontest <ip> <port>` in the console.
|
5. Verify whether connections are possible by running `geyser connectiontest <ip> <port>` in the console.
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
For Geyser-Fabric: To allow Bedrock Edition players to join your server without needing to log in to a paid Java Edition account, you can use <a href="/wiki/floodgate/setup/">Floodgate</a>.
|
To allow Bedrock Edition players to join your server without needing to log in to a paid Java Edition account, you can use <a href="/wiki/floodgate/setup/">Floodgate</a>.
|
||||||
:::
|
:::
|
||||||
@@ -55,5 +55,5 @@ Geyser only works with **server-side** mods. Mods that require a client-side ins
|
|||||||
5. Verify whether connections from other networks are possible by running `geyser connectiontest <ip> <port>` in the console.
|
5. Verify whether connections from other networks are possible by running `geyser connectiontest <ip> <port>` in the console.
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
For Geyser-Fabric: To allow Bedrock Edition players to join your server without needing to log in to a paid Java Edition account, you can use <a href="/wiki/floodgate/setup/">Floodgate</a>.
|
To allow Bedrock Edition players to join your server without needing to log in to a paid Java Edition account, you can use <a href="/wiki/floodgate/setup/">Floodgate</a>.
|
||||||
:::
|
:::
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Hurricane
|
title: Hurricane
|
||||||
description: Hurricane is a Paper / Spigot plugin and Fabric mod that fixes some bugs that otherwise cannot be fixed without server-side modification.
|
description: Hurricane is a Paper / Spigot plugin and Fabric / NeoForge mod that fixes some bugs that otherwise cannot be fixed without server-side modification.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Hurricane
|
# Hurricane
|
||||||
@@ -8,14 +8,13 @@ description: Hurricane is a Paper / Spigot plugin and Fabric mod that fixes some
|
|||||||
Hurricane is a Paper/Spigot plugin, and Fabric mod (unofficial port), that fixes some bugs that otherwise cannot be fixed without server modification.
|
Hurricane is a Paper/Spigot plugin, and Fabric mod (unofficial port), that fixes some bugs that otherwise cannot be fixed without server modification.
|
||||||
|
|
||||||
## Fixes {#fixes}
|
## Fixes {#fixes}
|
||||||
Issues with each workaround are listed in the plugin's config. **Please take your time to read them as the workarounds in this plugin can be used for exploitative purposes.**
|
Issues with each workaround are listed in the Hurricane config. **Please take your time to read them as the workarounds in this plugin can be used for exploitative purposes.**
|
||||||
|
|
||||||
- Bamboo and dripstone collision (by setting them to no server-side collision)
|
- Bamboo and dripstone collision (by setting them to no server-side collision)
|
||||||
- [GeyserMC/Geyser#638](https://github.com/GeyserMC/Geyser/issues/638) by implementing the control server-side.
|
|
||||||
|
|
||||||
Supported Versions:
|
Supported Versions:
|
||||||
- 1.14.x - 1.20.x
|
- Spigot/Paper: 1.14.x - 1.21.1
|
||||||
- 1.17.x & above for pig riding
|
- Fabric: 1.21/1.21.1
|
||||||
|
|
||||||
## Download {#download}
|
## Download {#download}
|
||||||
- Spigot/Paper: [GeyserMC downloads page](/download?project=other-projects&hurricane=expanded)
|
- Spigot/Paper: [GeyserMC downloads page](/download?project=other-projects&hurricane=expanded)
|
||||||
|
|||||||
Reference in new issue
Block a user