mollstam

command module
v0.0.0-...-0c4260b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 19 Imported by: 0

README

Mollstam: A Minecraft Monitoring Discord Bot

Mollstam integrates Minecraft server information with Discord. It can update a channel's name with the current player count and the topic with a list of online players. It can also notify a user when the server is unreachable.

Installation

Simply go get this repository.

Configuration

Mollstam reads config.json in the current directory by default. The config file location can by specified with the -c flag e.g. $ mollstam -c path/to/file.json. The config specification is in config.go. An example configuration is provided below.

{
    "address": "127.0.0.1:25565",
    "polling_rate": "30s",
    "timeout": "5s",
    "channel_id": "",
    "channel_name": "minecraft",
    "channel_update_topic": false,
    "discord_token": "",
    "notify_user_id": "",
    "notify_failed_pings": 5,
    "notify_message": "The server appears to be offline."
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL