Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iipoliii/factorioservermanager
https://github.com/iipoliii/factorioservermanager
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/iipoliii/factorioservermanager
- Owner: IIPoliII
- License: mit
- Created: 2019-07-18T14:42:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T21:31:07.000Z (about 2 years ago)
- Last Synced: 2024-06-21T09:57:23.993Z (6 months ago)
- Language: Go
- Size: 14.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Factorio Server Manager - a Continuation of the Factocord - Factorio to Discord bridge bot for Linux
# Running
*Make sure you have your .env file in the same directory as the executable/binary, you can use .envexample the template*There are two ways of starting FactoCord
1. Using the start.sh bash script (bash start.sh or ./start.sh) (make sure you chmod +x the script first)
2. Manually running the binary (./FactoCord) Note: File must be in CamelCase...# Installing as a service
To install FactoCord as a service so that it can run on startup, you can use the provided service.sh
*Note you must run service.sh as root/sudo to install it as a service*
Example of running service.sh:
`./service.sh factorio /home/facotrio/factocord/`# Compiling
`Requires go 1.8 or above`
FactoCord uses the following packages:
- [DiscordGo](https://github.com/bwmarrin/discordgo)
- [godotenv](https://github.com/joho/godotenv/)
- [tails](https://github.com/hpcloud/tail)You will need to add these lib as go get:
- `go get github.com/bwmarrin/discordgo`
- `go get github.com/joho/godotenv`
- `go get github.com/hpcloud/tail/...`To compile just do `go build`
# Error reporting
When FactoCord encounters an error will log to error.log within the same directory as itself.
If you are having an issue make sure to check the error.log to see what the problem is.
If you are unable to solve the issue yourself, please post an issue containing the error.log and I will review and attempt to solve what the problem is.
# Screenshots
Special thanks again to FMCore for creating the initial FactoCord project. https://github.com/FactoKit/FactoCord