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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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