Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luk3yx/minetest-trackr

A player tracker/moderation bot for Minetest.
https://github.com/luk3yx/minetest-trackr

Last synced: 14 days ago
JSON representation

A player tracker/moderation bot for Minetest.

Awesome Lists containing this project

README

        

# trackr

An IRC bot that checks player lists for all Minetest servers in a IRC channel.

## Usage

- Make sure you are using the latest miniirc and miniirc_extras.
- `pip3 install --upgrade miniirc miniirc_extras`
- Copy and edit `trackr.example.ini`.
- Run `./trackr.py /path/to/trackr.ini`

## Moderation commands

- `,mute `: Mutes a player permanently.
- `,unmute `: Unmutes a player.
- `,tempmute `: Temporarily mutes a player for a specified
duration. The duration cannot be greater than 2 hours. If the server is
shut down before this duration is up, the tempmute is ended prematurely due
to technical limitations with trackr.
- `,warn `: Shows the player a warning dialog.
- `,kick `: Kicks a player.
- `,tempban `: Temporarily bans a player. You
cannot tempban a player for longer than a month with trackr.
- `,badservers`: Lists the servers trackr isn't logged into.

### Parameter format

- `player`: A Minetest/MultiCraft/??? player. This can be the player name if
the player is in one (and only one) server on the channel. If the player
is in multiple servers, you can do `player_name@server_name`.
- `duration` (default: 5 minutes): The duration to mute/ban the player for. By
default, this is in minutes, however this can be changed by appending `s`
(seconds), `m` (minutes), `h` (hours), `d` (days), `M` (months),
`Y` (years), or `ms` (milliseconds).
- `message`: The message to tell the player.
- `reason`: The reason for kicking the player. This is shown to the player
when being kicked.