Skip to content

A bot for listening for snitch alerts and chat messages then sending them to a discord server.

Notifications You must be signed in to change notification settings

ArowShot/civ-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

civ-bot

dependencies Status

Setup

  1. Install node.js
  2. Clone or download this repository git clone https://github.com/ArowShot/civ-bot.git
  3. Run npm install
  4. Copy config/config.example.json to config/config.json
  5. Configure config using guide below

Then to start the bot any time run npm start

Config

{
	// The bot token from https://discordapp.com/developers/applications/me
    "botToken": "",
    // ID of discord channel the bot resides in (right click -> Copy ID with dev mode on)
    "botchannel": "",
    // Username (e-mail) of minecraft account used to sit on the server
    "mcUsername": "",
    // Password of minecraft account used to sit on the server
    "mcPassword": "",
    // IP of minecraft server (default civclassic)
    "mcHost": "mc.civclassic.com",
    // Port of minecraft server
    "mcPort": 25565,
    // Version of minecraft server
    "mcVersion": "1.10.2"
}

Upcoming

  • Auto generate webhook if none specified
  • Allow messages sent from discord to be sent in-game
  • Switch to UUID lookup for Minecraft skins
  • Filter group/snitch messages to certain channels depending on the namelayer group

Using

About

A bot for listening for snitch alerts and chat messages then sending them to a discord server.

Resources

Stars

Watchers

Forks

Packages

No packages published