duke605 / DiscordCE

Allows you to chat, manage your friends and block list, join and leave guilds/servers and more.
https://minecraft.curseforge.com/projects/discordce
MIT License
11 stars 1 forks source link

Ability to send deaths/achievements to different channels besides the active one #3

Open drinfernoo opened 7 years ago

drinfernoo commented 7 years ago

Would this be possible? Like if I have #general for normal chat, but want achievement announcements to go to #achievements?

duke605 commented 7 years ago

Sure I can build that in

drinfernoo commented 7 years ago

I'm also not seeing achievements getting sent if the mod is running on a server, but I'm not sure if that's intended or not.

drinfernoo commented 7 years ago

I may have just missed something during my server setup.

duke605 commented 7 years ago

Unfortunately the achievement code is called server side and my code only runs client side (hence the name). When you're playing single player the server is integrated meaning it also runs client side so it will run the achievement code.

drinfernoo commented 7 years ago

Would it be possible to make that code run on the server side when the mod is installed on a server?

duke605 commented 7 years ago

No. The mod is only meant to be installed on the client. I made is purposefully crashes if installed on a server because it just won't work with the GUIs