FactoCord - A Discord Factorio bot

Find multiplayer games.
Tools/scripts to run a dedicated server.
Post Reply
FMCore
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jul 27, 2017 12:03 am
Contact:

FactoCord - A Discord Factorio bot

Post by FMCore » Thu Jul 27, 2017 12:06 am

FactoCord
What is it?

FactoCord is a Discord bot built in golang that acts as a bridge bot between your Factorio in-game chat on your server and your Discord channel.

https://github.com/FactoKit/FactoCord

Lemme know what you think of it and if you have any issues please let me know either here or on the repo's issues page.

Thank you!
How does it work?
It basically acts like a wrapper for the Factorio server, the output that you see in the console is written to a log file within the same directory as the program and then tailed to allow the program to send the in-game chat to the channel on Discord.

To allow chat messages from discord to be sent to in-game, the Standard Input uses a pipe that allows the chat to be sent as input to the console, but because of this in the current release it unfortunately doesn't allow direct input from the console window (meaning you can't type commands within the console window directly anymore); however, in a future release I will be aiming to fix this problem.
Screenshots
Screenshots:
Image
Image
Last edited by FMCore on Fri Jul 28, 2017 2:53 am, edited 2 times in total.

User avatar
fechnert
Inserter
Inserter
Posts: 32
Joined: Fri Jun 30, 2017 12:48 pm
Contact:

Re: FactorioCord - A Discord Factorio bot

Post by fechnert » Thu Jul 27, 2017 3:34 pm

FMCore wrote:but because of this in the current release it unfortunately doesn't allow direct input from the console window (meaning you can't type commands within the console window directly anymore)
What does this mean? That the functionality to see Discord-messaged ingame won't work?
Image[url=steam://friends/add/'.76561198066150999.']Image[/url]

FMCore
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jul 27, 2017 12:03 am
Contact:

Re: FactorioCord - A Discord Factorio bot

Post by FMCore » Thu Jul 27, 2017 3:50 pm

fechnert wrote:
FMCore wrote:but because of this in the current release it unfortunately doesn't allow direct input from the console window (meaning you can't type commands within the console window directly anymore)
What does this mean? That the functionality to see Discord-messaged ingame won't work?
It means that you won't be able to type in a command to execute from the terminal running the headless server, that being said I have it fixed with the latest update (and after a few more bug fixes I'll release version 1.1 of the bot)

FMCore
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jul 27, 2017 12:03 am
Contact:

Re: FactorioCord - A Discord Factorio bot

Post by FMCore » Thu Jul 27, 2017 7:12 pm

Version 1.1 released
This new release introduces the following features

  • - Custom parameters for launching servers
    - Supported added for mentioning discord users
As well as various bug fixes.

You can grab the latest version here https://github.com/FactoKit/FactoCord/releases/tag/1.1

FMCore
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jul 27, 2017 12:03 am
Contact:

Re: FactoCord - A Discord Factorio bot

Post by FMCore » Sat Jul 29, 2017 9:01 pm

FactoCord 1.2 released!
This release adds some new features including 3 new commands and the ability to run FactoCord as a service and bugfixes.

You can grab a copy of it here https://github.com/FactoKit/FactoCord/releases

vedrit
Filter Inserter
Filter Inserter
Posts: 269
Joined: Sun Aug 03, 2014 2:25 am
Contact:

Re: FactoCord - A Discord Factorio bot

Post by vedrit » Wed Aug 02, 2017 3:34 am

Very cool. Documentation needs a little work, and it'd be nice to see more commands, such as Factorio version. Also, is it possible to display the mod version number?

User avatar
Redstylt
Fast Inserter
Fast Inserter
Posts: 148
Joined: Sun Mar 27, 2016 3:19 pm
Contact:

Re: FactoCord - A Discord Factorio bot

Post by Redstylt » Wed Dec 20, 2017 12:05 am

vedrit wrote:Very cool. Documentation needs a little work, and it'd be nice to see more commands, such as Factorio version. Also, is it possible to display the mod version number?
I'm agree with him :) Good job but need more docs
I'm an amateur in linux so a step by step guide of install could be really good :)
Thx
Looking for a dedicated server ? -> [Europe ENG-FR] [Public] ForFacto 24/7

Early Wynn
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Oct 08, 2017 5:30 pm
Contact:

Re: FactoCord - A Discord Factorio bot

Post by Early Wynn » Thu Feb 07, 2019 12:26 am

I am running a Headless server on a Win Server... Would be great if there is the same solution for windows. I think i've seen your bot running on the Redmew servers and would be happy to implement a bot to my servers too... Great job here a must have!

cmdr.adama
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat May 04, 2019 2:13 am
Contact:

Re: FactoCord - A Discord Factorio bot

Post by cmdr.adama » Sat May 04, 2019 2:20 am

Hey all,

It seems as though FactoCord hasn't been worked on for a while and I decided it was time to do a bit of improvement...

FMCore, please roll this into the main project :)

Here's what is new:
Rewrote the Commands.go and main.go files to allow for arguments
Added Kick, Ban and Unban commands
Added a command to list the current commands.
Image

you can find my fork here.
https://github.com/thecmdradama/FactoCord-2.0

vedrit
Filter Inserter
Filter Inserter
Posts: 269
Joined: Sun Aug 03, 2014 2:25 am
Contact:

Re: FactoCord - A Discord Factorio bot

Post by vedrit » Wed May 08, 2019 3:11 am

cmdr.adama wrote:
Sat May 04, 2019 2:20 am
Hey all,

It seems as though FactoCord hasn't been worked on for a while and I decided it was time to do a bit of improvement...

FMCore, please roll this into the main project :)

Here's what is new:
Rewrote the Commands.go and main.go files to allow for arguments
Added Kick, Ban and Unban commands
Added a command to list the current commands.
Image

you can find my fork here.
https://github.com/thecmdradama/FactoCord-2.0
Woo! Thank you!

Post Reply

Return to “Multiplayer / Dedicated Server”

Who is online

Users browsing this forum: No registered users