treecaptcha / uwu

Uwuify any Spigot/Paper/Purpur server
MIT License
5 stars 1 forks source link

DiscordSRV fix #6

Closed Roosterseatyou closed 2 years ago

Roosterseatyou commented 2 years ago

This would close #5.

Spigot: Basically made the EventPriority for the AsyncPlayerChatEvent highest so it'll send UwUified messages to DiscordSRV.

Paper: This was a bit more complicated. Basically on enable we check if DiscordSRV is loaded, and if so, we'll check for which chat event they're using (it's in their config). If they're using Spigot's, Paper will revert back to Spigot's chat event and give a warning to the user every time there's a message sent (for fun yk).

Roosterseatyou commented 2 years ago

All works as intended on both Spigot and Paper.

treecaptcha commented 2 years ago

I made issue on paper repo. https://github.com/PaperMC/Paper/issues/8308

treecaptcha commented 2 years ago

paper listener don't work

treecaptcha commented 2 years ago

Once this works ima rewrite spigot.Uwuify

Roosterseatyou commented 2 years ago

All works as intended.

Roosterseatyou commented 2 years ago

Unless you have any objections I'll merge it!