Skip to content

SPEED0U/BotFMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BotFMS

This bot is made to deal itself with the WebSocket basically supported by the Freeroam server.

Configuration

The following configuration example is the file settings.json and you will have to fill every settings as your convenance.

{
    "wsDomain": "map.example.com",
    "wsPort": 6997,
    "wsOutPort": 6996,
    "privkeyPath": "/etc/letsencrypt/live/yourdomain/privkey.pem",
    "pubkeyPath": "/etc/letsencrypt/live/yourdomain/fullchain.pem"
}

Bot configuration

  • wsDomain, the domain where the websocket points to. (Must be same than in Freeroam server config.)
  • wsPort, the port of the websocket. (Must be same than in Freeroam server config.)
  • wsOutPort, the desired output port of the websocket.
  • privkeyPath, the path to your certified domain private key.
  • pubkeyPath, the path to your certified domain public key.

How to install

To use the project correctly you will need some tools.

Run the following commands into your terminal.

  • git clone https://github.com/SPEED0U/BotFMS
  • npm install

How to run

Go to the folder where the bot files are located and run the following commands.

  • node index.js

⚠️ - If your private and public keys are not located in a user home then you'll have to execute it under root or SU.

Realized with ❤️ by Speedou.

Please do not withdraw the license and keep the credits on this project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published