update with latest wiki changes

This commit is contained in:
Luke committed 2024-05-01 11:43:12 +01:00
1 parent 2da360ac0b
commit b5467a112f
5 files changed
+34 -32

No files matched your search

+3 -3
View File
@@ -43,7 +43,7 @@ public class ExampleMod implements ModInitializer, EventRegistrar {
@Override @Override
public void onInitialize() { public void onInitialize() {
ServerLifecycleEvents.SERVER_STARTING.register((server) -> { ServerLifecycleEvents.SERVER_STARTING.register((server) -> {
GeyserApi.api().eventBus().register(this, ExampleMod.class); // register your mod & this class as a listener GeyserApi.api().eventBus().register(this, this); // register your mod & this class instance as a listener
}); });
LOGGER.info("Geyser is cool!"); LOGGER.info("Geyser is cool!");
@@ -51,7 +51,7 @@ public class ExampleMod implements ModInitializer, EventRegistrar {
// here an event, we subscribe as usual with the @Subscribe annotation // here an event, we subscribe as usual with the @Subscribe annotation
@Subscribe @Subscribe
public void onGeyserPostInitializeEvent(GeyserPostInitializeEvent eventad { public void onGeyserPostInitializeEvent(GeyserPostInitializeEvent event) {
LOGGER.info("Geyser started!"); LOGGER.info("Geyser started!");
} }
} }
@@ -77,7 +77,7 @@ public class ExamplePlugin extends JavaPlugin implements EventRegistrar {
@Override @Override
public void onEnable(){ public void onEnable(){
getLogger().info("Registering Geyser event bus!"); getLogger().info("Registering Geyser event bus!");
GeyserApi.api().eventBus().register(this, this); // register your plugin & this class as a listener GeyserApi.api().eventBus().register(this, this); // register your plugin & this class instance as a listener
} }
// here an event, we subscribe as usual with the @Subscribe annotation // here an event, we subscribe as usual with the @Subscribe annotation
+1 -1
View File
@@ -137,7 +137,7 @@ Here you can find answers to frequently asked questions about Geyser - if you ha
<Q> <Q>
How do I find a player's UUID without them joining when using Floodgate? How do I find a player's UUID without them joining when using Floodgate?
<A> <A>
Use [this page.](https://uuid.kejona.dev/) If this doesn't work, then try this method: Use [this page.](https://mcprofile.io) If this doesn't work, then try this method:
First, you'll need to get the XUID of the player. There are several third-party websites to find this, for example, [this one](https://cxkes.me/xbox/xuid) (unaffiliated with Geyser). Make sure to choose "Hexidecimal." You'll need to enter the player's Xbox Gamertag, and, once submitted, it should display the XUID in the format of `xxxxxxxxxxxxxxxx`. To turn the XUID into a UUID that Java Edition can recognize, you need to put the XUID in this format: `00000000-0000-0000-xxxx-xxxxxxxxxxxx`. If formatted right, Java Edition should accept it as a UUID. First, you'll need to get the XUID of the player. There are several third-party websites to find this, for example, [this one](https://cxkes.me/xbox/xuid) (unaffiliated with Geyser). Make sure to choose "Hexidecimal." You'll need to enter the player's Xbox Gamertag, and, once submitted, it should display the XUID in the format of `xxxxxxxxxxxxxxxx`. To turn the XUID into a UUID that Java Edition can recognize, you need to put the XUID in this format: `00000000-0000-0000-xxxx-xxxxxxxxxxxx`. If formatted right, Java Edition should accept it as a UUID.
</A> </A>
@@ -63,6 +63,8 @@ Disabling Geyser warnings from being logged will not fix the real issue! Only di
- Sets RakNet's per-tick (10ms) overall packet limit. - Sets RakNet's per-tick (10ms) overall packet limit.
- `-DGeyser.RakRateLimitingDisabled=true` - `-DGeyser.RakRateLimitingDisabled=true`
- Completely disable RakNet's post-connection rate limiter. This should not be disabled unless initial RakNet connections are being handled by a reverse proxy. - Completely disable RakNet's post-connection rate limiter. This should not be disabled unless initial RakNet connections are being handled by a reverse proxy.
- `-DGeyser.RakSendCookie=false`
- Disables sending and validation of a cookie challenge in [Open Connection Reply 1](https://wiki.vg/Raknet_Protocol#Open_Connection_Reply_1) packet. This should not be set to `false` unless Geyser is running behind a reverse proxy that is also sending a challenge to prevent IP spoofing.
## Geyser-Standalone Specific Options {#geyser-standalone-specific-options} ## Geyser-Standalone Specific Options {#geyser-standalone-specific-options}
+27 -27
View File
@@ -1,28 +1,28 @@
--- ---
title: Hydraulic title: Hydraulic
description: 'Hydraulic is a companion to Geyser which allows for Bedrock players to join modded Minecraft: Java Edition servers.' description: 'Hydraulic is a companion to Geyser which allows for Bedrock players to join modded Minecraft: Java Edition servers.'
--- ---
Hydraulic is a companion to Geyser which allows for Bedrock players to join modded Minecraft: Java Edition servers. Hydraulic is a companion to Geyser which allows for Bedrock players to join modded Minecraft: Java Edition servers.
## What is Hydraulic? {#what-is-hydraulic} ## What is Hydraulic? {#what-is-hydraulic}
Hydraulic is a server-side mod, which allows for Bedrock players to join modded Minecraft: Java Edition servers. This project works alongside [Geyser](https://github.com/GeyserMC/Geyser) to make this possible. Hydraulic is a server-side mod, which allows for Bedrock players to join modded Minecraft: Java Edition servers. This project works alongside [Geyser](https://github.com/GeyserMC/Geyser) to make this possible.
:::caution :::caution
This project is still in very early development and should not be used on production setups! This project is still in very early development and should not be used on production setups!
::: :::
## Contributing {#contributing} ## Contributing {#contributing}
Any contributions are appreciated. Please feel free to reach out to us on [Discord](https://discord.gg/geysermc) if Any contributions are appreciated. Please feel free to reach out to us on [Discord](https://discord.gg/geysermc) if
you're interested in helping out with Hydraulic. you're interested in helping out with Hydraulic.
### Project Setup {#project-setup} ### Project Setup {#project-setup}
1. Clone the repo to your computer. 1. Clone the repo to your computer.
2. Navigate to the Hydraulic root directory and run `git submodule update --init --recursive`. This command downloads all the needed submodules for Hydraulic and is a crucial step in this process. 2. Navigate to the Hydraulic root directory and run `git submodule update --init --recursive`. This command downloads all the needed submodules for Hydraulic and is a crucial step in this process.
3. The project should import into your IDE after the loom setup is complete. For more detailed information, see the [Fabric setup](https://fabricmc.net/wiki/tutorial:setup) 3. The project should import into your IDE after the loom setup is complete. For more detailed information, see the [Fabric setup](https://fabricmc.net/wiki/tutorial:setup)
4. Use `./gradlew build` to compile a jar file, or use `./gradlew :fabric:runServer` or `./gradlew :neoforge:runServer` to run a server with Hydraulic installed. Make sure to install Geyser into your `mods` folder! 4. Use `./gradlew build` to compile a jar file, or use `./gradlew :fabric:runServer` or `./gradlew :neoforge:runServer` to run a server with Hydraulic installed. Make sure to install Geyser into your `mods` folder!
+1 -1
View File
@@ -1,4 +1,4 @@
{ {
"bedrock": "1.20.40-1.20.71", "bedrock": "1.20.40-1.20.80",
"java": "1.20.4" "java": "1.20.4"
} }