p0t4t0sandwich / TaterLib

A cross API code library that allows developers to write code that works across multiple modding platforms, and across a wide range of Minecraft versions, all with one JAR file. If TaterLib runs on it, so can your plugin/mod.
GNU General Public License v3.0
8 stars 1 forks source link

Add Forge ServerConnectionListener and Sponge ClientConnectionEvent.Auth #12

Open wolflord212312 opened 6 months ago

wolflord212312 commented 6 months ago

These two Listeners would be helpful for server side things

wolflord212312 commented 6 months ago

Forge 1.19.3

ServerConnectionListener
public ServerConnectionListener([MinecraftServer](https://nekoyue.github.io/ForgeJavaDocs-NG/javadoc/1.19.3/net/minecraft/server/MinecraftServer.html) p_9707_)
wolflord212312 commented 6 months ago

To lazy to pull sponge docs

p0t4t0sandwich commented 6 months ago

Did some reading, I think it's AsyncPlayerPreLoginEvent or similar for Bukkit