Skip to content

A tiny Discord bot used for logging Satisfactory dedicated server activity

License

Notifications You must be signed in to change notification settings

martin-danhier/satisfactory-server-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Satisfactory Server Discord Bot

A simple Discord bot that uses the new Satisfactory dedicated server API to keep track of the server state and send a message whenever someone joins or leaves the game.

The API is very limited, so there isn't any way to retrieve chat logs or the player names yet.

Setup:

  • Create a .env file containing:
DISCORD_TOKEN=<bot token>
DISCORD_CHANNEL_ID=<server channel id>
SATISFACTORY_TOKEN=<satisfactory server API key>
SATISFACTORY_API_BASE=https://<server_ip>:7777/api/v1
UPDATE_FREQUENCY_SEC=20
  • Run pnpm install
  • Run pnpm build
  • Run pnpm start

Configuration values

  • DISCORD_TOKEN: How to create a bot and get a token
  • DISCORD_CHANNEL_ID: Enable developer mode in Discord/Advanced settings, then right click on the desired channel, then "copy channel ID"
  • SATISFACTORY_TOKEN: Run server.GenerateAPIToken in the server console (from the in-game server manager)
  • SATISFACTORY_API_BASE: https://<server_ip>:7777/api/v1, replace <server_ip> by your IP or domain name

About

A tiny Discord bot used for logging Satisfactory dedicated server activity

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published