• This section is "bound" to the Resources page. Once you've submitted a new mod to the resources, a new discussion about your mod will be automatically generated and posted in this section. That means, you can't create a new thread by hand in here.
  • Thank you for a fantastic first year of eco-mods.com! You guys are awesome.
    To celebrate this, click here to get to our Birthday-Post and Giveaway.
DiscordLink

DiscordLink

Spoffy

Coal
Mod Dev
Messages
36
Likes
27
#1
Spoffy submitted a new resource:

DiscordLink - Integrates Eco with Discord, allowing messages from Eco to Discord and checking server status.

View attachment 39
The DiscordLink plugin integrates Eco with Discord.
Currently, it allows you to query the status of your server and send commands from Eco to Discord.

View attachment 40

Commands
From Discord:

?help - Lists available commands
?ecostatus - Prints the status of the Eco Server.

From Eco:
/verifydiscord - Confirms the...​
Read more about this resource...
 

Rexzooly

Copper
Mod Dev
Messages
86
Likes
24
#2
Thank you for this, any chance for one for streamers so we can chat to twitch users without a 3ed party means like a second screen, PC or tablet, if not this is still epic, I been wanting something like this.
 
OP
OP
S

Spoffy

Coal
Mod Dev
Messages
36
Likes
27
#3
Thanks for the feedback! Unfortunately Twitch is a completely different API, meaning a Twitch tool would essentially need building from the ground up :( Might be another modder interested in taking it on though :)
 

Rexzooly

Copper
Mod Dev
Messages
86
Likes
24
#4
Thanks for the feedback! Unfortunately Twitch is a completely different API, meaning a Twitch tool would essentially need building from the ground up :( Might be another modder interested in taking it on though :)
It was worth a ask :p I do like the idea of this, maybe we could add a few more functions for admins to maybe admin the server via discord when we are away to help out, I am not sure if it's possible but been able to kick a bad user or give skillpoints or other commands could be helpful :)


If not still epic work and I will be installing this on our next reboot :)
 

Rexzooly

Copper
Mod Dev
Messages
86
Likes
24
#5
There is a little bug, the server returns the local IP for the server
1519781747872.png

Also is the discord channel not meant to post back to the game? is the chat only one way at the moment?
Maybe have a option in the discord settings to set meteor info on and off, and set the address manully if not set then default to that local IP
 
Last edited:
OP
OP
S

Spoffy

Coal
Mod Dev
Messages
36
Likes
27
#7
There is a little bug, the server returns the local IP for the server

Also is the discord channel not meant to post back to the game? is the chat only one way at the moment?
Maybe have a option in the discord settings to set meteor info on and off, and set the address manully if not set then default to that local IP
The IP Issue is known - it's likely because you're behind a router or equivalent that's performing NAT. Adding in a manual override for IP is a good idea though - I'll add it into the next release.

In the first release, you can only send messages from Eco -> Discord (i.e, for announcements). Clay was exactly right - I'm currently working on full, two-way integration between in-game chat channels and Discord channels. It'll be in the next release too :)
 
OP
OP
S

Spoffy

Coal
Mod Dev
Messages
36
Likes
27
#11
You're not having any issues Rex? That's good, I think it might be an issue related to Falcon's server host. Thinking of ways to work around it.
 

Rexzooly

Copper
Mod Dev
Messages
86
Likes
24
#12
Woops I means to say I have now got that problem my bot is saying it's offline I can't get it back online and I can't reset the server
 
OP
OP
S

Spoffy

Coal
Mod Dev
Messages
36
Likes
27
#13
Interesting. Do you have server logs you could send me? Or can you get in touch on Discord?
 
Last edited:

ClayC

Copper
Mod Dev
Messages
86
Likes
37
#16
Setup took me about 7-8mins to complete, but works like a charm,

Well done with this one, would love to see improvements on the setup process (maybe invite your bot and not have to create one)

But apart from that, I love this mod!
 

Rexzooly

Copper
Mod Dev
Messages
86
Likes
24
#17
I host myself @Spoffy I am not getting any errors it's just no longer online in my discord channel.

--Edit--
Yes it seems it times out for some reason, I restarted the server after a few updates and it's now renabled the bot, maybe
a reconnect option to make just the bot didn't just lose connection to the channel and didn't report it?
 
Last edited:
OP
OP
S

Spoffy

Coal
Mod Dev
Messages
36
Likes
27
#18
Ah, interesting. I've not seen that before Rex. If you download and install 1.1.0-beta, you might get an error message when it closes the connection. If you do, could you post in here?

In the meantime, I'll look at making sure it automatically reconnects.

Edit: AutoReconnect is enabled by default. Might be something else. Try the above and let me know if anything appears when it disconnects!
 
Last edited:

Rexzooly

Copper
Mod Dev
Messages
86
Likes
24
#19
Yep I will update and I will report back if it happens again

@Spoffy
The demo seems to work I added the guild and channel and now chat from discord seems to work but it dose not send messages back maybe if you detected the @Discord user in game and if that's been seen it will send the message back without /discordmessage, as that dose work, but in the chat we can click the discord channel user @Discord and it will change the chat reply so if we can detect the @Discord rather then just/discordmessage

Just a idea
 
Last edited:

Rexzooly

Copper
Mod Dev
Messages
86
Likes
24
#20
Seems on a server reboot it forgets the channel infomation.

**Edit**
OK the chat randomy started to show without the /discordmessage not sure why there was a lag there.
 
Last edited:
Top Bottom