[ENHANCEMENT] Предупреждение об обновлении API Geyser и Floodgate
- Dominant language
- Java
- Stars
- 238
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
Вырезка из дискорда гейзера
> Hi everyone,
>
> As mentioned in our blog post 'Looking back at 2022' we are planning to include Floodgate in Geyser at some point this year.
> We plan to include the Floodgate API in Geyser for a while to allow developers to switch to our new shared API, details about that shared API will follow in a separate announcement.
> In order for plugins to be prepared (for Geyser including Floodgate) we urge plugin developers to no longer depend on the existence of Floodgate (e.g. Bukkit.getServer().getPluginManager().isPluginEnabled("floodgate")) and instead depend on the existence of the FloodgateApi class:
```
public boolean isFloodgateApiAvailable() {
try {
Class.forName("org.geysermc.floodgate.api.FloodgateApi");
return true;
} catch (ClassNotFoundException e) {
return false;
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.