Sign in to follow this  
Ildar

[Release] [Client] Discord

Recommended Posts

https://github.com/IldarW/WurmClientDiscord/releases/latest

 

This is a client mod. Requires client modloader

 

This mod transfers messages from arbitrary chat tab(Village chat for example) to Discord channel.. Also there is a way to print the list of online players to Discord. 

 

Setup instructions:

  1. Install mod following instructions of Ago's Client Mod Launcher
  2. Modify the Discord.properties file. This file must contain the discord bot token, the name of discord server and the transfer list.

          Example:
          discordTransfers=Village->villagechat;Alliance->alliancechat
          Messages from village or alliance chats will be transferred to corresponding Discord chat rooms - villagechat and alliancechat respectively

      3. The Discord bot must be added to the discord server and have rights to read and write messages to the chat room. 

      4. Read online manuals of how to get Discord bot token. That seems to be a nice tutorial.

      5. Download a java library from here and copy to the directory where WurmLauncher.exe file lies.

 

How to use:

  • In the game console type "discord on". Any messages you get in configured chats will be transferred to discord and vice versa.
  • If someone will type "!who" in the discord chat room - the bot will answer with the list of online players in corresponding chat tab. The timeout is 10 seconds.
  • "discord off" in game console will turn mod off.
  • "discord info" will print out every transfers you configured
Edited by Ildar
  • Like 3

Share this post


Link to post
Share on other sites

This would be very useful to us if it worked for our Alliance, rather than just village, as almost all our players live alone in their own villages. Or even if it worked for the whole server.  Any chance of adding those options?

  • Like 1

Share this post


Link to post
Share on other sites

Batta, this mod is clientside mod. Works only when the modholder is online.

It is possible to transfer messages to Discord from other chat tabs too(from :Event tab for example). But it would be more correct to use server side mod for transferring global chat messages. Maybe the developer of this mod will make an update.

 

  • Like 1

Share this post


Link to post
Share on other sites
17 hours ago, HereticZero said:

This is very cool! Thanks!  :)

 

You are welcome!

Share this post


Link to post
Share on other sites
23 hours ago, Batta said:

This would be very useful to us if it worked for our Alliance, rather than just village, as almost all our players live alone in their own villages. Or even if it worked for the whole server.  Any chance of adding those options?

 

Upgraded the mod. Configure the .properties file to transfer messages from your Alliance chat too. 

  • Like 1

Share this post


Link to post
Share on other sites
4 hours ago, Ildar said:

 

Upgraded the mod. Configure the .properties file to transfer messages from your Alliance chat too. 

Wonderful!  Thank you

 

Share this post


Link to post
Share on other sites

Hey Ildar

 

Thanks for this new mod, i added it to the modlist

 

bJWaY18.png  CFXC3He.png  Discord mod by Ildur

 

Greets Eject

Share this post


Link to post
Share on other sites

Does this mod still work? I tried to do everything according to the instructions, made my bot in a discord, gave him all the permissions, but constantly shows that he is not online. I wanted the bot translator https://top.gg/bot/471542070817849355 to translate all messages from the Sklotopolis server.

classname = net.Ildar.wurm.Discord
classpath = Discord.jar
sharedClassLoader = true

discordBotToken = Secret
discordServer = Secret
discordTransfers = GL-Freedom-> gl-freedom; Trade-> trade; CA HELP-> ca-help; Recruit-> recruiting-notsynced

Share this post


Link to post
Share on other sites

The mod still works.  Did you remember to use the new link you get after giving the bot permissions, to invite it to your Discord server?

 

Edited by Batta

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this